HomePhabricator

[wallet] Clarify wallet initialization / destruction interface

Description

[wallet] Clarify wallet initialization / destruction interface

Summary:
All wallet component initialization/destruction functions are now in their own wallet/init.cpp translation unit and are no longer static functions on the CWallet class. The bitcoin_server also no longer has any knowledge that there are multiple wallets in vpwallet.

There should be no changes in behavior from this PR.

Backport of core PR10767

Test Plan:

make check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity, schancel

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Aug 29 2017, 15:48
FabienCommitted on Dec 7 2018, 20:52
FabienPushed on Dec 7 2018, 20:52
Reviewer
Restricted Project
Differential Revision
D2180: [wallet] Clarify wallet initialization / destruction interface
Parents
rABC7cc44b87c1f3: Fix undefined behaviour errors due to long int overflow in Amount
Branches
Unknown
Tags
Unknown