aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorMartin Zumsande <mzumsande@gmail.com>2023-02-06 15:05:33 -0500
committerMartin Zumsande <mzumsande@gmail.com>2023-02-16 17:58:52 -0500
commit57ef2a4812f443b2d734f43cebf3ef5038da83f2 (patch)
tree4a6adc2b45ff7e36e47e6d5b97e03ee4f3c9b43d /src/validation.h
parent0c7785bb2540b69564104767d38342704230cbc2 (diff)
downloadbitcoin-57ef2a4812f443b2d734f43cebf3ef5038da83f2.tar.xz
validation: report if pruning prevents completion of verification
Now the verifychain RPC returns false if the checks didn't finish because the blocks requested to be queried have been pruned.
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/validation.h b/src/validation.h
index 044b4ef823..65f59ab2c2 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -354,6 +354,7 @@ enum class VerifyDBResult {
CORRUPTED_BLOCK_DB,
INTERRUPTED,
SKIPPED_L3_CHECKS,
+ SKIPPED_MISSING_BLOCKS,
};
/** RAII wrapper for VerifyDB: Verify consistency of the block and coin databases */