Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Free Options Problem #25

Open
kilrau opened this issue May 25, 2020 · 0 comments
Open

Free Options Problem #25

kilrau opened this issue May 25, 2020 · 0 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@kilrau
Copy link
Contributor

kilrau commented May 25, 2020

Moved here from ExchangeUnion/xud#881:

Problem description: Read this or watch this, this for the full mailing list version.

TL,DR: the preimage holder (in our case always the taker) can delay the release of preimage from t0 to t1 and watch the market in the interval [t0, t1] and decide at t1 to execute the swap or not depending if the price agreed in the swap is better than the market at t1 or not. Release preimage if yes, fail the swap if no. This creates a free financial option for the preimage holder and is fatal for the non-preimage holder since her funds are locked up for the interval [t0, t1].

This issue is to collect discussion and research in two different directions

  1. how to reduce exposure to above described free option scenario and
  2. enforce <block (e.g. 10 seconds) timeouts for payment channel atomic swaps and to enforce releasing amounts in the HTLCs of the swap. Enforcing means the protocol can enforce this timeout without the the misbehaving party responding/cooperating. Currently the non-preimage holder can decide between waiting for preimage holder to finalize the trade or cancel the trade by uncooperative channel close and a lengthy 7 days cltv waiting time to get funds back. Both not very nice options.

We are currently aware of the following approaches:

@kilrau kilrau added help wanted Extra attention is needed question Further information is requested labels May 25, 2020
@BitcoinOG BitcoinOG changed the title [Open Research Question] Free Options Problem Free Options Problem Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant