xmr-btc-swap/swap/src/bitcoin
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
..
cancel.rs Ensure that constant weights do not go out of sync with code. 2021-05-07 10:24:41 +10:00
lock.rs Rename variable. 2021-05-07 10:24:41 +10:00
punish.rs Ensure that constant weights do not go out of sync with code. 2021-05-07 10:24:41 +10:00
redeem.rs Ensure that constant weights do not go out of sync with code. 2021-05-07 10:24:41 +10:00
refund.rs Ensure that constant weights do not go out of sync with code. 2021-05-07 10:24:41 +10:00
timelocks.rs Greatly reduce load onto the Electrum backend 2021-03-16 19:24:31 +11:00
wallet.rs Poll block headers for latest block on each iteration 2021-05-20 13:05:51 +10:00