xmr-btc-swap/swap
Thomas Eizinger 9ad2160c69
Refactor the kraken module to automatically re-connect on errors
In order to be able to re-connect on certain errors, we model
connection errors separately from parsing errors. We also change
the API of the whole module to no longer forward all errors to
the subscribers but instead, only update the subscribers with
either a latest rate or a permanent failure in case we exhausted
all our options to re-connect the websocket.

To model all of this properly, we introduce to sub-modules so that
each submodule can have their own `Error` type.

Resolves #297.
2021-03-09 17:37:37 +11:00
..
src Refactor the kraken module to automatically re-connect on errors 2021-03-09 17:37:37 +11:00
tests Shorten function name 2021-03-05 15:49:14 +11:00
Cargo.toml Rename binary to swap 2021-03-05 16:14:21 +11:00