]> git.bitcoin.ninja Git - rust-lightning/commit
Do not test any block-contents-rescan cases 2020-09-no-rescan-tests
authorMatt Corallo <git@bluematt.me>
Fri, 18 Sep 2020 18:46:58 +0000 (14:46 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 21 Sep 2020 17:34:34 +0000 (13:34 -0400)
commit38dacf1b93c9e1ce0bfc2b9df573fa3db145cdd9
tree6f2f5fc65563fac5b332ba476032182aee5c322e
parent9c1c43203fd8d328fa713999b29b91b41d8bad96
Do not test any block-contents-rescan cases

In anticipation for removing support for users calling
block_connected multiple times for the same block to include all
relevant transactions in the next PR, this commit stops testing
such cases. Specifically, users who filter blocks for relevant
transactions before calling block_connected will need to filter by
including any transactions which spend a previously-matched
transaction in the same block (and we now do so in our own
filtering logic, which is also used in our testing).
lightning/src/chain/chaininterface.rs
lightning/src/ln/functional_tests.rs