xmr-btc-swap/swap/tests/testutils
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
..
bitcoind.rs Upgrade to testcontainers v0.12 2021-02-16 17:11:25 +11:00
electrs.rs Upgrade to bdk 4.0 2021-02-19 15:18:37 +11:00
mod.rs Wrap the Monero wallet client in a Mutex 2021-02-25 00:33:58 +11:00