diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2017-07-06 14:08:23 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2017-09-06 19:32:04 -0400 |
commit | 80e2e9d0cec890c5d2f81360ebb81e81c07ccb8c (patch) | |
tree | aa0cdef4b62b87bc9832b30efb75c7b0e177ba2f /src/net_processing.h | |
parent | 8ad663c1fa88d68843e45580deced56112343183 (diff) |
net: drop unused connman param
The copy in PeerLogicValidation can be used instead.
Diffstat (limited to 'src/net_processing.h')
-rw-r--r-- | src/net_processing.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/net_processing.h b/src/net_processing.h index d79b74fcb7..79745cdd42 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -35,19 +35,18 @@ public: void NewPoWValidBlock(const CBlockIndex *pindex, const std::shared_ptr<const CBlock>& pblock) override; - void InitializeNode(CNode* pnode, CConnman* connman) override; + void InitializeNode(CNode* pnode) override; void FinalizeNode(NodeId nodeid, bool& fUpdateConnectionTime) override; /** Process protocol messages received from a given node */ - bool ProcessMessages(CNode* pfrom, CConnman* connman, std::atomic<bool>& interrupt) override; + bool ProcessMessages(CNode* pfrom, std::atomic<bool>& interrupt) override; /** * Send queued protocol messages to be sent to a give node. * * @param[in] pto The node which we are sending messages to. - * @param[in] connman The connection manager for that node. * @param[in] interrupt Interrupt condition for processing threads * @return True if there is more work to be done */ - bool SendMessages(CNode* pto, CConnman* connman, std::atomic<bool>& interrupt) override; + bool SendMessages(CNode* pto, std::atomic<bool>& interrupt) override; }; struct CNodeStateStats { |