setgenerate - Divi 2.5.1 RPC
setgenerate generate ( genproclimit ) Set 'generate' true or false to turn generation on or off. Generation is limited to 'genproclimit' processors, -1 is unlimited. Arguments: 1. generate (boolean, required) Set to true to turn on generation, false to turn off. 2. genproclimit (numeric, optional) Set the processor limit for when generation is on. Can be -1 for unlimited. Note: in -regtest mode, genproclimit controls how many blocks are generated immediately. Result [ blockhashes ] (array, -regtest only) hashes of blocks generated Examples: Set the generation on with a limit of one processor > divi-cli setgenerate true 1 Check the setting > divi-cli getmininginfo Turn off generation > divi-cli setgenerate false Using json rpc > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setgenerate", "params": [true, 1] }' -H 'content-type: text/plain;' http://127.0.0.1:51473/
Maintained by DiviDomains; modified by: Bert Shuler;license of the docs is MIT (see divi repo), license of the scripts and webpage is also MIT (github repo)
Note it uses a mainnet divi node
Blockchain
Divi
allocatefunds
ban
broadcaststartmasternode
clearbanned
createmasternodekey
fundmasternode
getmasternodecount
getmasternodeoutputs
getmasternodescores
getmasternodestatus
getmasternodewinners
Obfuscation,
clearbanned
listmasternodeconf
listmasternodes
masternode
masternodecurrent
mnsync
setupmasternode
spork
startmasternode
verifymasternodesetup
ban
broadcaststartmasternode
clearbanned
createmasternodekey
fundmasternode
getmasternodecount
getmasternodeoutputs
getmasternodescores
getmasternodestatus
getmasternodewinners
Obfuscation,
clearbanned
listmasternodeconf
listmasternodes
masternode
masternodecurrent
mnsync
setupmasternode
spork
startmasternode
verifymasternodesetup
Generating
Getinvalid
Rawtransactions
Wallet
addmultisigaddress
addvault
backupwallet
bip38decrypt
bip38encrypt
dumphdinfo
dumpprivkey
dumpwallet
encryptwallet
fundvault
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
getstakingstatus
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
reclaimvaultfunds
removevault
sendfrom
sendmany
sendtoaddress
setaccount
signmessage
walletverify
addvault
backupwallet
bip38decrypt
bip38encrypt
dumphdinfo
dumpprivkey
dumpwallet
encryptwallet
fundvault
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
getstakingstatus
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
reclaimvaultfunds
removevault
sendfrom
sendmany
sendtoaddress
setaccount
signmessage
walletverify