aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/context.h')
-rw-r--r--src/wallet/context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/context.h b/src/wallet/context.h
index a83591154..8e96c8933 100644
--- a/src/wallet/context.h
+++ b/src/wallet/context.h
@@ -5,6 +5,8 @@
#ifndef BITCOIN_WALLET_CONTEXT_H
#define BITCOIN_WALLET_CONTEXT_H
+#include <node/context.h>
+
class ArgsManager;
namespace interfaces {
class Chain;
@@ -24,6 +26,9 @@ struct WalletContext {
interfaces::Chain* chain{nullptr};
ArgsManager* args{nullptr};
+ //! Dogecoin: getauxwork is a wallet RPC but actually needs the NodeContext.
+ NodeContext* nodeContext{nullptr};
+
//! Declare default constructor and destructor that are not inline, so code
//! instantiating the WalletContext struct doesn't need to #include class
//! definitions for smart pointer and container members.