Drop various bounds on types passed to `MonitorUpdatingPersister`
authorMatt Corallo <git@bluematt.me>
Wed, 27 Sep 2023 23:02:50 +0000 (23:02 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 1 Oct 2023 00:05:01 +0000 (00:05 +0000)
commit34f36d5ffecc8920d7a6e5ab92c9d71171580e15
tree6d36715ac5bf61639caad8f989b5763f3f754d3f
parent07205a2869bb057bfd53a33c0760cd46178b93ae
Drop various bounds on types passed to `MonitorUpdatingPersister`

The new `MonitorUpdatingPersister` has a few redundant type bounds
(re-specified on functions after having been specified on the
struct itself), which we remove here.

Further, it requires a `Deref<FeeEstimator>` which is `Clone`able.
This is generally fine in rust, but annoying in bindings, so we
simply elide it in favor if a `&Deref<FeeEstimator>`.
fuzz/src/chanmon_consistency.rs
lightning/src/chain/chainmonitor.rs
lightning/src/chain/channelmonitor.rs
lightning/src/util/persist.rs