mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 14:08:40 +01:00
Pass chain and client variables where needed
This commit does not change behavior. All it does is pass new function
parameters.
It is easiest to review this change with:
git log -p -n1 -U0 --word-diff-regex=.
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
class CScheduler;
|
||||
class CRPCTable;
|
||||
|
||||
namespace interfaces {
|
||||
class Chain;
|
||||
} // namespace interfaces
|
||||
|
||||
class WalletInitInterface {
|
||||
public:
|
||||
/** Is the wallet component enabled */
|
||||
@@ -21,9 +25,9 @@ public:
|
||||
/** Register wallet RPC*/
|
||||
virtual void RegisterRPC(CRPCTable &) const = 0;
|
||||
/** Verify wallets */
|
||||
virtual bool Verify() const = 0;
|
||||
virtual bool Verify(interfaces::Chain& chain) const = 0;
|
||||
/** Open wallets*/
|
||||
virtual bool Open() const = 0;
|
||||
virtual bool Open(interfaces::Chain& chain) const = 0;
|
||||
/** Start wallets*/
|
||||
virtual void Start(CScheduler& scheduler) const = 0;
|
||||
/** Flush Wallets*/
|
||||
|
||||
Reference in New Issue
Block a user