MCPcopy Create free account
hub / github.com/ElementsProject/elements / testBlockValidity

Method testBlockValidity

src/node/interfaces.cpp:732–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730 return active.Tip();
731 }
732 bool testBlockValidity(BlockValidationState& state, const CChainParams& chainparams, const CBlock& block, CBlockIndex* pindexPrev, bool fCheckPOW, bool fCheckMerkleRoot) override {
733 LOCK(::cs_main);
734 Assert(m_node.chainman);
735 return TestBlockValidity(state, chainparams, m_node.chainman->ActiveChainstate(), block, pindexPrev, fCheckPOW, fCheckMerkleRoot);
736 }
737// end ELEMENTS
738 NodeContext& m_node;
739};

Callers 1

signblockFunction · 0.80

Calls 1

TestBlockValidityFunction · 0.85

Tested by

no test coverage detected