xmr-btc-swap/swap/tests
Daniel Karzel 6a75c840b5 Fix Alice redeem scenario
- 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)
2021-01-21 12:13:02 +11:00
..
testutils Wait for Bob's refund finality 2021-01-21 10:36:08 +11:00
happy_path_restart_alice.rs alice::SwapFactory should be consumed once a swap is returned 2021-01-20 14:51:36 +11:00
happy_path_restart_bob_after_comm.rs alice::SwapFactory should be consumed once a swap is returned 2021-01-20 14:51:36 +11:00
happy_path_restart_bob_before_comm.rs alice::SwapFactory should be consumed once a swap is returned 2021-01-20 14:51:36 +11:00
happy_path.rs alice::SwapFactory should be consumed once a swap is returned 2021-01-20 14:51:36 +11:00
punish.rs alice::SwapFactory should be consumed once a swap is returned 2021-01-20 14:51:36 +11:00
refund_restart_alice_cancelled.rs Fix Alice redeem scenario 2021-01-21 12:13:02 +11:00
refund_restart_alice.rs Wait for Bob's refund finality 2021-01-21 10:36:08 +11:00