]> git.bitcoin.ninja Git - rust-lightning/commit
Doc Clarity: Handling gaps in persisted ChannelMonitorUpdates
authorG8XSU <3442979+G8XSU@users.noreply.github.com>
Tue, 20 Aug 2024 17:23:18 +0000 (10:23 -0700)
committerG8XSU <3442979+G8XSU@users.noreply.github.com>
Tue, 20 Aug 2024 17:23:30 +0000 (10:23 -0700)
commit29451bf720799468bc4e38248698ad7aa6efb42b
treec6dc83eb7cf5955e0cbf33728dc9baa65eb282ff
parent5e41425179d42b68129e3a4dbf01ad11b0bfa435
Doc Clarity: Handling gaps in persisted ChannelMonitorUpdates

If there are any gaps in the persisted [`ChannelMonitorUpdate`]s,
implementer can safely ignore [`ChannelMonitorUpdate`]s after the gap and load without them.
Since, acc. to channel-manager, we have only made progress if all contiguos
ChannelMonitorUpdates have been persisted.
lightning/src/chain/chainmonitor.rs