HomePhabricator

validation: report if pruning prevents completion of verification

Description

validation: report if pruning prevents completion of verification

Summary:
Now the verifychain RPC returns false if the checks didn't
finish because the blocks requested to be queried have been pruned.

This is a partial backport of core#25574
https://github.com/bitcoin/bitcoin/pull/25574/commits/57ef2a4812f443b2d734f43cebf3ef5038da83f2

Depends on D14928

Test Plan: ninja && ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D14929

Details

Provenance
Martin Zumsande <mzumsande@gmail.com>Authored on Feb 6 2023, 20:05
PiRKCommitted on Dec 7 2023, 16:25
PiRKPushed on Dec 7 2023, 16:25
Reviewer
Restricted Project
Differential Revision
D14929: validation: report if pruning prevents completion of verification
Parents
rABCe90d77d8a4f0: init, validation: Improve handling if VerifyDB() fails due to insufficient…
Branches
Unknown
Tags
Unknown