Changeset View
Changeset View
Standalone View
Standalone View
src/consensus/activation.h
// Copyright (c) 2018-2019 The Bitcoin developers | // Copyright (c) 2018-2019 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_CONSENSUS_ACTIVATION_H | #ifndef BITCOIN_CONSENSUS_ACTIVATION_H | ||||
#define BITCOIN_CONSENSUS_ACTIVATION_H | #define BITCOIN_CONSENSUS_ACTIVATION_H | ||||
#include <cstdint> | #include <cstdint> | ||||
class CBlockIndex; | class CBlockIndex; | ||||
class Config; | |||||
namespace Consensus { | namespace Consensus { | ||||
struct Params; | struct Params; | ||||
} | } | ||||
/** Check if UAHF has activated. */ | /** Check if UAHF has activated. */ | ||||
bool IsUAHFenabled(const Consensus::Params ¶ms, | bool IsUAHFenabled(const Consensus::Params ¶ms, | ||||
const CBlockIndex *pindexPrev); | const CBlockIndex *pindexPrev); | ||||
Show All 20 Lines |