xmr-btc-swap/swap
Thomas Eizinger 51316d8183
Make it easier to create a bitcoin::Wallet for testing
Forcing the user to create an implementation of `EstimateFeeRate`
every time they want to create a wallet for testing is tedious and
leads to duplicated code.

The implementation for tests is rarely dynamic and thus can be
simplified to static arguments.

This also allows us to provide convenience constructors to make tests
that don't care about fees less distracting by reducing the number of
constants that are floating around.
2021-05-28 15:26:19 +10:00
..
src Make it easier to create a bitcoin::Wallet for testing 2021-05-28 15:26:19 +10:00
tests Network check upon spot price request 2021-05-20 13:03:29 +10:00
Cargo.toml Merge #536 2021-05-28 04:47:26 +00:00