Remove obsolete PoW hash helper

This commit is contained in:
Capri 2026-09-15 21:38:39 +00:00
commit 1f5663f19f
Signed by: VextaProject
SSH key fingerprint: SHA256:739BZv8LvIDY2tR7lXLy/IQ6MaGTQtYcG9GNvCjmpVM
2 changed files with 0 additions and 9 deletions

View file

@ -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);

View file

@ -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.
* *