getgenerate - Spacecoin RPC Docs


getgenerate

Return if the server is set to mine and/or mint coins or not. The default is false.
It is set with the command line argument -gen (or komodo.conf setting gen) and -mint
It can also be set with the setgenerate call.

Result
{
  "staking": true|false      (boolean) If staking is on or off (see setgenerate)
  "generate": true|false     (boolean) If mining is on or off (see setgenerate)
  "numthreads": n            (numeric) The processor limit for mining. (see setgenerate)
}

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


Learn more about spacecoin at spacecoin.network.
Docs generated by spacecoin v0.6.1.
Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.

Spacecoin Logo



Auction











Lotto