Bitcoin ABC  0.26.3
P2P Digital Currency
Functions
deploymentstatus.cpp File Reference
#include <consensus/params.h>
#include <type_traits>
Include dependency graph for deploymentstatus.cpp:

Go to the source code of this file.

Functions

template<typename T , T x>
static constexpr bool is_minimum ()
 ValidDeployment only checks upper bounds for ensuring validity. More...
 

Function Documentation

◆ is_minimum()

template<typename T , T x>
static constexpr bool is_minimum ( )
staticconstexpr

ValidDeployment only checks upper bounds for ensuring validity.

This checks that the lowest possible value or the type is also a (specific) valid deployment so that lower bounds don't need to be checked.

Definition at line 15 of file deploymentstatus.cpp.