HomePhabricator

Move GetDataDir(fNetSpecific) implementation to ArgsManager.

Description

Move GetDataDir(fNetSpecific) implementation to ArgsManager.

Summary:
This is a backport of core#21244 [2/8]
https://github.com/bitcoin/bitcoin/pull/21244/commits/1add318704108faa98f5b1b8e9c96d960e9d23a8

Note: due to out of order backport, I also had to remove private: in setup_common.h which is otherwise removed in core#19806.
Depends on D10749

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Kiminuo <kiminuo@protonmail.com>Authored on Apr 8 2021, 21:15
PiRKCommitted on Jan 4 2022, 14:27
PiRKPushed on Jan 4 2022, 14:27
Reviewer
Restricted Project
Differential Revision
D10750: Move GetDataDir(fNetSpecific) implementation to ArgsManager.
Parents
rABC5257d17bbda2: Move StripRedundantLastElementsOfPath before ArgsManager class.
Branches
Unknown
Tags
Unknown