Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Client retries unlocking htlc up to dispute timeout #37

Closed
kilrau opened this issue Jun 17, 2020 · 1 comment
Closed

Client retries unlocking htlc up to dispute timeout #37

kilrau opened this issue Jun 17, 2020 · 1 comment

Comments

@kilrau
Copy link

kilrau commented Jun 17, 2020

In order to enable connext/indra#1254, the connext client has to automatically retry unlocking an htlc up to the dispute timeout. Currently it doesn't do that. xud tries to unlock an htlc via connext client exactly once. If that fails (which can be because of a temporary network issue) it gives up and the htlc remains locked practically resulting in loss of funds (even though htlc could be unlocked manually, but that's not really an option).

As a first urgent step the connext client should automatically retry to unlock an htlc off-chain up to the dispute timeout. That prevents temporary unlock failures from causing funds to disappear.

Second step is to automatically go on-chain after dispute timeout as described in connext/indra#1254.

@ArjunBhuptani
Copy link
Member

ArjunBhuptani commented Jun 22, 2020

I believe this is a duplicate of connext/indra#1173, closing and will track it there

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants