Browse Source

Merge #8583: Show XTHIN in GUI

4c3e2cb Show XTHIN in GUI (R E Broadley)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
c19f8a4a77
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 3
      src/protocol.h
  2. 3
      src/qt/guiutil.cpp

3
src/protocol.h

@ -267,6 +267,9 @@ enum ServiceFlags : uint64_t { @@ -267,6 +267,9 @@ enum ServiceFlags : uint64_t {
// 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),
// 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

3
src/qt/guiutil.cpp

@ -930,6 +930,9 @@ QString formatServicesStr(quint64 mask) @@ -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));
}

Loading…
Cancel
Save