Remove obsolete PoW hash helper
This commit is contained in:
parent
7b408b636f
commit
1f5663f19f
2 changed files with 0 additions and 9 deletions
|
|
@ -32,13 +32,6 @@ int CBlockHeader::GetAlgo() const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint256 CBlockHeader::GetPoWAlgoHash(const Consensus::Params& params) const
|
|
||||||
{
|
|
||||||
// RandomX hashing is not enabled yet.
|
|
||||||
// For now, preserve existing SHA256D behavior.
|
|
||||||
return GetHash();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool CBlockHeader::GetRandomXPoWHash(const uint256& seed, uint256& result) const
|
bool CBlockHeader::GetRandomXPoWHash(const uint256& seed, uint256& result) const
|
||||||
{
|
{
|
||||||
CDataStream stream(SER_GETHASH, PROTOCOL_VERSION);
|
CDataStream stream(SER_GETHASH, PROTOCOL_VERSION);
|
||||||
|
|
|
||||||
|
|
@ -94,8 +94,6 @@ public:
|
||||||
|
|
||||||
uint256 GetHash() const;
|
uint256 GetHash() const;
|
||||||
|
|
||||||
uint256 GetPoWAlgoHash(const Consensus::Params& params) const;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calculate the RandomX proof-of-work hash using an explicit seed key.
|
* Calculate the RandomX proof-of-work hash using an explicit seed key.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue