]> git.bitcoin.ninja Git - rust-lightning/commit
Add additional testing in `montior_tests` for chain idempotency 2022-11-tx-connection-idempotency
authorMatt Corallo <git@bluematt.me>
Fri, 18 Nov 2022 19:02:02 +0000 (19:02 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 24 Nov 2022 03:40:48 +0000 (03:40 +0000)
commitcd315d588330007d08adfa00c49f065eb3166322
tree88c09231b3748dd1af604a8748eaba1611d23352
parent21804de70c3ff37970ead98e5e72c4fccd14b1fb
Add additional testing in `montior_tests` for chain idempotency

At the end of our `monitor_tests`, which test `ChannelMonitor`
`SpendableOutputs` and claimable `Balance`s, add new checks that
ensure that, if we're using the new
`ConnectStyle::HighlyRedundantTransactionsFirstSkippingBlocks`, we
can replay the full chain without getting redundant events or
`Balance`s.
lightning/src/ln/monitor_tests.rs