You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Iterate over the entire block tree, using depth-first search.
5299
5299
// Along the way, remember whether there are blocks on the path from genesis
5300
5300
// block being explored which are the first to have certain properties.
5301
5301
size_t nNodes = 0;
5302
5302
int nHeight = 0;
5303
-
CBlockIndex* pindexFirstInvalid = nullptr; // Oldest ancestor of pindex which is invalid.
5304
-
CBlockIndex* pindexFirstMissing = nullptr; // Oldest ancestor of pindex which does not have BLOCK_HAVE_DATA, since assumeutxo snapshot if used.
5305
-
CBlockIndex* pindexFirstNeverProcessed = nullptr; // Oldest ancestor of pindex for which nTx == 0, since assumeutxo snapshot if used.
5306
-
CBlockIndex* pindexFirstNotTreeValid = nullptr; // Oldest ancestor of pindex which does not have BLOCK_VALID_TREE (regardless of being valid or not).
5307
-
CBlockIndex* pindexFirstNotTransactionsValid = nullptr; // Oldest ancestor of pindex which does not have BLOCK_VALID_TRANSACTIONS (regardless of being valid or not), since assumeutxo snapshot if used.
5308
-
CBlockIndex* pindexFirstNotChainValid = nullptr; // Oldest ancestor of pindex which does not have BLOCK_VALID_CHAIN (regardless of being valid or not), since assumeutxo snapshot if used.
5309
-
CBlockIndex* pindexFirstNotScriptsValid = nullptr; // Oldest ancestor of pindex which does not have BLOCK_VALID_SCRIPTS (regardless of being valid or not), since assumeutxo snapshot if used.
5303
+
constCBlockIndex* pindexFirstInvalid = nullptr;// Oldest ancestor of pindex which is invalid.
5304
+
constCBlockIndex* pindexFirstMissing = nullptr;// Oldest ancestor of pindex which does not have BLOCK_HAVE_DATA, since assumeutxo snapshot if used.
5305
+
constCBlockIndex* pindexFirstNeverProcessed = nullptr;// Oldest ancestor of pindex for which nTx == 0, since assumeutxo snapshot if used.
5306
+
constCBlockIndex* pindexFirstNotTreeValid = nullptr;// Oldest ancestor of pindex which does not have BLOCK_VALID_TREE (regardless of being valid or not).
5307
+
constCBlockIndex* pindexFirstNotTransactionsValid = nullptr; // Oldest ancestor of pindex which does not have BLOCK_VALID_TRANSACTIONS (regardless of being valid or not), since assumeutxo snapshot if used.
5308
+
constCBlockIndex* pindexFirstNotChainValid = nullptr;// Oldest ancestor of pindex which does not have BLOCK_VALID_CHAIN (regardless of being valid or not), since assumeutxo snapshot if used.
5309
+
constCBlockIndex* pindexFirstNotScriptsValid = nullptr;// Oldest ancestor of pindex which does not have BLOCK_VALID_SCRIPTS (regardless of being valid or not), since assumeutxo snapshot if used.
5310
5310
5311
5311
// After checking an assumeutxo snapshot block, reset pindexFirst pointers
5312
5312
// to earlier blocks that have not been downloaded or validated yet, so
5313
5313
// checks for later blocks can assume the earlier blocks were validated and
0 commit comments