]> git.bitcoin.ninja Git - rust-lightning/commit
Add `_delta` suffix to `min_final_cltv_expiry`
authorDuncan Dean <duncangleeddean@gmail.com>
Tue, 29 Nov 2022 10:47:00 +0000 (12:47 +0200)
committerDuncan Dean <duncangleeddean@gmail.com>
Tue, 24 Jan 2023 11:07:23 +0000 (13:07 +0200)
commitfb10fc9590dc2173cafbf5dcef3673b8dabcd386
tree55913fa3859df032fa642a6c732018d97f0970a1
parente0a0add9fe0b239f8a5176ab62e7ba3cb4f541ca
Add `_delta` suffix to `min_final_cltv_expiry`

This matches the spec and helps avoid any confusion around
naming. We're also then consistent with `cltv_expiry` in an HTLC being
the actual block height value for the CLTV and not a delta.
lightning-invoice/src/de.rs
lightning-invoice/src/lib.rs
lightning-invoice/src/payment.rs
lightning-invoice/src/ser.rs
lightning-invoice/src/utils.rs
lightning-invoice/tests/ser_de.rs
lightning/src/ln/channelmanager.rs