HomePhabricator

Introduce DummyDatabase and use it in the tests

Description

Introduce DummyDatabase and use it in the tests

Summary:
Note: the #include <util/memory.h> is unnecessary because we use
std::make_unique rather than MakeUnique.

This is a backport of core#19102 [1/3]
https://github.com/bitcoin/bitcoin/pull/19102/commits/0103d6434ea9d155259b40575008239a3762d6f7

Depends on D10038

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on May 28 2020, 21:26
PiRKCommitted on Sep 6 2021, 16:04
PiRKPushed on Sep 6 2021, 16:04
Reviewer
Restricted Project
Differential Revision
D10048: Introduce DummyDatabase and use it in the tests
Parents
rABC5cbb600772e0: walletdb: Remove BerkeleyBatch friend class from BerkeleyDatabase
Branches
Unknown
Tags
Unknown