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.
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 – 2018-10-15T17:27:08.543
1Yes, use the
generatetoaddressRPC (which mines to an address of your choice) rather than thegenerateRPC (which mines to a fresh wallet address). – Pieter Wuille – 2018-10-15T18:30:49.190