xmr-btc-swap/swap/tests
Daniel Karzel 52f648e1de
Alice's spot price logic into dedicated behaviour
Move Alice's spot price logic into a dedicated network behaviour that handles all the logic.
The new behaviour encapsulates the complete state necessary for spot price request decision making.
The network behaviour cannot handle asynchronous calls, thus the balance is managed inside the spot price and has to updated regularly from the outside to ensure the spot price balance check has up to date data.
At the moment the balance is updated upon an incoming quote requests.

Code that is relevant for both ASB and CLI remains in the `network::spot_price` module (e.g. `network::spot_price::Error`).
2021-05-07 15:00:29 +10:00
..
harness Alice's spot price logic into dedicated behaviour 2021-05-07 15:00:29 +10:00
alice_punishes_after_restart_punish_timelock_expired.rs Don't stutter 2021-04-26 12:45:39 +10:00
alice_refunds_after_restart_bob_refunded.rs Test Alice refunds if restarted and Bob refunded 2021-04-01 17:47:01 +11:00
bob_refunds_using_cancel_and_refund_command_timelock_not_expired_force.rs Don't stutter 2021-04-26 12:45:39 +10:00
bob_refunds_using_cancel_and_refund_command_timelock_not_expired.rs Don't stutter 2021-04-26 12:45:39 +10:00
bob_refunds_using_cancel_and_refund_command.rs Don't stutter 2021-04-26 12:45:39 +10:00
concurrent_bobs_after_xmr_lock_proof_sent.rs Don't stutter 2021-04-26 12:45:39 +10:00
concurrent_bobs_before_xmr_lock_proof_sent.rs Don't stutter 2021-04-26 12:45:39 +10:00
ensure_same_swap_id.rs Don't stutter 2021-04-26 12:45:39 +10:00
happy_path_restart_alice_after_xmr_locked.rs Alice resumes swaps 2021-04-01 16:09:13 +11:00
happy_path_restart_bob_after_xmr_locked.rs Don't stutter 2021-04-26 12:45:39 +10:00
happy_path_restart_bob_before_xmr_locked.rs Don't stutter 2021-04-26 12:45:39 +10:00
happy_path.rs Refactor monero-harness containers 2021-04-26 18:12:57 +10:00
punish.rs Don't stutter 2021-04-26 12:45:39 +10:00