mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 15:39:25 -05:00
6a75c840b5
- Properly check the timelocks before trying to redeem - Distinguish different failure scenarios and reactions to it. - if we fail to construct the redeem transaction: wait for cancel. - if we fail to publish the redeem transaction: wait for cancel but let the user know that restarting the application will result in retrying to publish the tx. - if we succeed to publish the tx but then fail when waiting for finality, print error to the user (secreat already leaked, the user has to check manually if the tx was included) |
||
---|---|---|
.. | ||
testutils | ||
happy_path_restart_alice.rs | ||
happy_path_restart_bob_after_comm.rs | ||
happy_path_restart_bob_before_comm.rs | ||
happy_path.rs | ||
punish.rs | ||
refund_restart_alice_cancelled.rs | ||
refund_restart_alice.rs |