generate numblocks
Mine blocks immediately (before the RPC call returns)
Note: this function can only be used on the regtest network
1. numblocks (numeric) How many blocks are generated immediately.
Result
[ blockhashes ] (array) hashes of blocks generated
Examples:
Generate 11 blocks
> bitcoin-cli generate 11