mirror of
https://github.com/monero-project/monero.git
synced 2025-06-07 22:02:44 -04:00
core: fix blob size cache, and reenable hash and blob size caches
This commit is contained in:
parent
c9063c0b8f
commit
5b63246813
2 changed files with 1 additions and 7 deletions
|
@ -208,7 +208,7 @@ namespace cryptonote
|
|||
void invalidate_hashes();
|
||||
bool is_hash_valid() const { return hash_valid.load(std::memory_order_acquire); }
|
||||
void set_hash_valid(bool v) const { hash_valid.store(v,std::memory_order_release); }
|
||||
bool is_blob_size_valid() const { return hash_valid.load(std::memory_order_acquire); }
|
||||
bool is_blob_size_valid() const { return blob_size_valid.load(std::memory_order_acquire); }
|
||||
void set_blob_size_valid(bool v) const { blob_size_valid.store(v,std::memory_order_release); }
|
||||
|
||||
BEGIN_SERIALIZE_OBJECT()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue