| 2658 | int Threshold(const Consensus::Params& params) const { return params.nRuleChangeActivationThreshold; } |
| 2659 | |
| 2660 | bool Condition(const CBlockIndex* pindex, const Consensus::Params& params) const |
| 2661 | { |
| 2662 | return ((pindex->nVersion & VERSIONBITS_TOP_MASK) == VERSIONBITS_TOP_BITS) && |
| 2663 | ((pindex->nVersion >> bit) & 1) != 0 && |
| 2664 | ((ComputeBlockVersion(pindex->pprev, params) >> bit) & 1) == 0; |
| 2665 | } |
| 2666 | }; |
| 2667 | |
| 2668 | ThresholdState VersionBitsTipState(const Consensus::Params& params, Consensus::DeploymentPos pos) |
nothing calls this directly
no test coverage detected