1
0

move transport code to its own file

This commit is contained in:
ThomasV
2018-10-15 11:05:53 +02:00
parent 910e85ec01
commit 445252284f
4 changed files with 189 additions and 182 deletions

View File

@@ -57,7 +57,17 @@ class Outpoint(NamedTuple("Outpoint", [('txid', str), ('output_index', int)])):
return "{}:{}".format(self.txid, self.output_index)
class UnableToDeriveSecret(Exception): pass
class LightningError(Exception):
pass
class LightningPeerConnectionClosed(LightningError):
pass
class UnableToDeriveSecret(LightningError):
pass
class HandshakeFailed(LightningError):
pass
class RevocationStore: