getgenerate - Komodo RPC

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:
> komodo-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:7771/


Docs generated by komodo v0.6.1. You can find this github repo at github.com/komodo-rpc/komodo-rpc.github.io.




Auction











Lotto