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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/node/context.h') 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