26template<
typename T, T x>
29 using U =
typename std::underlying_type<T>::type;
30 return x == std::numeric_limits<U>::min();
33static_assert(is_minimum<Consensus::BuriedDeployment, Consensus::DEPLOYMENT_HEIGHTINCB>(),
"heightincb is not minimum value for BuriedDeployment");
34static_assert(is_minimum<Consensus::DeploymentPos, Consensus::DEPLOYMENT_TESTDUMMY>(),
"testdummy is not minimum value for DeploymentPos");
BIP 9 allows multiple softforks to be deployed in parallel.
VersionBitsCache g_versionbitscache
Global cache for versionbits deployment status.
static constexpr bool is_minimum()
constexpr bool ValidDeployment(BuriedDeployment dep)
@ MAX_VERSION_BITS_DEPLOYMENTS
BuriedDeployment
A buried deployment is one where the height of the activation has been hardcoded into the client impl...