diff options
author | Ivan Metlushko <metlushko@gmail.com> | 2020-07-19 14:31:51 +0700 |
---|---|---|
committer | Ivan Metlushko <metlushko@gmail.com> | 2020-07-29 16:36:44 +0700 |
commit | a316e9ce265212a7c6c4ef7922420f6ecba9e7b0 (patch) | |
tree | 1520d2825059fd44380bbf3f17605f4ca0dc4b04 /src/chainparamsbase.h | |
parent | 2f71a1ea35667b3873197201531e7ae198ec5bf4 (diff) |
refactor: add unused ArgsManager to replace gArgs
Diffstat (limited to 'src/chainparamsbase.h')
-rw-r--r-- | src/chainparamsbase.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h index 3c139931ea..1c52d0ea97 100644 --- a/src/chainparamsbase.h +++ b/src/chainparamsbase.h @@ -8,6 +8,8 @@ #include <memory> #include <string> +class ArgsManager; + /** * CBaseChainParams defines the base parameters (shared between bitcoin-cli and bitcoind) * of a given instance of the Bitcoin system. @@ -43,7 +45,7 @@ std::unique_ptr<CBaseChainParams> CreateBaseChainParams(const std::string& chain /** *Set the arguments for chainparams */ -void SetupChainParamsBaseOptions(); +void SetupChainParamsBaseOptions(ArgsManager& argsman); /** * Return the currently selected parameters. This won't change after app |