diff options
author | John Newbery <john@johnnewbery.com> | 2020-10-22 10:53:22 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2020-12-09 18:09:42 +0000 |
commit | 5805b8299f8f4943114de53c4dc09fc2dd9e270b (patch) | |
tree | 07963f99a53fffbfbbafb12cfe07e62c9d85cbc0 /src/net_processing.h | |
parent | 7212db4d2a558cf1658cd9173fa4941dcea983cc (diff) |
[net processing] Move PushNodeVersion into PeerManager
Diffstat (limited to 'src/net_processing.h')
-rw-r--r-- | src/net_processing.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net_processing.h b/src/net_processing.h index c179b89ebe..1dedcf3b98 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -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. */ |