Determine if a deployment is active for this block */
| 28 | |
| 29 | /** Determine if a deployment is active for this block */ |
| 30 | inline bool DeploymentActiveAt(const CBlockIndex& index, const Consensus::Params& params, Consensus::BuriedDeployment dep) |
| 31 | { |
| 32 | assert(Consensus::ValidDeployment(dep)); |
| 33 | return index.nHeight >= params.DeploymentHeight(dep); |
| 34 | } |
| 35 | |
| 36 | inline bool DeploymentActiveAt(const CBlockIndex& index, const Consensus::Params& params, Consensus::DeploymentPos dep) |
| 37 | { |
no test coverage detected