aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2020-05-12 12:58:41 -0700
committerAmiti Uttarwar <amiti@uttarwar.org>2020-08-07 17:18:16 -0700
commit14923422b08ac4b21b35c426bf0e1b9e7c97983b (patch)
tree678645398fc7e75093828cb8200e7ca9fed2ae3b /src/net.h
parent49efac5cae7333c6700d9b737d09fae0f3f4d7fa (diff)
downloadbitcoin-14923422b08ac4b21b35c426bf0e1b9e7c97983b.tar.xz
[net/refactor] Remove fFeeler flag from CNode
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 0c6e939771..f4fd33ec95 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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);