Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2019 The Bitcoin Core developers | ||||
// Copyright (c) 2017-2020 The Bitcoin developers | // Copyright (c) 2017-2020 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_VALIDATION_H | #ifndef BITCOIN_VALIDATION_H | ||||
#define BITCOIN_VALIDATION_H | #define BITCOIN_VALIDATION_H | ||||
#if defined(HAVE_CONFIG_H) | #if defined(HAVE_CONFIG_H) | ||||
▲ Show 20 Lines • Show All 163 Lines • ▼ Show 20 Lines | |||||
* 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 CScript COINBASE_FLAGS; | ||||
extern RecursiveMutex cs_main; | extern RecursiveMutex cs_main; | ||||
extern CTxMemPool g_mempool; | extern CTxMemPool g_mempool; | ||||
extern uint64_t nLastBlockTx; | |||||
extern uint64_t nLastBlockSize; | |||||
extern const std::string strMessageMagic; | extern const std::string strMessageMagic; | ||||
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; | ||||
extern int nScriptCheckThreads; | extern int nScriptCheckThreads; | ||||
extern bool fIsBareMultisigStd; | extern bool fIsBareMultisigStd; | ||||
▲ Show 20 Lines • Show All 624 Lines • Show Last 20 Lines |