| 4767 | } |
| 4768 | |
| 4769 | bool IsWitnessEnabled(const CBlockIndex* pindexPrev, const Consensus::Params& params) |
| 4770 | { |
| 4771 | //LOCK(cs_main); |
| 4772 | return (VersionBitsState(pindexPrev, params, Consensus::DEPLOYMENT_SEGWIT, versionbitscache) == THRESHOLD_ACTIVE); |
| 4773 | } |
| 4774 | |
| 4775 | bool AcceptBlockHeader(const CBlock& block, CValidationState& state, const CChainParams& chainparams, CBlockIndex** ppindex) |
| 4776 | { |
no test coverage detected