Permalink
Browse files

Recognise NODE_XTHIN service bit

  • Loading branch information...
1 parent e4382fb commit 2da1d2832a29ac39e48c90b5b6cc3546989ce628 @luke-jr luke-jr committed Aug 13, 2016
Showing with 6 additions and 0 deletions.
  1. +3 −0 src/protocol.h
  2. +3 −0 src/qt/guiutil.cpp
View
@@ -268,6 +268,9 @@ enum ServiceFlags : uint64_t {
// witness data.
NODE_WITNESS = (1 << 3),
+ // NODE_XTHIN means the node supports Xtreme Thinblocks
+ NODE_XTHIN = (1 << 4),
+
// Bits 24-31 are reserved for temporary experiments. Just pick a bit that
// isn't getting used, or one not being used much, and notify the
// bitcoin-development mailing list. Remember that service bits are just
View
@@ -930,6 +930,9 @@ QString formatServicesStr(quint64 mask)
case NODE_WITNESS:
strList.append("WITNESS");
break;
+ case NODE_XTHIN:
+ strList.append("XTHIN");
+ break;
default:
strList.append(QString("%1[%2]").arg("UNKNOWN").arg(check));
}

0 comments on commit 2da1d28

Please sign in to comment.