mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
4b0711bfcc
Make a 'getnetworkinfo' RPC call to bitcoind immediately upon startup, to check that the node is up (and throw a ConnectException to ensure that the user is presented with an appropriate warning popup otherwise). Log a warning if the node version is outside the 0.18.0 - 0.20.1 range. Additionally, call 'getbestblockhash' to check that the chain tip is not stale (> 6 hours old). As part of this, make sure the 'getblock' RPC call works correctly with verbosity < 2, by fixing JSON deserialisation of the response when the block or txs are in summary (hex string) form. (These version & health checks are almost identical to the ones done by the original btcd-cli4j library during RPC client startup.) |
||
---|---|---|
.. | ||
.tx | ||
src | ||
update_translations.sh |