Support read/write of noise msg and payload

This commit is contained in:
mhchia
2020-02-15 12:12:12 +08:00
parent 1f881e0464
commit 8a4ebd4cbb
5 changed files with 158 additions and 33 deletions

View File

@ -0,0 +1,9 @@
from libp2p.security.exceptions import HandshakeFailure
class NoiseFailure(HandshakeFailure):
pass
class HandshakeHasNotFinished(NoiseFailure):
pass