]> git.bitcoin.ninja Git - rust-lightning/commit
Remove MonitorUpdateId from persist trait
authorGursharan Singh <3442979+G8XSU@users.noreply.github.com>
Fri, 12 Apr 2024 06:31:30 +0000 (23:31 -0700)
committerGursharan Singh <3442979+G8XSU@users.noreply.github.com>
Sat, 27 Apr 2024 03:28:55 +0000 (20:28 -0700)
commitc1125f00b392432fc29fae8555183b46220bba26
tree91f036c73e3a4a85864ac1349db0c16a86c3d7a5
parent7de602a38ad68a5c75db641ee96f5a0c2693f1f9
Remove MonitorUpdateId from persist trait

MonitorUpdateId was an opaque abstraction for id's generated by
UpdateOrigin:Offchain and UpdateOrigin::ChainSync monitor updates.
It was mainly needed to map calls made to
ChainMonitor::channel_monitor_updated. We no longer track
UpdateOrigin::ChainSync MonitorUpdates and can directly use
ChannelMonitor::get_latest_update_id() for tracking
UpdateOrigin::Offchain monitor updates.
fuzz/src/utils/test_persister.rs
lightning-persister/src/fs_store.rs
lightning/src/chain/chainmonitor.rs
lightning/src/util/persist.rs
lightning/src/util/test_utils.rs