]> git.bitcoin.ninja Git - rust-lightning/commit
Add txid to on-chain event tracking
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 31 Mar 2021 17:54:01 +0000 (13:54 -0400)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Apr 2021 19:57:04 +0000 (12:57 -0700)
commit24351f5868ad8f379ecfd11253d3983305dd424d
tree7ccb070f980b64737933ac11534b48e6c1cf101f
parent561ddc0b441de8fbec9de1a8ac3eca23290502f8
Add txid to on-chain event tracking

When using Electrum, transactions are individually unconfirmed during a
reorg rather than by block. Store the txid of the transaction creating
the on-chain event so that it can be used to determine which events need
to be removed when a transaction is unconfirmed.
lightning/src/chain/channelmonitor.rs
lightning/src/ln/onchaintx.rs