|
|
|
@ -42,9 +42,14 @@
|
|
|
|
|
|
|
|
|
|
#include <boost/signals2/signal.hpp>
|
|
|
|
|
|
|
|
|
|
namespace interfaces {
|
|
|
|
|
namespace {
|
|
|
|
|
using interfaces::BlockTip;
|
|
|
|
|
using interfaces::Handler;
|
|
|
|
|
using interfaces::MakeHandler;
|
|
|
|
|
using interfaces::Node;
|
|
|
|
|
using interfaces::WalletClient;
|
|
|
|
|
|
|
|
|
|
namespace node {
|
|
|
|
|
namespace {
|
|
|
|
|
class NodeImpl : public Node
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
@ -295,9 +300,9 @@ public:
|
|
|
|
|
NodeContext* m_context{nullptr};
|
|
|
|
|
util::Ref m_context_ref;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
} // namespace node
|
|
|
|
|
|
|
|
|
|
std::unique_ptr<Node> MakeNode(NodeContext* context) { return MakeUnique<NodeImpl>(context); }
|
|
|
|
|
|
|
|
|
|
namespace interfaces {
|
|
|
|
|
std::unique_ptr<Node> MakeNode(NodeContext* context) { return MakeUnique<node::NodeImpl>(context); }
|
|
|
|
|
} // namespace interfaces
|