53 operator bool()
const {
return headerHash !=
h256(); }
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
Proof of work definition for Ethash.
Fixed-size raw-byte array container type, with an API optimised for storing hashes.
static const unsigned defaultMSPerBatch
Default value of the milliseconds per global work size (per batch)
static const unsigned defaultGlobalWorkSizeMultiplier
Default value of the global work size as a multiplier of the local work size.
static const unsigned defaultLocalWorkSize
Default value of the local work size. Also known as workgroup size.
h256 headerHash
When h256() means "pause until notified a new work package is available".
static const WorkPackage NullWorkPackage