]> git.bitcoin.ninja Git - rust-lightning/commit
Pass monitor updates by reference, not owned
authorMatt Corallo <git@bluematt.me>
Sat, 12 Nov 2022 18:26:38 +0000 (18:26 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 15 Jan 2023 23:53:21 +0000 (23:53 +0000)
commit7e23afe1dc1971b151cf3471a90a4987580d53d0
tree5f11869f95c204772af2002faa84d20498b3554b
parentce6bcf68a15331c082b34d09902241583bc6ff71
Pass monitor updates by reference, not owned

In the next commit(s) we'll start holding `ChannelMonitorUpdate`s
that are being persisted in `Channel`s until they're done
persisting. In order to do that, switch to applying the updates by
reference instead of value.
fuzz/src/chanmon_consistency.rs
fuzz/src/utils/test_persister.rs
lightning/src/chain/chainmonitor.rs
lightning/src/chain/mod.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs
lightning/src/util/persist.rs
lightning/src/util/test_utils.rs