generate nblocks ( maxtries )
Mine up to nblocks blocks immediately (before the RPC call returns) to an address in the wallet.
Argument #1 - nblocks¶
Type: numeric, required
How many blocks are generated immediately.
Argument #2 - maxtries¶
Type: numeric, optional, default=1000000
How many iterations to try.
[ blockhashes ] (array) hashes of blocks generated
Generate 11 blocks:
bitcoin-cli generate 11