Directly include NodeContext instead of defining it

Rather than defining that NodeContext is defined fully elsewhere, actually include node/context.h into src/wallet/context.h for details.
This commit is contained in:
Ross Nicoll 2021-06-07 20:49:06 +01:00
parent 39a231053a
commit 1de71358f7

View file

@ -5,13 +5,13 @@
#ifndef BITCOIN_WALLET_CONTEXT_H
#define BITCOIN_WALLET_CONTEXT_H
#include <node/context.h>
class ArgsManager;
namespace interfaces {
class Chain;
} // namespace interfaces
struct NodeContext;
//! WalletContext struct containing references to state shared between CWallet
//! instances, like the reference to the chain interface, and the list of opened
//! wallets.