xmr-btc-swap/swap/tests
Daniel Karzel bb1537d6f2 Error feedback for the user upon communication errors
If communication with the other party fails the program should stop and the user should see the respective error.
Communication errors are handled in the event-loop. Upon a communication error the event loop is stopped.
Since the event loop is only stopped upon error the Result returned from the event loop is Infallible.

If one of the two futures, event loop and swap,  finishes (success/failure) the other future should be stopped as well.
We use tokio::selec! to stop either future if the other stops.
2021-02-26 17:18:12 +11:00
..
testutils Error feedback for the user upon communication errors 2021-02-26 17:18:12 +11:00
bob_refunds_using_cancel_and_refund_command_timelock_not_expired_force.rs Fix typo 2021-02-10 16:42:55 +11:00
bob_refunds_using_cancel_and_refund_command_timelock_not_expired.rs Fix typo 2021-02-10 16:42:55 +11:00
bob_refunds_using_cancel_and_refund_command.rs Alice event loop now handles the creation of new swaps 2021-02-10 16:42:55 +11:00
happy_path_restart_bob_before_comm.rs Alice event loop now handles the creation of new swaps 2021-02-10 16:42:55 +11:00
happy_path.rs Alice event loop now handles the creation of new swaps 2021-02-10 16:42:55 +11:00