1

After using the bitcoind -regtest generate 1 command, where does the mining reward go? I tried list accounts and check balance for account "", but the balance always showed 0.000000.

1 Answer 1

2

To you, but with a delay.

What you're observing is the maturity period: the coins generated by a block can only be moved after there are another 100 blocks on top.

If you generate another 100, your balance will start increasing.

2
  • Is there a way to specify the mining reward address with bitcoind?
    – PW Kad
    Oct 15, 2018 at 17:27
  • 1
    Yes, use the generatetoaddress RPC (which mines to an address of your choice) rather than the generate RPC (which mines to a fresh wallet address). Oct 15, 2018 at 18:30

Your Answer

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

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