]> git.bitcoin.ninja Git - rust-lightning/commit
Update HTLC transaction detection from revoked counterparty commitments
authorWilmer Paulino <wilmer.paulino@gmail.com>
Tue, 22 Nov 2022 01:11:09 +0000 (17:11 -0800)
committerWilmer Paulino <wilmer.paulino@gmail.com>
Wed, 7 Dec 2022 00:48:02 +0000 (16:48 -0800)
commitd618bf125e3c95ca18a17887bf9831f1c2c1e9f5
treebad03f43664869003dd2c3ebe2ac3102f9fa6d02
parentaf02d10c3b7f643c404a473cab0c7efccee24346
Update HTLC transaction detection from revoked counterparty commitments

Previously, this method assumed that all HTLC transactions have 1 input
and 1 output, with the sole input having a witness of 5 elements. This
will no longer be the case for HTLC transactions on channels with
anchors outputs since additional inputs and outputs can be attached to
them to allow fee bumping.
lightning/src/chain/channelmonitor.rs