I've created a docker container of an ubuntu machine, loaded it up with all the dependencies specified in the unix build doc and then built bitcoin and run it with the following command:
./src/bitcoind
after that there's no output or evidence that anything is happening, the terminal is just hanging there, clearly something is going on- but I don't know/can't see what it is.
how can I examine the activity? For instance, see the coins that are being generated in my wallet, etc.
I've tried this proposed solution, i.e. to write
bitcoind getinfo
but I got the error
Error: There is no RPC client functionality in bitcoind anymore. Use the bitcoin-cli utility instead.
Regarding -regtest
I tried with:
./src/bitcoin-cli -regtest &
and I got the error:
too few parameters (need at least command)
./src/bitcoin-cli getinfo
, but actually I don't want to connect to the real bitcoin network, I want to start over from scratch, create my own personal testnet, do you know how to do this? – smatthewenglish Apr 18 '17 at 13:40error: Could not locate RPC credentials. No authentication cookie could be found, and no rpcpassword is set in the configuration file (/root/.bitcoin/bitcoin.conf)
– smatthewenglish Apr 18 '17 at 13:47bitcoind
is not running (or perhaps you're running it with-testnet
or-regtest
but not passing that same argument tobitcoin-cli
?). – Pieter Wuille Apr 18 '17 at 13:48generate
RPC still (but only for chains where the difficulty is trivially low). – Pieter Wuille Apr 18 '17 at 13:56-regtest
mode. You'll get an empty chain with only a genesis block, and no default connections anywhere. You can then use -connect to add nodes to your network and experiment. If you're further ahead, modify chainparams.cpp to add a definition for your own network and logic to select it. – Pieter Wuille Apr 18 '17 at 14:21