Skip to content

Conversation

@guggero
Copy link
Collaborator

@guggero guggero commented Dec 10, 2025

To allow force closing an old state, we add a new --stateindex param to the forceclose sub command.
This will obviously publish an old state and make anyone using it vulnerable to being punished by the peer if they are still online or ever used a watchtower.

Old states will only be available if the revocation log hasn't been pruned from the lnd channel database by using --db.prune-revocation. Meaning that for new channels this information is NOT STORED anymore.

This commit adds a new --stateindex parameter that allows to force close
an old state (if still available). To make integration tests easier, we
also add the --channelpoint param that allows us to specify a single
channel to force close.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant