Documentation exported from Syscoin Core 4.1.2

generate (4.1.2 RPC)

blockchain

control

generating

governance

governancewallet

mining

network

rawtransactions

syscoin

syscoinwallet

util

wallet

zmq

generate nblocks ( maxtries )

Mine up to nblocks blocks immediately (before the RPC call returns) to an address in the wallet.

Arguments:
1. nblocks     (numeric, required) How many blocks are generated immediately.
2. maxtries    (numeric, optional, default=100000) How many iterations to try.

Result:
[ blockhashes ]     (array) hashes of blocks generated

Examples:
> syscoin-cli generate 11
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "generate", "params": [11] }' -H 'content-type: text/plain;' http://127.0.0.1:8370/