Permalink
Browse files
Recognise NODE_XTHIN service bit
- Loading branch information...
Showing
with
6 additions
and
0 deletions.
-
+3
−0
src/protocol.h
-
+3
−0
src/qt/guiutil.cpp
|
|
@@ -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
|
|
|
|
|
|
@@ -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