lnd.xprv/chainreg
carla ca3b36c4b1
multi: use uptime api for bitcoind healthcheck if version > 0.15
The getblockchaininfo call in bitcoind uses a commonly used lock,
csmain, in bitcoind. This made the endpoint unsuitable for a health
check, because some nodes were seeing waits up to 5 minutes (!). This
commit updates our health check function to use the uptime api, provided
our bitcoind version is > 0.15, when the api was added. We do not need
to switch our health check for btcd, because it has more granular
locking.
2020-11-11 11:26:15 +02:00
..
chaincode.go chainreg: export ChainCode to new pkg 2020-10-29 15:19:57 -04:00
chainparams.go chainreg: add Config, move chainparams.go 2020-10-29 15:19:58 -04:00
chainregistry.go multi: use uptime api for bitcoind healthcheck if version > 0.15 2020-11-11 11:26:15 +02:00
log.go chainreg: register logger 2020-11-09 14:11:31 +02:00