HomePhabricator

scripted-diff: Replace WalletDatabase::Create* with CreateWalletDatabase

Description

scripted-diff: Replace WalletDatabase::Create* with CreateWalletDatabase

Summary:

-BEGIN VERIFY SCRIPT-
sed -i -e 's/WalletDatabase::Create(/CreateWalletDatabase(/g' `git grep -l "WalletDatabase::Create("`
sed -i -e 's/WalletDatabase::CreateDummy(/CreateDummyWalletDatabase(/g' `git grep -l "WalletDatabase::CreateDummy("`
sed -i -e 's/WalletDatabase::CreateMock(/CreateMockWalletDatabase(/g' `git grep -l "WalletDatabase::CreateMock("`
arc lint
-END VERIFY SCRIPT-

This is a partial backport of core#19310 [2/3]
Can be compared with https://github.com/bitcoin/bitcoin/pull/19310/commits/d6045d0ac615b5984b72e83cb25aa8a245a177a0

Backport note: I ran the script rather than cherry-picking the commit.

Depends on D9619

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
PiRKAuthored on Jun 1 2021, 15:48
PiRKPushed on Jun 2 2021, 06:11
Reviewer
Restricted Project
Differential Revision
D9620: scripted-diff: Replace WalletDatabase::Create* with CreateWalletDatabase
Parents
rABC4e3282e343e6: Add Create*WalletDatabase functions
Branches
Unknown
Tags
Unknown