mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 03:02:37 +02:00
refactor: add unused ArgsManager to replace gArgs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user