Page MenuHomePhabricator

Introduce DummyDatabase and use it in the tests
ClosedPublic

Authored by PiRK on Sep 6 2021, 14:27.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC636082e6d6ca: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable