xmr-btc-swap/swap/tests
Daniel Karzel 396c4177a6 Alice sweeps refunded funds into default wallet
Since Alice's refund scenario starts with generating the temporary wallet
from keys to claim the XMR which results in Alice' unloading the wallet.
Alice then loads her original wallet to be able to handle more swaps.
Since Alice is in the role of the long running daemon handling concurrent
swaps, the operation to close, claim and re-open her default wallet must
be atomic.
This PR adds an additional step, that sweeps all the refunded XMR back into
the default wallet. In order to ensure that this is possible, Alice has to
ensure that the locked XMR got enough confirmations.
These changes allow us to assert Alice's balance after refunding.
2021-03-18 17:59:48 +11:00
..
testutils Alice sweeps refunded funds into default wallet 2021-03-18 17:59:48 +11:00
bob_refunds_using_cancel_and_refund_command_timelock_not_expired_force.rs Merge #307 2021-03-17 05:10:50 +00:00
bob_refunds_using_cancel_and_refund_command_timelock_not_expired.rs Merge #307 2021-03-17 05:10:50 +00:00
bob_refunds_using_cancel_and_refund_command.rs Alice sweeps refunded funds into default wallet 2021-03-18 17:59:48 +11:00
happy_path_restart_bob_before_comm.rs Alice spawns swaps outside the event loop 2021-03-16 18:31:46 +11:00
happy_path.rs Alice spawns swaps outside the event loop 2021-03-16 18:31:46 +11:00
punish.rs Re-introduce punish test 2021-03-16 18:34:00 +11:00