HomePhabricator

wallet: Remove Verify and IsLoaded methods

Description

wallet: Remove Verify and IsLoaded methods

Summary:
Checks are now consolidated in MakeBerkeleyDatabase function instead of
happening in higher level code.

This commit does not change behavior except for error messages which now
include more complete information.

This is a backport of core#19619 [4/8]
https://github.com/bitcoin/bitcoin/pull/19619/commits/3c815cfe54087fd139169161d2fd175e99840e6a

Depends on D10226

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Russell Yanofsky <russ@yanofsky.org>Authored on Aug 4 2020, 23:33
PiRKCommitted on Oct 5 2021, 08:47
PiRKPushed on Oct 5 2021, 08:47
Reviewer
Restricted Project
Differential Revision
D10227: wallet: Remove Verify and IsLoaded methods
Parents
rABC97efc9047ebf: refactor: Use DatabaseStatus and DatabaseOptions types
Branches
Unknown
Tags
Unknown