All cases suppose that Maker and Taker already agree on X and Y and their public keys.
- Maker locks X
- Taker locks Y
- Maker takes Y
- Taker takes X
- Maker locks X
- Taker leaves
- Maker loses time
- Taker gains optionality
- Maker locks X
- Taker locks Y
- Maker leaves
- Maker loses time
- Taker loses time
- Maker gains optionality
- Taker locks X
- Maker locks Y
- Taker takes Y
- Maker takes X
- Taker locks X
- Maker leaves
- Taker loses time
- Maker gains optionality
- Taker locks X
- Maker locks Y
- Taker leaves
- Maker loses time
- Taker loses time
- Taker gains optionality
All cases suppose that Maker, Taker and Dealer already agree on X and Y, their public keys.
- Maker locks X, sends preimage to Dealer
- Taker locks Y
- Dealer spends Y to Maker's wallet
- Taker takes X
- Maker locks X, sends preimage and his address to Dealer
- Taker leaves
- Maker loses time
- Taker gains optionality
No such case
- Maker locks X, sends preimage and his address to Dealer
- Taker locks Y
- Dealer leaves
- Maker
- Taker locks X, sends preimage to Dealer
- Maker locks Y
- Dealer spends X to Maker's wallet
- Taker takes Y
- Taker locks X, sends preimage to Dealer
- Maker leaves
- Taker loses time
- Maker loses reputation