Page MenuHomePhabricator

[backport#17447] wallet: Make -walletdir network only
ClosedPublic

Authored by majcosta on Oct 1 2020, 15:03.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC4e8ce19c380e: [backport#17447] wallet: Make -walletdir network only
Summary

3c2c439dcd8797019ac6d6614775d5c20ee41c36 wallet: Make -walletdir network only (João Barbosa)

Pull request description:

With this PR `bitcoind -regtest` doesn't run if bitcoin.conf has
```
walletdir=/mnt/mydisk/wallets
```
But works with
```
[regtest]
walletdir=/mnt/mydisk/wallets
```

Doesn't change mainnet behavior.

Closes #15630.

Backport of Core PR17447

Test Plan
ninja all check check-functional

perform test in the summary

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

majcosta requested review of this revision.Oct 1 2020, 15:03

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Oct 1 2020, 15:06
This revision was landed with ongoing or failed builds.Oct 1 2020, 15:14
This revision was automatically updated to reflect the committed changes.