xmr-btc-swap/swap/tests
Thomas Eizinger 638a169a04
Buffer transfer proof if we are not connected to Bob
The request-response behaviour that is used for sending the transfer
proof actually has a functionality for buffering a message if we
are currently not connected. However, the request-response behaviour
also emits a dial attempt and **drops** all buffered messages if this
dial attempt fails. For us, the dial attempt will very likely always
fail because Bob is very likely behind NAT and we have to wait for
him to reconnect to us.

To mitigate this, we build our own buffer within the EventLoop and
send transfer proofs as soon as we are connected again.

Resolves #348.
2021-03-24 15:17:54 +11:00
..
testutils Remove connection handling from swap execution 2021-03-24 15:17:54 +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_after_xmr_locked.rs Buffer transfer proof if we are not connected to Bob 2021-03-24 15:17:54 +11:00
happy_path_restart_bob_before_xmr_locked.rs Buffer transfer proof if we are not connected to Bob 2021-03-24 15:17:54 +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