Thank you for your reply.
I do generate my own genesis block. It seems that it is just keeping downloading.
It would be a lot helpful if you could run a git diff on your workspace and paste the change you have made, so that we can identify the problem.
Thank you very much for your reply.
Those are the changes I made:
https://github.com/zhq422194011/bitcoin/commit/e0b0d5c9b4be209cf640cf6e8ae29bf1525c58daMy bitcoin.conf is:
server=1
gen=1
rpcbind=0.0.0.0
rpcuser=rpcuser
rpcpassword=111111
rpcallowip=127.0.0.1
rpcallowip=0.0.0.0/0
listen=1
I run the following two bitcoinds:
sudo ~/bitcoin/src/bitcoind -addnode=127.0.0.1:9332 -port=8963 -rpcport=8962 -debug=rpc -dns=0 -dnsseed=0
sudo ~/bitcoin/src/bitcoind -datadir=$HOME/.bitcoin2 -addnode=127.0.0.1:8962 -port=9333 -rpcport=9332 -debug=rpc -dns=0 -dnsseed=0
When I run ./bitcoin-cli getblocktemplate, I got:
error code: -10
error message:
Bitcoin is downloading blocks...