mirror of
https://github.com/monero-project/monero.git
synced 2025-11-27 06:26:31 -05:00
Merge pull request #5126
f1fb06b1Fixed path to int-util.h (SChernykh)9da0892bAdding cnv4-2 tweaks (SChernykh)f51397b3Cryptonight variant 4 aka CryptonightR (SChernykh)
This commit is contained in:
commit
1b4fa00d7c
9 changed files with 611 additions and 51 deletions
|
|
@ -1174,7 +1174,7 @@ namespace cryptonote
|
|||
}
|
||||
blobdata bd = get_block_hashing_blob(b);
|
||||
const int cn_variant = b.major_version >= 7 ? b.major_version - 6 : 0;
|
||||
crypto::cn_slow_hash(bd.data(), bd.size(), res, cn_variant);
|
||||
crypto::cn_slow_hash(bd.data(), bd.size(), res, cn_variant, height);
|
||||
return true;
|
||||
}
|
||||
//---------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue