Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Lines | |||||
/** | /** | ||||
* Default for -finalizationdelay | * Default for -finalizationdelay | ||||
* This is the minimum time between a block header reception and the block | * This is the minimum time between a block header reception and the block | ||||
* finalization. | * finalization. | ||||
* This value should be >> block propagation and validation time | * This value should be >> block propagation and validation time | ||||
*/ | */ | ||||
static const int64_t DEFAULT_MIN_FINALIZATION_DELAY = 2 * 60 * 60; | static const int64_t DEFAULT_MIN_FINALIZATION_DELAY = 2 * 60 * 60; | ||||
extern CScript COINBASE_FLAGS; | |||||
extern RecursiveMutex cs_main; | extern RecursiveMutex cs_main; | ||||
extern CTxMemPool g_mempool; | extern CTxMemPool g_mempool; | ||||
typedef std::unordered_map<BlockHash, CBlockIndex *, BlockHasher> BlockMap; | typedef std::unordered_map<BlockHash, CBlockIndex *, BlockHasher> BlockMap; | ||||
extern Mutex g_best_block_mutex; | extern Mutex g_best_block_mutex; | ||||
extern std::condition_variable g_best_block_cv; | extern std::condition_variable g_best_block_cv; | ||||
extern uint256 g_best_block; | extern uint256 g_best_block; | ||||
extern std::atomic_bool fImporting; | extern std::atomic_bool fImporting; | ||||
extern std::atomic_bool fReindex; | extern std::atomic_bool fReindex; | ||||
▲ Show 20 Lines • Show All 947 Lines • Show Last 20 Lines |