| 3368 | } |
| 3369 | |
| 3370 | bool IsWitnessEnabled(const CBlockIndex* pindexPrev, const Consensus::Params& params) |
| 3371 | { |
| 3372 | LOCK(cs_main); |
| 3373 | return (VersionBitsState(pindexPrev, params, Consensus::DEPLOYMENT_SEGWIT, versionbitscache) == ThresholdState::ACTIVE); |
| 3374 | } |
| 3375 | |
| 3376 | bool IsNullDummyEnabled(const CBlockIndex* pindexPrev, const Consensus::Params& params) |
| 3377 | { |
no test coverage detected