From 57ef2a4812f443b2d734f43cebf3ef5038da83f2 Mon Sep 17 00:00:00 2001 From: Martin Zumsande Date: Mon, 6 Feb 2023 15:05:33 -0500 Subject: 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. --- src/validation.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/validation.h') 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 */ -- cgit v1.2.3