Changeset View
Changeset View
Standalone View
Standalone View
src/validation.cpp
Show First 20 Lines • Show All 243 Lines • ▼ Show 20 Lines | |||||
* AcceptToMemoryPool. See CTxMemPool::cs comment for details. | * AcceptToMemoryPool. See CTxMemPool::cs comment for details. | ||||
* | * | ||||
* The transaction pool has a separate lock to allow reading from it and the | * The transaction pool has a separate lock to allow reading from it and the | ||||
* chainstate at the same time. | * chainstate at the same time. | ||||
*/ | */ | ||||
RecursiveMutex cs_main; | RecursiveMutex cs_main; | ||||
BlockMap &mapBlockIndex = g_chainstate.mapBlockIndex; | BlockMap &mapBlockIndex = g_chainstate.mapBlockIndex; | ||||
CChain &chainActive = g_chainstate.m_chain; | |||||
CBlockIndex *pindexBestHeader = nullptr; | CBlockIndex *pindexBestHeader = nullptr; | ||||
Mutex g_best_block_mutex; | Mutex g_best_block_mutex; | ||||
std::condition_variable g_best_block_cv; | std::condition_variable g_best_block_cv; | ||||
uint256 g_best_block; | uint256 g_best_block; | ||||
int nScriptCheckThreads = 0; | int nScriptCheckThreads = 0; | ||||
std::atomic_bool fImporting(false); | std::atomic_bool fImporting(false); | ||||
std::atomic_bool fReindex(false); | std::atomic_bool fReindex(false); | ||||
bool fHavePruned = false; | bool fHavePruned = false; | ||||
▲ Show 20 Lines • Show All 5,445 Lines • Show Last 20 Lines |