xmr-btc-swap/swap/tests/testutils
Thomas Eizinger 1822886cd0
Provide stronger isolation of kraken module
Instead of leaking the tokio::sync::Receiver type in our
return value, we create a newtype that implements the desired
interface. This allows us to get rid of the `RateService` structs
and instead implement `LatestRate` directly on top of this struct.

Given that `LatestRate` is only used within the event_loop module,
we move the definition of this type into there.
2021-03-05 13:56:25 +11:00
..
bitcoind.rs Change imports_granularity to module 2021-03-04 14:48:13 +11:00
electrs.rs Change imports_granularity to module 2021-03-04 14:48:13 +11:00
mod.rs Provide stronger isolation of kraken module 2021-03-05 13:56:25 +11:00