Whether a deployment is enabled in the consensus rules, resolved via ChainstateManager.
Declared in <validation.h>
template<typename DEP>
bool
DeploymentEnabled(
ChainstateManager const& chainman,
DEP dep);
true if the deployment is enabled.
| Name | Description |
|---|---|
| chainman | The chainstate manager providing consensus parameters. |
| dep | The deployment to query. |