-
Notifications
You must be signed in to change notification settings - Fork 47
Description
thanks to improvements in the reliability of the client software and protocol atomic swaps work almost flawless in the current state
there is no valid reason to initiate a swap and then not stay online for 1 bitcoin confirmation + 10 monero confirmations to complete a swap
the current protocol for some reason allows for 12h to pass before tx_cancel is published
this not only allows for manipulation (betting on xmr price change) but also blocks xmr for the maker
a reduction to 2h in the next hardfork v4 would make funds for the maker available 10h faster and abolish the problem with the manipulation/betting from the taker site
i dont find any good arguments for a 12h window with the current state of the protocol.
a taker can simply start a new swap in case of failure
even if a taker is honest, the mere fact that he can go to sleep and then continue the trade and the maker has to live with the loss is crazy
if its unclear:
taker initiates swap for 6.000$ worth of xmr (10) for X btc
taker goes offline
11h later the taker finish the swap
taker has 10 xmr, maker 0.2 btc.
in the meantime xmr has risen 10%, btc price stayed the same.
maker takes his btc and now buys ~9.1 XMR with the btc he got from the taker
maker runs a service, exchanges money back and forth, and looses 1 xmr in the process.
this is imo unrelated to any spam deterence plans where takers can be punished and loose funds, because this seems to also be a opt-in function that even has to be manually executed because makers are expected to be online
my example is also with users that dont reach the spam deterence