Skip to main content

start_mining

Initiates PoW mining process on a node using the specified miner address and the number of CPU threads.

URL: http:://127.0.0.1:11211/start_mining

Request:

{
"miner_address": "ZxCSpsGGeJsS8fwvQ4HktDU3qBeauoJTR6j73jAWWZxFXdF7XTbGm4YfS2kXJmAP4Rf5BVsSQ9iZ45XANXEYsrLN2L2W77dH7",
"threads_count": 2
}

Request description:

  "miner_address": The address where the mining rewards will be deposited.
"threads_count": The number of CPU threads to use for mining.

Response:

{
"status": "OK"
}

Response description:

  "status": Status of the call.