diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-08-26 11:20:13 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-08-26 11:20:36 +0200 |
| commit | c19f8a4a7795938dd1f02c44da76e5e37ce5a819 (patch) | |
| tree | f353eceae83f6dd1d8f2bc95df3f15c41f83ac88 /src | |
| parent | Merge #8561: Show "end" instead of many zeros when getheaders request receive... (diff) | |
| parent | Show XTHIN in GUI (diff) | |
| download | discoin-c19f8a4a7795938dd1f02c44da76e5e37ce5a819.tar.xz discoin-c19f8a4a7795938dd1f02c44da76e5e37ce5a819.zip | |
Merge #8583: Show XTHIN in GUI
4c3e2cb Show XTHIN in GUI (R E Broadley)
Diffstat (limited to 'src')
| -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 015215b2a..9b474ec79 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 947a4c682..c00f5e859 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)); } |