diff options
| author | Ivan Metlushko <[email protected]> | 2020-07-19 14:31:51 +0700 |
|---|---|---|
| committer | Ivan Metlushko <[email protected]> | 2020-07-29 16:36:44 +0700 |
| commit | a316e9ce265212a7c6c4ef7922420f6ecba9e7b0 (patch) | |
| tree | 1520d2825059fd44380bbf3f17605f4ca0dc4b04 /src/chainparamsbase.h | |
| parent | Merge #18637: coins: allow cache resize after init (diff) | |
| download | discoin-a316e9ce265212a7c6c4ef7922420f6ecba9e7b0.tar.xz discoin-a316e9ce265212a7c6c4ef7922420f6ecba9e7b0.zip | |
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 3c139931e..1c52d0ea9 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 |