After starting bitcoin from the command line, with:
./bitcoind -daemon
I immediately run the followup command:
./bitcoind getinfo
which gives me the following error:
error: couldn't connect to server
This error lasts from a few seconds to a few minutes depending on the machine.
Two questions:
- What is Bitcoin doing during this time, that causes this error (i.e. prevents the client from returning the results of
getinfo
)? - Are there any steps I can take that will minimize this start-up time?