Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 189 Lines • ▼ Show 20 Lines | |||||
static const int MAX_UNCONNECTING_HEADERS = 10; | static const int MAX_UNCONNECTING_HEADERS = 10; | ||||
static const bool DEFAULT_PEERBLOOMFILTERS = true; | static const bool DEFAULT_PEERBLOOMFILTERS = true; | ||||
/** Default for -stopatheight */ | /** Default for -stopatheight */ | ||||
static const int DEFAULT_STOPATHEIGHT = 0; | static const int DEFAULT_STOPATHEIGHT = 0; | ||||
/** Default for -maxreorgdepth */ | /** Default for -maxreorgdepth */ | ||||
static const int DEFAULT_MAX_REORG_DEPTH = 10; | static const int DEFAULT_MAX_REORG_DEPTH = 10; | ||||
/** | |||||
* Default for -finalizationdelay in seconds. | |||||
* This is the delay after IBD completes before we will start finalizing blocks. | |||||
*/ | |||||
static const int DEFAULT_FINALIZATION_DELAY = 2 * 60 * 60; | |||||
extern CScript COINBASE_FLAGS; | extern CScript COINBASE_FLAGS; | ||||
extern CCriticalSection cs_main; | extern CCriticalSection cs_main; | ||||
extern CTxMemPool g_mempool; | extern CTxMemPool g_mempool; | ||||
extern uint64_t nLastBlockTx; | extern uint64_t nLastBlockTx; | ||||
extern uint64_t nLastBlockSize; | extern uint64_t nLastBlockSize; | ||||
extern const std::string strMessageMagic; | extern const std::string strMessageMagic; | ||||
extern CWaitableCriticalSection g_best_block_mutex; | extern CWaitableCriticalSection g_best_block_mutex; | ||||
▲ Show 20 Lines • Show All 519 Lines • Show Last 20 Lines |