1
0

lightning channel reserves

This commit is contained in:
Janus
2018-10-23 20:32:18 +02:00
committed by ThomasV
parent 54edc9488a
commit 15b0720f5e
4 changed files with 176 additions and 33 deletions

View File

@@ -37,6 +37,7 @@ common = [
('max_htlc_value_in_flight_msat' , int),
('max_accepted_htlcs' , int),
('initial_msat' , int),
('reserve_sat', int),
]
ChannelConfig = NamedTuple('ChannelConfig', common)
@@ -65,6 +66,7 @@ class HandshakeFailed(LightningError): pass
class PaymentFailure(LightningError): pass
class ConnStringFormatError(LightningError): pass
class UnknownPaymentHash(LightningError): pass
class RemoteMisbehaving(LightningError): pass
# TODO make configurable?