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
{{ message }}
Repository navigation
bug: closed channel force-closes again on start #2226
Split from #2219, which #2224 closes for the slow node start.
Actual
After a cooperative close, a later node start can force-close the closed channel again and rebroadcast its commitment transaction. In @jvsena42's RC2 logs, a start after his coop close loaded the closed channel's monitor and re-persisted it with a force-close update.
Expected
A closed channel's monitor is not force-closed and re-persisted on start.
Cause so far
LDK 0.2.8 (channelmanager.rs, around lines 17160–17215): on load, a monitor whose channel is missing from the channel manager and whose no_further_updates_allowed() is still false gets a ChannelForceClosed { should_broadcast: true } update. After a coop close that flag turns true only once the monitor has seen the closing transaction confirm and that state was persisted. So the monitor loaded at that start never persisted the close's confirmation: either no block was processed before the node stopped, or the monitor writes after the close failed or were dropped. Not yet narrowed down; synonymdev/ldk-node#147 doesn't change this path.
Activity
ovitrif commentedon Dec 1, 2026
Milestone 3.3.0: the 3.2.0 release candidate only takes the slow node start fix (#2219), and the cause here is still being narrowed down.