From fa0d0ff6e1bee60fde63724ae28a51aac5a94d4a Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Fri, 12 Jul 2019 14:15:33 -0400 Subject: [PATCH] Remove unused bits from the service flags enum --- src/protocol.h | 5 +---- src/qt/guiutil.cpp | 9 +++------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/protocol.h b/src/protocol.h index a790a0690..91d043947 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -261,9 +261,6 @@ enum ServiceFlags : uint64_t { // NODE_WITNESS indicates that a node can be asked for blocks and transactions including // witness data. NODE_WITNESS = (1 << 3), - // NODE_XTHIN means the node supports Xtreme Thinblocks - // If this is turned off then the node will not service nor make xthin requests - NODE_XTHIN = (1 << 4), // NODE_NETWORK_LIMITED means the same as NODE_NETWORK with the limitation of only // serving the last 288 (2 day) blocks // See BIP159 for details on how this is implemented. diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 70e52c9f1..236766352 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -11,10 +11,10 @@ #include #include -#include -#include #include +#include #include +#include #include #include