Struct Balance

Contains the balance towards each channel participant

struct Balance ;

Fields

NameTypeDescription
incoming_htlcs HTLC[geod24.bitblob.BitBlob!(64L)]HTLCs we've been offered by the counter-party in return for a secret
outgoing_htlcs HTLC[geod24.bitblob.BitBlob!(64L)]HTLCs we're offering to the counter-party in return for a secret
payment_amount AmountPayment to counter-party
refund_amount AmountRefund back to channel funder

Methods

NameDescription
fromBinary (dg, opts) Returns a newly instantiated Balance of type QT
serialize (dg) Serialization support