mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-08 19:53:27 +01:00
Add src/node/* code to node:: namespace
This commit is contained in:
@@ -32,8 +32,10 @@ class proxyType;
|
||||
enum class SynchronizationState;
|
||||
enum class TransactionError;
|
||||
struct CNodeStateStats;
|
||||
struct NodeContext;
|
||||
struct bilingual_str;
|
||||
namespace node {
|
||||
struct NodeContext;
|
||||
} // namespace node
|
||||
|
||||
namespace interfaces {
|
||||
class Handler;
|
||||
@@ -242,12 +244,12 @@ public:
|
||||
|
||||
//! Get and set internal node context. Useful for testing, but not
|
||||
//! accessible across processes.
|
||||
virtual NodeContext* context() { return nullptr; }
|
||||
virtual void setContext(NodeContext* context) { }
|
||||
virtual node::NodeContext* context() { return nullptr; }
|
||||
virtual void setContext(node::NodeContext* context) { }
|
||||
};
|
||||
|
||||
//! Return implementation of Node interface.
|
||||
std::unique_ptr<Node> MakeNode(NodeContext& context);
|
||||
std::unique_ptr<Node> MakeNode(node::NodeContext& context);
|
||||
|
||||
//! Block tip (could be a header or not, depends on the subscribed signal).
|
||||
struct BlockTip {
|
||||
|
||||
Reference in New Issue
Block a user