]> git.bitcoin.ninja Git - rust-lightning/commit
Support signing non-anchors HTLCs with HTLCDescriptor
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 13 Oct 2023 20:49:50 +0000 (13:49 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 20 Oct 2023 18:03:01 +0000 (11:03 -0700)
commit9510e298f9246fd197105f2ceae9c16a64214d47
tree60ef01cbe9389ea85c64897220ce0c31ce71d3b0
parentb1d3aa86a455bce9321ac70560fbf549a8e43a51
Support signing non-anchors HTLCs with HTLCDescriptor

We plan to use `EcdsaChannelSigner::sign_holder_htlc_transaction` to
also sign holder HTLC transactions on non-anchor outputs channels.
`HTLCDescriptor` was only used in an anchor outputs context, so a few
things needed changing, mostly to handle the different scripts and
feerate.
lightning/src/chain/channelmonitor.rs
lightning/src/events/bump_transaction.rs
lightning/src/sign/mod.rs