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

chain: wait for bitcoind rpc to warm up #677

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 10, 2021

  1. chain: wait for bitcoind rpc to warm up

    This modifies the `Start` method to handle the `RPC_IN_WARMUP` error
    code of `-28` by retrying the rpc call to determine the current network
    every second until it either succeeds or fails with a different code.
    The current behavior fails and terminates the connection upon receiving
    this error code. This change allows for connecting to a recently started
    bitcoind node and starting the client while bitcoind is still warming
    up.
    
    Related issues: lightningnetwork/lnd#1533 &
    https://github.com/ExchangeUnion/xud-docker/issues/195
    sangaman committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    aeac1a2 View commit details
    Browse the repository at this point in the history