diff options
author | R E Broadley <rebroad+github@gmail.com> | 2016-08-25 09:21:58 +0700 |
---|---|---|
committer | R E Broadley <rebroad+github@gmail.com> | 2016-08-25 09:22:46 +0700 |
commit | 4c3e2cb2dfc36d686444b65da1885c380d3643f8 (patch) | |
tree | eb032e0ffe68af4c5ab7286985b3bf005fe5588d | |
parent | 41d8e78f94c5ad54684f1f15efb0264036418e71 (diff) |
Show XTHIN in GUI
-rw-r--r-- | src/protocol.h | 3 | ||||
-rw-r--r-- | src/qt/guiutil.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h index 015215b2a6..9b474ec79c 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -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 diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 947a4c6821..c00f5e8591 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -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)); } |