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
// check backwards from the tip if we have all block data until we reach the indexes bestblock
91
+
while (block_to_test && block->pprev && (block->pprev->nStatus & BLOCK_HAVE_DATA)) {
92
+
if (block_to_test == block) {
93
+
prune_violation = false;
94
+
break;
95
+
}
96
+
block = block->pprev;
97
+
}
98
+
}
99
+
if (prune_violation) {
100
+
// throw error and graceful shutdown if we can't build the index
101
+
FatalError("%s: %s best block of the index goes beyond pruned data. Please disable the index or reindex (which will download the whole blockchain again)", __func__, GetName());
0 commit comments