]> git.bitcoin.ninja Git - rust-lightning/commit
Add ChannelMonitor::get_relevant_txids
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 5 Apr 2021 20:18:27 +0000 (13:18 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Apr 2021 19:57:05 +0000 (12:57 -0700)
commitc57bf73a020d546c9b31508ec0de5939e4ebfd44
treed9265c134e5075a5ef28b5b2b16e668de4ae1532
parent65e588fd927d06110e4c1efdd20e1f95d2041027
Add ChannelMonitor::get_relevant_txids

Define an Electrum-friendly interface for ChannelMonitor where txids of
relevant transactions can be obtained. For any of these transactions
that are re-orged out of the chain, users must call
transaction_unconfirmed.
lightning/src/chain/channelmonitor.rs
lightning/src/ln/onchaintx.rs