xmr-btc-swap/swap/tests
Thomas Eizinger 01739eddb1
Introduce a more flexible transaction subscription system
Instead of watching for status changes directly on bitcoin::Wallet,
we return a Subscription object back to the caller. This subscription
object can be re-used multiple times.

Among other things, this now allows callers of `broadcast` to decide
on what to wait for given the returned Subscription object.

The new API is also more concise which allows us to remove some of
the functions on the actor states in favor of simple inline calls.

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-03-30 10:29:19 +11:00
..
testutils Improve resilience of balance assertions 2021-03-29 12:15:52 +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 Introduce a more flexible transaction subscription system 2021-03-30 10:29:19 +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