]> git.bitcoin.ninja Git - rust-lightning/commit
Move SpendableOutputDescirptor::DynamicOutputP2WSH in
authorAntoine Riard <ariard@student.42.fr>
Wed, 18 Mar 2020 21:57:29 +0000 (17:57 -0400)
committerAntoine Riard <ariard@student.42.fr>
Fri, 20 Mar 2020 02:29:26 +0000 (22:29 -0400)
commita2bdadaeedf93df5ffa5e211335ae457b1cfcc70
tree97952845c1cc1be382ff438f12dc7e60e32be8db
parent26ac188a3f9f7ce7bc0a1bc4abbbf20e8e3258eb
Move SpendableOutputDescirptor::DynamicOutputP2WSH in
is_paying_spendable_output

Add ChannelMonitor::broadcasted_local_revokable_script to detect
onchain local txn paying back to us.

Fix tests in consequence
lightning/src/ln/channelmonitor.rs
lightning/src/ln/functional_tests.rs