xmr-btc-swap/swap
Daniel Karzel efb51820b1
Poll block headers for latest block on each iteration
The Electrum block-header subscription did not provide us with block headers, because upon the connection being closed by a node the subscription would end.
Re-newing the the subscription upon re-connect is not easily achievable, that's why we opted for a polling mode for now, where we start a block header subscription on every update iteration, that is only used once (when the subscription is made).
2021-05-20 13:05:51 +10:00
..
src Poll block headers for latest block on each iteration 2021-05-20 13:05:51 +10:00
tests Network check upon spot price request 2021-05-20 13:03:29 +10:00
Cargo.toml Toggle json logs using commandline flag. 2021-05-11 15:28:25 +10:00