Cltv Expiry Delta
data class CltvExpiryDelta(underlying: Int) : Comparable<CltvExpiryDelta>
Content copied to clipboard
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.
CltvExpiryDelta can also be used when working with OP_CSV which is by design a delta.
Parameters
underlying
the cltv expiry delta value.
Constructors
CltvExpiryDelta
Link copied to clipboard
Functions
compare To
Link copied to clipboard
minus
Link copied to clipboard
plus
Link copied to clipboard
to Cltv Expiry
Link copied to clipboard
Adds the current block height to the given delta to obtain an absolute expiry.