]> git.bitcoin.ninja Git - rust-lightning/commit
Add test_concurrent_monitor_claim
authorAntoine Riard <ariard@student.42.fr>
Thu, 27 Aug 2020 23:48:35 +0000 (19:48 -0400)
committerAntoine Riard <ariard@student.42.fr>
Tue, 15 Sep 2020 22:17:37 +0000 (18:17 -0400)
commite706c67bdb508247f54bb11c698646db5e5839a2
tree5cd3f2127c8cc85bcd790e3de0fa45bf1c8cbc95
parente73036c6845fd3cc16479a1b497db82a5ebb3897
Add test_concurrent_monitor_claim

Watchower Alice receives block 134, broadcasts state X, rejects state Y.
Watchtower Bob accepts state Y, receives blocks 135, broadcasts state Y.
State Y confirms onchain. Alice must be able to claim outputs.
lightning/src/ln/functional_tests.rs