diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2020-05-12 12:58:41 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2020-08-07 17:18:16 -0700 |
commit | 14923422b08ac4b21b35c426bf0e1b9e7c97983b (patch) | |
tree | 678645398fc7e75093828cb8200e7ca9fed2ae3b /src/net.h | |
parent | 49efac5cae7333c6700d9b737d09fae0f3f4d7fa (diff) | |
download | bitcoin-14923422b08ac4b21b35c426bf0e1b9e7c97983b.tar.xz |
[net/refactor] Remove fFeeler flag 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 fFeeler{false}; // If true this node is being used as a short lived feeler. bool m_addr_fetch{false}; bool fClient{false}; // set by version message bool m_limited_node{false}; //after BIP159, set by version message @@ -796,6 +795,10 @@ public: return m_conn_type == ConnectionType::MANUAL; } + bool IsFeelerConn() const { + return m_conn_type == ConnectionType::FEELER; + } + protected: mapMsgCmdSize mapSendBytesPerMsgCmd; mapMsgCmdSize mapRecvBytesPerMsgCmd GUARDED_BY(cs_vRecv); |