mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
Rename CalculateHeadersWork to CalculateClaimedHeadersWork
This commit is contained in:
@@ -3884,7 +3884,7 @@ bool IsBlockMutated(const CBlock& block, bool check_witness_root)
|
||||
return false;
|
||||
}
|
||||
|
||||
arith_uint256 CalculateHeadersWork(const std::vector<CBlockHeader>& headers)
|
||||
arith_uint256 CalculateClaimedHeadersWork(const std::vector<CBlockHeader>& headers)
|
||||
{
|
||||
arith_uint256 total_work{0};
|
||||
for (const CBlockHeader& header : headers) {
|
||||
|
||||
Reference in New Issue
Block a user