make argon2s native to the repo, allowing for clean builds

This commit is contained in:
barrystyle
2019-06-13 05:01:03 +08:00
parent dd684bdabe
commit 8e8108ff2f
18 changed files with 3854 additions and 5 deletions
+3 -1
View File
@@ -18,7 +18,9 @@ uint256 CBlockHeader::GetHash() const
uint256 CBlockHeader::GetPoWHash() const
{
return argon2s_hash(BEGIN(nVersion), END(nNonce));
uint256 thash;
argon2s_hash(BEGIN(nVersion), BEGIN(thash));
return thash;
}
std::string CBlock::ToString() const