Page MenuHomePhabricator

Create walletdir if datadir doesn't exist and fix tests
ClosedPublic

Authored by Fabien on Jan 15 2019, 11:56.

Details

Summary

Wallet dir defaults to <data_dir>/wallets/ if the data directory does
not exist.

Backport 3/4 of core PR11466 (most of commit 8263f6a)

Depends on D2314

Test Plan
make check

Run the following commands (warning, will rm your local bitcoin data dir
!):

rm -Rf ~/.bitcoin
bitcoind

Check the directory ~/.bitcoin/wallets has been created

./test/functional/test_runner.py keypool-topup multiwallet wallet_hd

walletbackup

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR11466_part4
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4527
Build 7117: Bitcoin ABC Buildbot (legacy)
Build 7116: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 15 2019, 13:09
This revision was automatically updated to reflect the committed changes.