Extract determine_btc_to_swap function and test it

We also instantiate tracing in to order to quickly validate, what
the output for the different scenarios looks like.
This commit is contained in:
Thomas Eizinger 2021-03-04 13:43:06 +11:00
parent 601bf07255
commit 14dcd150af
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
2 changed files with 147 additions and 32 deletions

View file

@ -23,10 +23,10 @@ pub mod database;
pub mod execution_params;
pub mod fs;
pub mod monero;
pub mod network;
pub mod protocol;
pub mod seed;
pub mod trace;
mod monero_ext;
mod network;
mod serde_peer_id;