Documentation exported from Syscoin Core 4.1.2

generatetodescriptor (4.1.2 RPC)

blockchain

control

generating

governance

governancewallet

mining

network

rawtransactions

syscoin

syscoinwallet

util

wallet

zmq

generatetodescriptor num_blocks "descriptor" ( maxtries )

Mine blocks immediately to a specified descriptor (before the RPC call returns)

Arguments:
1. num_blocks    (numeric, required) How many blocks are generated immediately.
2. descriptor    (string, required) The descriptor to send the newly generated syscoin to.
3. maxtries      (numeric, optional, default=1000000) How many iterations to try.

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

Examples:

Generate 11 blocks to mydesc
> syscoin-cli generatetodescriptor 11 "mydesc"