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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.