Changeset View
Changeset View
Standalone View
Standalone View
src/net_processing.cpp
Show First 20 Lines • Show All 290 Lines • ▼ Show 20 Lines | |||||
std::unique_ptr<CRollingBloomFilter> recentRejects GUARDED_BY(cs_main); | std::unique_ptr<CRollingBloomFilter> recentRejects GUARDED_BY(cs_main); | ||||
uint256 hashRecentRejectsChainTip GUARDED_BY(cs_main); | uint256 hashRecentRejectsChainTip GUARDED_BY(cs_main); | ||||
/** | /** | ||||
* Filter for transactions that have been recently confirmed. | * Filter for transactions that have been recently confirmed. | ||||
* We use this to avoid requesting transactions that have already been | * We use this to avoid requesting transactions that have already been | ||||
* confirmed. | * confirmed. | ||||
*/ | */ | ||||
RecursiveMutex g_cs_recent_confirmed_transactions; | Mutex g_cs_recent_confirmed_transactions; | ||||
std::unique_ptr<CRollingBloomFilter> g_recent_confirmed_transactions | std::unique_ptr<CRollingBloomFilter> g_recent_confirmed_transactions | ||||
GUARDED_BY(g_cs_recent_confirmed_transactions); | GUARDED_BY(g_cs_recent_confirmed_transactions); | ||||
/** | /** | ||||
* Blocks that are in flight, and that are in the queue to be downloaded. | * Blocks that are in flight, and that are in the queue to be downloaded. | ||||
*/ | */ | ||||
struct QueuedBlock { | struct QueuedBlock { | ||||
BlockHash hash; | BlockHash hash; | ||||
▲ Show 20 Lines • Show All 5,329 Lines • Show Last 20 Lines |