[net processing] Move PushNodeVersion into PeerManager

This commit is contained in:
John Newbery
2020-10-22 10:53:22 +01:00
parent 7212db4d2a
commit 5805b8299f
2 changed files with 33 additions and 30 deletions

View File

@@ -186,6 +186,9 @@ private:
void AddTxAnnouncement(const CNode& node, const GenTxid& gtxid, std::chrono::microseconds current_time)
EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
/** Send a version message to a peer */
void PushNodeVersion(CNode& pnode, int64_t nTime);
const CChainParams& m_chainparams;
CConnman& m_connman;
/** Pointer to this node's banman. May be nullptr - check existence before dereferencing. */