Changeset View
Changeset View
Standalone View
Standalone View
src/validation.cpp
Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Lines | |||||
/** | /** | ||||
* Global state | * Global state | ||||
*/ | */ | ||||
CCriticalSection cs_main; | CCriticalSection cs_main; | ||||
BlockMap &mapBlockIndex = g_chainstate.mapBlockIndex; | BlockMap &mapBlockIndex = g_chainstate.mapBlockIndex; | ||||
CChain &chainActive = g_chainstate.chainActive; | CChain &chainActive = g_chainstate.chainActive; | ||||
CBlockIndex *pindexBestHeader = nullptr; | CBlockIndex *pindexBestHeader = nullptr; | ||||
CWaitableCriticalSection g_best_block_mutex; | Mutex g_best_block_mutex; | ||||
CConditionVariable 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 fTxIndex = false; | bool fTxIndex = false; | ||||
bool fHavePruned = false; | bool fHavePruned = false; | ||||
bool fPruneMode = false; | bool fPruneMode = false; | ||||
bool fIsBareMultisigStd = DEFAULT_PERMIT_BAREMULTISIG; | bool fIsBareMultisigStd = DEFAULT_PERMIT_BAREMULTISIG; | ||||
▲ Show 20 Lines • Show All 5,539 Lines • Show Last 20 Lines |