Open
Description
We currently use a rather lengthy loop to wait for bitcoind
to warm up and be ready to serve RPC calls:
Lines 710 to 749 in 44d408c
This could be simplified if we just call bitcoin-cli
with -rpcwait
which implements the wait logic internally and allows us to skip checking the returned error (if we get an error it's not the warmup error so we can pass any error up regardless). The downside is that it doesn't allow us to print the warmup ourselves, but we could easily replace that with a single one-shot timer printing the message.