Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi: use bitcoind uptime api for healthcheck #4755

Merged
merged 1 commit into from
Nov 12, 2020

Commits on Nov 11, 2020

  1. 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.
    carlaKC committed Nov 11, 2020
    Configuration menu
    Copy the full SHA
    ca3b36c View commit details
    Browse the repository at this point in the history