24template<
typename T, T x>
27 using U =
typename std::underlying_type<T>::type;
28 return x == std::numeric_limits<U>::min();
31static_assert(is_minimum<Consensus::BuriedDeployment, Consensus::DEPLOYMENT_HEIGHTINCB>(),
"heightincb is not minimum value for BuriedDeployment");
32static_assert(is_minimum<Consensus::DeploymentPos, Consensus::DEPLOYMENT_TESTDUMMY>(),
"testdummy is not minimum value for DeploymentPos");
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...