HomePhabricator

Move RecoverDatabaseFile and RecoverKeysOnlyFilter into salvage.{cpp/h}

Description

Move RecoverDatabaseFile and RecoverKeysOnlyFilter into salvage.{cpp/h}

Summary:
Partial backport (9/11) of core PR18918:
https://github.com/bitcoin/bitcoin/pull/18918/commits/9ea2d258b46e8a9776100633585ed0feede5c2a4

Depends on D8595.

The DBKeys declaration are added to the walletdb.h file to make them
available for salvage.cpp, see D7020.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on May 15 2020, 23:37
FabienCommitted on Dec 7 2020, 08:35
FabienPushed on Dec 7 2020, 08:36
Reviewer
Restricted Project
Differential Revision
D8596: Move RecoverDatabaseFile and RecoverKeysOnlyFilter into salvage.{cpp/h}
Parents
rABC61875704dabb: Make BerkeleyBatch::Recover and WalletBatch::RecoverKeysOnlyFilter standalone
Branches
Unknown
Tags
Unknown