I am working on a private chain using regtest mode. I have a strange behaviour if i restart the bitcoind process the balance becomes 0.?

i generate 101 new block to get the reward 50BTC. I repeat this operation to be sure but always i get the same result the balance is 0.

C:\WINDOWS\system32>bitcoin-cli -regtest getbalance
C:\WINDOWS\system32>bitcoin-cli -regtest getbalance

update : the problem was the use of CTRL+C to stop the bitcoind deamon

  • Can you please update your post and show us the commands you use to start and restart bitcoind in regtest mode? Oct 20, 2016 at 21:29

1 Answer 1


You probably haven't gracefully shutdown your node during the first run.

Make sure you always stop your node(s) with ./bitcoin-cli -regtest stop


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.