Page MenuHomePhabricator

wallet: Add AddWallet, RemoveWallet, GetWallet and GetWallets
ClosedPublic

Authored by deadalnix on Jun 30 2019, 23:43.

Details

Summary

With these new functions all vpwallets usage are removed
and vpwallets is now a static variable (no external linkage).

This is a partial backport of Core PR13017 : https://github.com/bitcoin/bitcoin/pull/13017/commits/373aee26c3df233f4e0a7e806f45ac7cb5aab1e6

Depends on D3486 and D3487

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
walletutil
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6573
Build 11193: Bitcoin ABC Buildbot (legacy)
Build 11192: arc lint + arc unit

Event Timeline

Fabien requested changes to this revision.Jul 1 2019, 08:47
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/wallet/wallet.cpp
51

Braces

60

Dito

71

Dito

This revision now requires changes to proceed.Jul 1 2019, 08:47
This revision is now accepted and ready to land.Jul 1 2019, 13:01