generate - BitcoinZ 2.0.7 RPC

generate numblocks

Mine blocks immediately (before the RPC call returns)

Note: this function can only be used on the regtest network

Arguments:
1. numblocks    (numeric) How many blocks are generated immediately.

Result
[ blockhashes ]     (array) hashes of blocks generated

Examples:

Generate 11 blocks
> bitcoinz-cli generate 11




Control