mirror of
https://github.com/monero-project/monero.git
synced 2026-01-10 12:13:26 -08:00
core: cache tx and block hashes in the respective classes
An idea from smooth
This commit is contained in:
@@ -355,9 +355,11 @@ namespace cryptonote
|
||||
|
||||
if(check_hash(h, diffic))
|
||||
{
|
||||
bl.hash_valid = false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
bl.hash_valid = false;
|
||||
return false;
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user