You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an Event::PaymentClaimed is processed by the user, we need to track that
so we don't keep regenerating the event redundantly on startup. Here we add a
map to claims in this state, similar to the existing htlcs_resolved_to_user map.
Note that this map will only be updated for closed channels -- if the channel
is open, the inbound payment is pruned automatically when the HTLC is no longer
present in any unrevoked commitment transaction, which stops the redundant
event regeneration.
Upcoming commits will add the actual tracking that uses this map, as well
as generating the relevant monitor update to trigger this tracking
0 commit comments