HomePhabricator

wallettool: Have RecoverDatabaseFile return errors and warnings

Description

wallettool: Have RecoverDatabaseFile return errors and warnings

Summary:
Instead of logging or printing these errors and warnings, return them to
the caller.

This is a backport of core#19457 [2/3]
https://github.com/bitcoin/bitcoin/pull/19457/commits/9f536d4fe949666f14a0bf5b814522cecde71f56

Depends on D9640

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Jul 6 2020, 18:34
PiRKCommitted on Jun 8 2021, 08:06
PiRKPushed on Jun 8 2021, 08:06
Reviewer
Restricted Project
Differential Revision
D9641: wallettool: Have RecoverDatabaseFile return errors and warnings
Parents
rABC7e286043e41a: walletdb: Don't remove database transaction logs and instead error
Branches
Unknown
Tags
Unknown