include quicker blake2b routines

This commit is contained in:
barrystyle
2019-06-13 11:03:59 +08:00
parent 8e2967a843
commit 1a633d08c1
2 changed files with 819 additions and 230 deletions
File diff suppressed because it is too large Load Diff
+1 -3
View File
@@ -18,9 +18,7 @@ uint256 CBlockHeader::GetHash() const
uint256 CBlockHeader::GetPoWHash() const
{
uint256 thash;
argon2s_hash(BEGIN(nVersion), BEGIN(thash));
return thash;
return argon2s_hash(BEGIN(nVersion), END(nNonce));
}
std::string CBlock::ToString() const