@@ -198,7 +198,11 @@ CBlockIndex* BlockManager::FindForkInGlobalIndex(const CChain& chain, const CBlo
198
198
199
199
std::unique_ptr<CBlockTreeDB> pblocktree;
200
200
201
- bool CheckInputScripts (const CTransaction& tx, TxValidationState& state, const CCoinsViewCache& inputs, unsigned int flags, bool cacheSigStore, bool cacheFullScriptStore, PrecomputedTransactionData& txdata, std::vector<CScriptCheck>* pvChecks = nullptr ) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
201
+ bool CheckInputScripts (const CTransaction& tx, TxValidationState& state,
202
+ const CCoinsViewCache& inputs, unsigned int flags, bool cacheSigStore,
203
+ bool cacheFullScriptStore, PrecomputedTransactionData& txdata,
204
+ std::vector<CScriptCheck>* pvChecks = nullptr )
205
+ EXCLUSIVE_LOCKS_REQUIRED(cs_main);
202
206
static FILE* OpenUndoFile (const FlatFilePos &pos, bool fReadOnly = false );
203
207
static FlatFileSeq BlockFileSeq ();
204
208
static FlatFileSeq UndoFileSeq ();
@@ -1450,7 +1454,10 @@ void InitScriptExecutionCache() {
1450
1454
*
1451
1455
* Non-static (and re-declared) in src/test/txvalidationcache_tests.cpp
1452
1456
*/
1453
- bool CheckInputScripts (const CTransaction& tx, TxValidationState& state, const CCoinsViewCache& inputs, unsigned int flags, bool cacheSigStore, bool cacheFullScriptStore, PrecomputedTransactionData& txdata, std::vector<CScriptCheck>* pvChecks)
1457
+ bool CheckInputScripts (const CTransaction& tx, TxValidationState& state,
1458
+ const CCoinsViewCache& inputs, unsigned int flags, bool cacheSigStore,
1459
+ bool cacheFullScriptStore, PrecomputedTransactionData& txdata,
1460
+ std::vector<CScriptCheck>* pvChecks)
1454
1461
{
1455
1462
if (tx.IsCoinBase ()) return true ;
1456
1463
0 commit comments