xmr-btc-swap/swap/tests
Daniel Karzel 9f1deb9fdc Wrap the Monero wallet client in a Mutex
In order to ensure that we can atomically generate_from_keys and then reload a wallet,
we have to wrap the client of the monero wallet RPC inside a mutex.
When introducing the Mutex I noticed that several inner RPC calls were leaking to the
swap crate monero wallet. As this is a violation of boundaries I introduced the traits
`GetAddress`, `WalletBlockHeight` and `Refresh`.

Note that the monero wallet could potentially know its own public view key and
public spend key. If we refactor the wallet to include this information upon wallet
creation we can also generate addresses using `monero::Address::standard`.
2021-02-25 00:33:58 +11:00
..
testutils Wrap the Monero wallet client in a Mutex 2021-02-25 00:33:58 +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