Skip to content

Commit 4c3e2cb

Browse files
committed
Show XTHIN in GUI
1 parent 41d8e78 commit 4c3e2cb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/protocol.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ enum ServiceFlags : uint64_t {
267267
// Indicates that a node can be asked for blocks and transactions including
268268
// witness data.
269269
NODE_WITNESS = (1 << 3),
270+
// NODE_XTHIN means the node supports Xtreme Thinblocks
271+
// If this is turned off then the node will not service nor make xthin requests
272+
NODE_XTHIN = (1 << 4),
270273

271274
// Bits 24-31 are reserved for temporary experiments. Just pick a bit that
272275
// isn't getting used, or one not being used much, and notify the

src/qt/guiutil.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,9 @@ QString formatServicesStr(quint64 mask)
930930
case NODE_WITNESS:
931931
strList.append("WITNESS");
932932
break;
933+
case NODE_XTHIN:
934+
strList.append("XTHIN");
935+
break;
933936
default:
934937
strList.append(QString("%1[%2]").arg("UNKNOWN").arg(check));
935938
}

0 commit comments

Comments
 (0)