diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 23a856f5e..3971ac17d 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -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 std::shared_ptr most_recent_block; static std::shared_ptr most_recent_compact_block;