-
Notifications
You must be signed in to change notification settings - Fork 418
Open
Description
This panic has some suggestions in it but makes it impossible to do anything about it by panicing. It should probably either handle what it is recommending in the logs or it logs and disconnects peer at the very least so that a user can actually force close like it is suggesting.
rust-lightning/lightning/src/ln/channel.rs
Lines 4112 to 4120 in 4dce209
log_and_panic!("We have fallen behind - we have received proof that if we broadcast our counterparty is going to claim all our funds.\n\ | |
This implies you have restarted with lost ChannelMonitor and ChannelManager state, the first of which is a violation of the LDK chain::Watch requirements.\n\ | |
More specifically, this means you have a bug in your implementation that can cause loss of funds, or you are running with an old backup, which is unsafe.\n\ | |
If you have restored from an old backup and wish to force-close channels and return to operation, you should start up, call\n\ | |
ChannelManager::force_close_without_broadcasting_txn on channel {} with counterparty {} or\n\ | |
ChannelManager::force_close_all_channels_without_broadcasting_txn, then reconnect to peer(s).\n\ | |
Note that due to a long-standing bug in lnd you may have to reach out to peers running lnd-based nodes to ask them to manually force-close channels\n\ | |
See https://github.com/lightningdevkit/rust-lightning/issues/1565 for more info."); | |
} |
Metadata
Metadata
Assignees
Labels
No labels