]> git.bitcoin.ninja Git - rust-lightning/commit
Add test_update_err_monitor_lockdown
authorAntoine Riard <ariard@student.42.fr>
Wed, 8 Apr 2020 01:07:55 +0000 (21:07 -0400)
committerAntoine Riard <ariard@student.42.fr>
Fri, 17 Apr 2020 21:50:26 +0000 (17:50 -0400)
commit95830edac76531fe20f9177eca532e9d73de5179
treebbde689965a4daadae53a162f3e58e804fe7db81
parent851ab92ea28f4d4c4c67383c9f935d0555d2efd9
Add test_update_err_monitor_lockdown

This test tries the new lockdown logic in case of a signed-and-broadcast
local commitment transaction while a concurrent ChannelMonitorUpdate for
a next _local_ commitment is submitted from offchain. Update is rejected
as expected with a ChannelMonitorUpdateErr.
lightning/src/ln/functional_tests.rs