diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2020-07-28 13:17:16 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2020-08-07 17:18:16 -0700 |
commit | 7b322df6296609570e368e5f326979279041c11f (patch) | |
tree | 99082a5d746bd26d1affdc152596dbbe25301e09 /src/net.h | |
parent | 14923422b08ac4b21b35c426bf0e1b9e7c97983b (diff) |
[net/refactor] Remove m_addr_fetch member var from CNode
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -775,7 +775,6 @@ public: } // This boolean is unusued in actual processing, only present for backward compatibility at RPC/QT level bool m_legacyWhitelisted{false}; - bool m_addr_fetch{false}; bool fClient{false}; // set by version message bool m_limited_node{false}; //after BIP159, set by version message const bool fInbound; @@ -799,6 +798,10 @@ public: return m_conn_type == ConnectionType::FEELER; } + bool IsAddrFetchConn() const { + return m_conn_type == ConnectionType::ADDR_FETCH; + } + protected: mapMsgCmdSize mapSendBytesPerMsgCmd; mapMsgCmdSize mapRecvBytesPerMsgCmd GUARDED_BY(cs_vRecv); |