]> git.bitcoin.ninja Git - rust-lightning/commit
Expose HTLC transaction locktime in BumpTransactionEvent::HTLCResolution
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Tue, 7 Mar 2023 01:01:21 +0000 (17:01 -0800)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Tue, 28 Mar 2023 19:42:25 +0000 (12:42 -0700)
commit23e233ba257c27b14d0d6167f1d87d9c1bf5e344
treebbe5958702cbf17c87192062c41df1169b542cc6
parent68122bd09de5feca5538247f2533ec3b89ccf242
Expose HTLC transaction locktime in BumpTransactionEvent::HTLCResolution

While users could easily figure it out based on the set of HTLC
descriptors included within, we already track it within the
`OnchainTxHandler`, so we might as well expose it to users as a
nice-to-have. It's also yet another thing they must get right to ensure
their HTLC transaction broadcasts are valid.
lightning/src/chain/channelmonitor.rs
lightning/src/chain/onchaintx.rs
lightning/src/events/bump_transaction.rs
lightning/src/ln/monitor_tests.rs