Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F10907668
activation.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
activation.h
View Options
// Copyright (c) 2018-2019 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CONSENSUS_ACTIVATION_H
#define BITCOIN_CONSENSUS_ACTIVATION_H
#include
<cstdint>
class
CBlockIndex
;
namespace
Consensus
{
struct
Params
;
}
/** Check if UAHF has activated. */
bool
IsUAHFenabled
(
const
Consensus
::
Params
&
params
,
const
CBlockIndex
*
pindexPrev
);
/** Check if DAA HF has activated. */
bool
IsDAAEnabled
(
const
Consensus
::
Params
&
params
,
const
CBlockIndex
*
pindexPrev
);
/** Check if Nov 15, 2018 HF has activated using block height. */
bool
IsMagneticAnomalyEnabled
(
const
Consensus
::
Params
&
params
,
int32_t
nHeight
);
/** Check if Nov 15, 2018 HF has activated using previous block index. */
bool
IsMagneticAnomalyEnabled
(
const
Consensus
::
Params
&
params
,
const
CBlockIndex
*
pindexPrev
);
/** Check if Nov 15th, 2019 protocol upgrade has activated. */
bool
IsGravitonEnabled
(
const
Consensus
::
Params
&
params
,
const
CBlockIndex
*
pindexPrev
);
/** Check if May 15th, 2020 protocol upgrade has activated. */
bool
IsPhononEnabled
(
const
Consensus
::
Params
&
params
,
const
CBlockIndex
*
pindexPrev
);
/** Check if November 15th, 2020 protocol upgrade has activated. */
bool
IsAxionEnabled
(
const
Consensus
::
Params
&
params
,
const
CBlockIndex
*
pindexPrev
);
#endif
// BITCOIN_CONSENSUS_ACTIVATION_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Mon, Nov 25, 08:09 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4510337
Default Alt Text
activation.h (1 KB)
Attached To
rSTAGING Bitcoin ABC staging
Event Timeline
Log In to Comment