This repository has been archived by the owner on May 28, 2021. It is now read-only.
[Client, node] Resolve htlc apps onchain if counterparty is unresponsive #1254
Labels
p1 Bugs/Tests/Blockers
Bugs that break things but no loss of funds + Test improvements + PRIORITY blockers for customers.
Relies on other watcher work to be completed first.
We need to explicitly dispute htlc apps in client and node if they are close to (or past) expiring but the counterparty has not resolved them offchain.
If the client is receiving an htlc transfer, they should dispute shortly before the timeout -- note that because we allow "shortcutting" the dispute for transfers, this actually only needs to happen a few (perhaps we can go with 100?) blocks before expiry.
If the client is ending an htlc transfer and the transfer is never resolved, they should dispute shortly after the timeout (perhaps 1 day after?).
Note that disputing will totally end the channel and make it unusable in the future, requiring that users withdraw ALL funds and rotate keys.
The text was updated successfully, but these errors were encountered: