HomePhabricator

walletdb: refactor Read, Write, Erase, and Exists into non-template func

Description

walletdb: refactor Read, Write, Erase, and Exists into non-template func

Summary:
In order to override these later, the specific details of how the Read,
Write, Erase, and Exists functions interact with the actual database
file need to go into functions that are not templated.

This is a backport of core#19292

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Jun 15 2020, 19:42
PiRKCommitted on Jun 2 2021, 06:10
PiRKPushed on Jun 2 2021, 06:10
Reviewer
Restricted Project
Differential Revision
D9618: walletdb: refactor Read, Write, Erase, and Exists into non-template func
Parents
rABCd2dc6677dd61: [CashAddr] adds eCash prefixes to the node behind a -ecash CLI argument
Branches
Unknown
Tags
Unknown