aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2020-12-22 16:54:18 -0800
committerAmiti Uttarwar <amiti@uttarwar.org>2020-12-26 13:30:54 -0800
commitb1a936d4ae7dd9030b0720ef05579a90ce2894f1 (patch)
tree15d237a7aa5e20bbcc15ca97366a9ae2c00a2eec /src/net.h
parent094c3beaa47c909070607e94f2544ed1472ddb17 (diff)
downloadbitcoin-b1a936d4ae7dd9030b0720ef05579a90ce2894f1.tar.xz
[rpc] Remove deprecated "whitelisted" field from getpeerinfo
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net.h b/src/net.h
index be9cf742e4..7c396a99cf 100644
--- a/src/net.h
+++ b/src/net.h
@@ -710,7 +710,6 @@ public:
uint64_t nRecvBytes;
mapMsgCmdSize mapRecvBytesPerMsgCmd;
NetPermissionFlags m_permissionFlags;
- bool m_legacyWhitelisted;
int64_t m_ping_usec;
int64_t m_ping_wait_usec;
int64_t m_min_ping_usec;
@@ -891,8 +890,6 @@ public:
bool HasPermission(NetPermissionFlags permission) const {
return NetPermissions::HasFlag(m_permissionFlags, permission);
}
- // This boolean is unusued in actual processing, only present for backward compatibility at RPC/QT level
- bool m_legacyWhitelisted{false};
bool fClient{false}; // set by version message
bool m_limited_node{false}; //after BIP159, set by version message
/**