generate - Zcash 2.0.5-1 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
> zcash-cli generate 11


Made by @karel_3d; license of the docs is MIT (see zcash repo), license of the scripts and webpage is also MIT ((C) 2018 Karel Bilek) (github repo)

Note it uses a mainnet node


Control