aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-07-20 14:45:20 +0100
committerdergoegge <n.goeggi@gmail.com>2022-07-14 14:48:41 +0200
commitf65e83d51bfb6a34f1d5efccfb3d8786a51a4534 (patch)
tree02d2e73683913bc661950347ef777974aaebef0f /src/net.h
parentfc5eb528f7d7b33e2f2e443c5610a1551c7f099b (diff)
downloadbitcoin-f65e83d51bfb6a34f1d5efccfb3d8786a51a4534.tar.xz
[net processing] Remove fClient and m_limited_node
fClient is replaced by CanServeBlocks(), and m_limited_node is replaced by IsLimitedPeer().
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index 00e8a78020..a986226d86 100644
--- a/src/net.h
+++ b/src/net.h
@@ -399,8 +399,6 @@ public:
bool HasPermission(NetPermissionFlags permission) const {
return NetPermissions::HasFlag(m_permissionFlags, permission);
}
- bool fClient{false}; // set by version message
- bool m_limited_node{false}; //after BIP159, set by version message
/** fSuccessfullyConnected is set to true on receiving VERACK from the peer. */
std::atomic_bool fSuccessfullyConnected{false};
// Setting fDisconnect to true will cause the node to be disconnected the