31 const unsigned EthashProofOfWork::defaultLocalWorkSize = 64;
32 const unsigned EthashProofOfWork::defaultGlobalWorkSizeMultiplier = 4096;
33 const unsigned EthashProofOfWork::defaultMSPerBatch = 0;
36 EthashProofOfWork::WorkPackage::WorkPackage(
BlockHeader const& _bh):
37 boundary(
Ethash::boundary(_bh)),
39 seedHash(
Ethash::seedHash(_bh))
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
std::hash for asio::adress