0

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

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.

  • Is there a way to specify the mining reward address with bitcoind? – PW Kad Oct 15 '18 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). – Pieter Wuille Oct 15 '18 at 18:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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