Package fr. acinq. lightning
Types
Bitcoin scripts (in particular HTLCs) need an absolute block expiry (greater than the current block count) to work with OP_CLTV.
Channels advertise a cltv expiry delta that should be used when routing through them. This value needs to be converted to a [fr.acinq.lightning.CltvExpiry] to be used in OP_CLTV.
Feature scope as defined in Bolt 9.
When we create an invoice, we need to add a routing hint since we only have private channels. This routing hint contains routing fees that should be paid by the sender, set by our peer. When we have a channel, we'll take them from our peer's channel update, but when we don't have any channel we'll use these default values.
One MilliSatoshi is a thousand of a Satoshi, the smallest unit usable in bitcoin
When we send a trampoline payment, we start with a low fee. If that fails, we increase the fee(s) and retry (up to a point). This class encapsulates the fees and expiry to use at a particular attempt.