From b49ad44efeaff66806d2c142273f70e2a4ddfb9d Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 7 Feb 2017 11:49:07 -0500 Subject: Add comment about cs_most_recent_block coverage --- src/net_processing.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net_processing.cpp') diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 23a856f5e5..3971ac17d2 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; -- cgit v1.2.3