refactor: add unused ArgsManager to replace gArgs

This commit is contained in:
Ivan Metlushko
2020-07-19 14:31:51 +07:00
parent 2f71a1ea35
commit a316e9ce26
10 changed files with 28 additions and 23 deletions

View File

@@ -5,6 +5,8 @@
#ifndef BITCOIN_WALLETINITINTERFACE_H
#define BITCOIN_WALLETINITINTERFACE_H
class ArgsManager;
struct NodeContext;
class WalletInitInterface {
@@ -12,7 +14,7 @@ public:
/** Is the wallet component enabled */
virtual bool HasWalletSupport() const = 0;
/** Get wallet help string */
virtual void AddWalletOptions() const = 0;
virtual void AddWalletOptions(ArgsManager& argsman) const = 0;
/** Check wallet parameter interaction */
virtual bool ParameterInteraction() const = 0;
/** Add wallets that should be opened to list of chain clients. */