]> git.bitcoin.ninja Git - rust-lightning/commit
f - Check KeysInterface::get_shutdown_scriptpubkey
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 30 Jul 2021 04:00:11 +0000 (23:00 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Sat, 31 Jul 2021 05:13:36 +0000 (00:13 -0500)
commit3c0a9a95d9f1a73c04fb739c12c6e6335747e75d
treefd363034ac29753edce68ccb0f8fccf486ed03a0
parent99ee676a7644e6b4bb02591a1154e7a803730a0c
f - Check KeysInterface::get_shutdown_scriptpubkey

Check that the user-provided shutdown_scriptpubkey is compatible with
the counterparty's features (option_shutdown_anysegwit).

TODO: Implement for ChannelManager::close_channel
TODO: Add unit tests
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs