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
chanmon_consistency: handle BumpTransaction events for anchor channels
For anchor channels, the ChannelMonitor does not broadcast commitment or
HTLC-timeout transactions directly. Instead, it emits BumpTransaction
events via ChainMonitor::process_pending_events(), which are separate
from the ChannelManager events that process_events\! handles.
Add chain monitor event processing to the process_all_events\! macro so
that ChannelClose events broadcast the commitment tx and HTLCResolution
events construct HTLC-timeout transactions via BumpTransactionEventHandler.
For ChannelClose, the commitment tx is broadcast directly rather than
going through the full anchor-bumping flow, since fuzz crypto produces
non-standard signature sizes that trigger weight estimation assertions
in the bump handler.
Also change the force-close settlement loop from two fixed height
advances to four iterations of advance+process_all_events, giving enough
rounds for commitment tx confirmation, HTLC-timeout broadcast and
confirmation, second-stage tx resolution, and final cleanup.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments