From 7c8b6e5b5206a98f86675d0107ad99ea1d080466 Mon Sep 17 00:00:00 2001 From: Amiti Uttarwar Date: Wed, 12 Feb 2020 11:08:28 -0800 Subject: [lib] add scheduler to node context - also update test setup & access point in denial of service test --- src/node/context.cpp | 1 + src/node/context.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/node') diff --git a/src/node/context.cpp b/src/node/context.cpp index 26a01420c8..5b19a41bd4 100644 --- a/src/node/context.cpp +++ b/src/node/context.cpp @@ -8,6 +8,7 @@ #include #include #include +#include NodeContext::NodeContext() {} NodeContext::~NodeContext() {} diff --git a/src/node/context.h b/src/node/context.h index dab5b5d048..1c592b456b 100644 --- a/src/node/context.h +++ b/src/node/context.h @@ -10,6 +10,7 @@ class BanMan; class CConnman; +class CScheduler; class CTxMemPool; class PeerLogicValidation; namespace interfaces { @@ -34,6 +35,7 @@ struct NodeContext { std::unique_ptr banman; std::unique_ptr chain; std::vector> chain_clients; + std::unique_ptr scheduler; //! Declare default constructor and destructor that are not inline, so code //! instantiating the NodeContext struct doesn't need to #include class -- cgit v1.2.3