I have been following Antonopoulos book but it seems to be outdated.
I am having elementary problems. Which command to run when, after I build bitcoind and bitcoin-cli. How am I to get blockchain to start downloading?
Start with the infamous bitcoin.conf which doesn't exist and nobody knows exactly how it should come into existence.
:~/.bitcoin$ bitcoind -datadir=/mnt/d/blockchain -txindex=1 -daemon Bitcoin server starting
Ok, I assume it is now doing something, like downloading blocks.
But:
~/bitcoin$ bitcoin-cli -datadir=/mnt/d/blockchain -getinfo
{
"version": 170100,
"protocolversion": 70015,
"walletversion": null,
"balance": null,
"blocks": 0,
"timeoffset": 0,
"connections": 0,
"proxy": "",
"difficulty": 1,
"testnet": false,
"keypoololdest": null,
"keypoolsize": null,
"paytxfee": null,
"relayfee": 0.00001000,
"warnings": ""
}
implies that nothing is going on. Nothing is being downloaded.