aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-11-08 13:43:28 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-07-11 10:32:25 -0400
commitfa4bf92be9420919c74cdde9a973f7327d01ac88 (patch)
treec6e0a7c1502f19e9807fde78b7e479e9e1b48def /src/net_processing.cpp
parentb05ded176466dde1cf06b21834afcc46824eabb3 (diff)
downloadbitcoin-fa4bf92be9420919c74cdde9a973f7327d01ac88.tar.xz
Remove dead service bits code
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r--src/net_processing.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index 458e9c2e9f..b719668867 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -1630,17 +1630,6 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
return false;
}
- if (nServices & ((1 << 7) | (1 << 5))) {
- if (GetTime() < 1533096000) {
- // Immediately disconnect peers that use service bits 6 or 8 until August 1st, 2018
- // These bits have been used as a flag to indicate that a node is running incompatible
- // consensus rules instead of changing the network magic, so we're stuck disconnecting
- // based on these service bits, at least for a while.
- pfrom->fDisconnect = true;
- return false;
- }
- }
-
if (nVersion < MIN_PEER_PROTO_VERSION)
{
// disconnect from peers older than this proto version