xmr-btc-swap/swap
Daniel Karzel 5aac76598d
Decouple ASB/CLI Errors from Error sent over wire
What goes over the wire should not be coupled to the errors being printed.
For the CLI and ASB we introduce a separate error enum that is used for logging.
When sending over the wire the errors are mapped to and from the `network::spot_price::Error`.

As part of Bob-specific spot_price code was moved from the network into bob.
Clearly separation of the network API from bob/alice.
2021-05-07 15:00:29 +10:00
..
src Decouple ASB/CLI Errors from Error sent over wire 2021-05-07 15:00:29 +10:00
tests Alice's spot price logic into dedicated behaviour 2021-05-07 15:00:29 +10:00
Cargo.toml Added some proptests. 2021-05-07 10:24:41 +10:00