gethashespersec

generating

v0.10.1

gethashespersec

Returns a recent hashes per second performance measurement while generating.
See the getgenerate and setgenerate calls to turn generation on and off.

Result:
n (numeric) The recent hashes per second when generation is on (will return 0 if generation is off)

Examples:
> bitcoin-cli gethashespersec
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gethashespersec", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
Don't trust. Verify. Docs extracted from src/rpcmining.cpp#L203-L215.