]> git.bitcoin.ninja Git - rust-lightning/commit
ChannelMonitor::get_funding_txo returns both the txid and scriptPK
authorMatt Corallo <git@bluematt.me>
Wed, 10 Jun 2020 03:00:30 +0000 (23:00 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Jun 2020 17:42:28 +0000 (13:42 -0400)
commit775a5adfb917f33b6d781f16660cd14134bb0250
treea15fd3a2a80f1913fe6543853de217c0afdaba79
parent70fca0784c3ac04ac630551fb6c600b73bb18794
ChannelMonitor::get_funding_txo returns both the txid and scriptPK

... instead of only the txid.

This is another instance of it not being possible to fully
re-implement SimpleManyChannelMonitor using only public methods. In
this case you couldn't properly register outpoints for monitoring
so that the funding transaction would be matched.
lightning/src/ln/channelmanager.rs
lightning/src/ln/channelmonitor.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs