A simple refactor as preparation for moving consensus to code for transaction validation.
Consensus shouldn’t depend on std::vector<CScriptCheck> *pvChecks
.
This is part of #6051 but can be merged independently.
506@@ -507,4 +507,10 @@ extern CCoinsViewCache *pcoinsTip;
507 /** Global variable that points to the active block tree (protected by cs_main) */
508 extern CBlockTreeDB *pblocktree;
509
510+/**
511+ * While checking, GetBestBlock() refers to the parent block. (protected by cs_main)
Labels
Refactoring