mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-04 03:04:27 +00:00
Add comment about cs_most_recent_block coverage
This commit is contained in:
parent
c47f5b7982
commit
b49ad44efe
@ -771,6 +771,7 @@ void PeerLogicValidation::SyncTransaction(const CTransaction& tx, const CBlockIn
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// All of the following cache a recent block, and are protected by cs_most_recent_block
|
||||||
static CCriticalSection cs_most_recent_block;
|
static CCriticalSection cs_most_recent_block;
|
||||||
static std::shared_ptr<const CBlock> most_recent_block;
|
static std::shared_ptr<const CBlock> most_recent_block;
|
||||||
static std::shared_ptr<const CBlockHeaderAndShortTxIDs> most_recent_compact_block;
|
static std::shared_ptr<const CBlockHeaderAndShortTxIDs> most_recent_compact_block;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user