getwork

v0.9.5

getwork ( "data" )

If 'data' is not specified, it returns the formatted hash data to work on.
If 'data' is specified, tries to solve the block and returns true if it was successful.

Arguments:
1. "data" (string, optional) The hex encoded data to solve

Result (when 'data' is not specified):
{
Don't trust. Verify. Docs extracted from src/rpcmining.cpp#L277-L288.