Bitcoin Core 28.99.0
P2P Digital Currency
deploymentinfo.h
Go to the documentation of this file.
1// Copyright (c) 2016-2021 The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5#ifndef BITCOIN_DEPLOYMENTINFO_H
6#define BITCOIN_DEPLOYMENTINFO_H
7
8#include <consensus/params.h>
9
10#include <optional>
11#include <string>
12
15 const char *name;
18};
19
21
23
25{
28}
29
30std::optional<Consensus::BuriedDeployment> GetBuriedDeployment(const std::string_view deployment_name);
31
32#endif // BITCOIN_DEPLOYMENTINFO_H
const VBDeploymentInfo VersionBitsDeploymentInfo[Consensus::MAX_VERSION_BITS_DEPLOYMENTS]
std::string DeploymentName(Consensus::BuriedDeployment dep)
std::optional< Consensus::BuriedDeployment > GetBuriedDeployment(const std::string_view deployment_name)
constexpr bool ValidDeployment(BuriedDeployment dep)
Definition: params.h:30
DeploymentPos
Definition: params.h:32
@ MAX_VERSION_BITS_DEPLOYMENTS
Definition: params.h:36
BuriedDeployment
A buried deployment is one where the height of the activation has been hardcoded into the client impl...
Definition: params.h:22
bool gbt_force
Whether GBT clients can safely ignore this rule in simplified usage.
const char * name
Deployment name.
assert(!tx.IsCoinBase())