HomePhabricator

Expose a version of ReadKeyValue and use it in RecoverKeysOnlyFilter

Description

Expose a version of ReadKeyValue and use it in RecoverKeysOnlyFilter

Summary:

We need this exposed for BerkeleyBatch::Recover to be moved out.

Partial backport (7/11) of core PR18918:
https://github.com/bitcoin/bitcoin/pull/18918/commits/2741774214168eb287c7066d6823afe5e570381d

Depends on D8593.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on May 15 2020, 23:15
FabienCommitted on Dec 7 2020, 08:33
FabienPushed on Dec 7 2020, 08:35
Reviewer
Restricted Project
Differential Revision
D8594: Expose a version of ReadKeyValue and use it in RecoverKeysOnlyFilter
Parents
rABCe4b696038a82: Move BerkeleyEnvironment::Salvage into BerkeleyBatch::Recover
Branches
Unknown
Tags
Unknown