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
Prevent redundant PaymentClaimeds for closed channels
Previously, if we had an inbound payment on a closed channel that we started
claiming but did not end up removing from the commitment tx, we would generate
a PaymentClaimed event for the payment on every restart until the
channelmonitor was archived.
The past few commits have laid the groundwork to get rid of this redundancy --
here we now generate an event completion action for when the PaymentClaimed is
processed by the user, at which point a monitor update will be released that
tells the channel monitor that the user has processed the PaymentClaimed event.
The monitor tracks this internally such that the pending claim will no longer
be returned to the ChannelManager when reconstructing the set of mid-claim
inbound payments on startup, and thus no longer generate the redundant event.
0 commit comments