Helpers
Types
Functions
This indicates whether our side of the channel is above the reserve requested by our counterparty. In other words, this tells if we can use the channel to make a payment.
Tells whether or not their expected next remote commitment number matches with our data
Tells whether or not their expected next local commitment number matches with our data
Returns the number of confirmations needed to safely handle the funding transaction, we make sure the cumulative block reward largely exceeds the channel size.
This helper method will publish txs only if they haven't yet reached minDepth.
Called by the fundee.
Called by the funder.
This helper method will watch txs only if they haven't yet reached minDepth.
This helper method will watch txs only if the utxo they spend hasn't already been irrevocably spent.