mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Show XTHIN in GUI
This commit is contained in:
parent
41d8e78f94
commit
4c3e2cb2df
@ -267,6 +267,9 @@ enum ServiceFlags : uint64_t {
|
|||||||
// Indicates that a node can be asked for blocks and transactions including
|
// Indicates that a node can be asked for blocks and transactions including
|
||||||
// witness data.
|
// witness data.
|
||||||
NODE_WITNESS = (1 << 3),
|
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
|
// 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
|
// isn't getting used, or one not being used much, and notify the
|
||||||
|
@ -930,6 +930,9 @@ QString formatServicesStr(quint64 mask)
|
|||||||
case NODE_WITNESS:
|
case NODE_WITNESS:
|
||||||
strList.append("WITNESS");
|
strList.append("WITNESS");
|
||||||
break;
|
break;
|
||||||
|
case NODE_XTHIN:
|
||||||
|
strList.append("XTHIN");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
strList.append(QString("%1[%2]").arg("UNKNOWN").arg(check));
|
strList.append(QString("%1[%2]").arg("UNKNOWN").arg(check));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user