Remove duplicata of broadcast txn from ChannelMonitor
authorAntoine Riard <ariard@student.42.fr>
Thu, 23 Jan 2020 21:45:14 +0000 (16:45 -0500)
committerAntoine Riard <ariard@student.42.fr>
Wed, 12 Feb 2020 05:37:19 +0000 (00:37 -0500)
commit494219e3889200e8f2cce70d8194dc85fe432f9a
tree822a03c9ecbb2efd0540bf76e8de78b6f67eeb32
parent0c595a7ff69bd177b2e7fa8c1b3611f1b2df8f58
Remove duplicata of broadcast txn from ChannelMonitor

Previously, if new ouputs were found to be watched as part
of channel operations, the block was rescan which triggers
again parser and generation of transactions already issued.

This commit first modifies the test framework without
altering further ChannelMonitor.

ChannelMonitor refactoring is introduced in a latter commit.
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/util/test_utils.rs