mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
P2P - LLMQ debug messages
- Move below DKG and signing - Don't show qdebugstatus
This commit is contained in:
parent
4d4536a124
commit
6745f87c40
4 changed files with 73 additions and 73 deletions
|
@ -188,8 +188,8 @@ public key infrastructure: pki
|
||||||
'`qcomplaint` messages': qcomplaint message
|
'`qcomplaint` messages': qcomplaint message
|
||||||
'`qcontrib` message': qcontrib message
|
'`qcontrib` message': qcontrib message
|
||||||
'`qcontrib` messages': qcontrib message
|
'`qcontrib` messages': qcontrib message
|
||||||
'`qdebugstatus` message': qdebugstatus message
|
#'`qdebugstatus` message': qdebugstatus message
|
||||||
'`qdebugstatus` messages': qdebugstatus message
|
#'`qdebugstatus` messages': qdebugstatus message
|
||||||
'`qfcommit` message': qfcommit message
|
'`qfcommit` message': qfcommit message
|
||||||
'`qfcommit` messages': qfcommit message
|
'`qfcommit` messages': qfcommit message
|
||||||
'`qgetsigs` message': qgetsigs message
|
'`qgetsigs` message': qgetsigs message
|
||||||
|
|
|
@ -579,7 +579,7 @@ devsearches:
|
||||||
- "qbsigs": "/en/developer-reference#qbsigs"
|
- "qbsigs": "/en/developer-reference#qbsigs"
|
||||||
- "qcomplaint": "/en/developer-reference#qcomplaint"
|
- "qcomplaint": "/en/developer-reference#qcomplaint"
|
||||||
- "qcontrib": "/en/developer-reference#qcontrib"
|
- "qcontrib": "/en/developer-reference#qcontrib"
|
||||||
- "qdebugstatus": "/en/developer-reference#qdebugstatus"
|
#- "qdebugstatus": "/en/developer-reference#qdebugstatus"
|
||||||
- "qfcommit": "/en/developer-reference#qfcommit"
|
- "qfcommit": "/en/developer-reference#qfcommit"
|
||||||
- "qgetsigs": "/en/developer-reference#qgetsigs"
|
- "qgetsigs": "/en/developer-reference#qgetsigs"
|
||||||
- "qjustify": "/en/developer-reference#qjustify"
|
- "qjustify": "/en/developer-reference#qjustify"
|
||||||
|
|
|
@ -2873,75 +2873,6 @@ features built in to Dash.
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
||||||
|
|
||||||
#### Debugging
|
|
||||||
{% include helpers/subhead-links.md %}
|
|
||||||
|
|
||||||
|
|
||||||
##### qdebugstatus
|
|
||||||
{% include helpers/subhead-links.md %}
|
|
||||||
|
|
||||||
{% autocrossref %}
|
|
||||||
|
|
||||||
*Added in protocol version 70214 of Dash Core*
|
|
||||||
|
|
||||||
The `qdebugstatus` message is used to...
|
|
||||||
|
|
||||||
| Bytes | Name | Data type | Description |
|
|
||||||
| --- | --- | --- | --- |
|
|
||||||
| 32 | proTxHash | uint256 | The ProRegTx hash
|
|
||||||
| 8 | nTime | int64_t |
|
|
||||||
| 1-9 | sessionsSize | compactSize uint |
|
|
||||||
| `sessionsSize` * <> | sessions | <uint8_t, CDKGDebugSessionStatus> |
|
|
||||||
| 96 | sig | byte[] | BLS signature
|
|
||||||
|
|
||||||
`CDKGDebugSessionStatus`:
|
|
||||||
|
|
||||||
| Bytes | Name | Data type | Description |
|
|
||||||
| --- | --- | --- | --- |
|
|
||||||
| 1 | llmqType | uint8_t | The type of LLMQ
|
|
||||||
| 32 | quorumHash | uint256 | The quorum identifier
|
|
||||||
| 4 | quorumHeight | uint32_t | The quorum height
|
|
||||||
| 1 | phase | uint8_t | The DKG phase of the quorum
|
|
||||||
| 1-9 | membersSize | compactSize uint |
|
|
||||||
| `membersSize` * <> | members | CDKGDebugMemberStatus |
|
|
||||||
|
|
||||||
`CDKGDebugMemberStatus`:
|
|
||||||
|
|
||||||
| Bytes | Name | Data type | Description |
|
|
||||||
| --- | --- | --- | --- |
|
|
||||||
| 1 | statusBitset | uint8_t |
|
|
||||||
| 32 * <> | complaintsFromMembers | uint16_t |
|
|
||||||
|
|
||||||
|
|
||||||
<!--
|
|
||||||
The following annotated hexdump shows a `qdebugstatus` message. (The
|
|
||||||
message header has been omitted.)
|
|
||||||
|
|
||||||
{% highlight text %}
|
|
||||||
|
|
||||||
{% endhighlight %}
|
|
||||||
|
|
||||||
-->
|
|
||||||
{% endautocrossref %}
|
|
||||||
|
|
||||||
|
|
||||||
##### qwatch
|
|
||||||
{% include helpers/subhead-links.md %}
|
|
||||||
|
|
||||||
{% autocrossref %}
|
|
||||||
|
|
||||||
*Added in protocol version 70214 of Dash Core*
|
|
||||||
|
|
||||||
The `qwatch` message tells the receiving peer to relay LLMQ messages
|
|
||||||
(`qcontrib` messages, `qcomplaint` messages, `qjustify` messages, and
|
|
||||||
`qpcommit` messages).
|
|
||||||
|
|
||||||
There is no payload in a `qwatch` message. See the [message header
|
|
||||||
section][section message header] for an example of a message without a payload.
|
|
||||||
|
|
||||||
{% endautocrossref %}
|
|
||||||
|
|
||||||
|
|
||||||
#### Distributed Key Generation
|
#### Distributed Key Generation
|
||||||
{% include helpers/subhead-links.md %}
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
@ -3653,6 +3584,75 @@ Match qbsigs and qsigsesann
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
||||||
|
|
||||||
|
#### Debugging
|
||||||
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
<!-- qdebugstatus is generally not used. Leaving undocumented per discussion with codablock
|
||||||
|
|
||||||
|
##### qdebugstatus
|
||||||
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
{% autocrossref %}
|
||||||
|
{% endautocrossref %}
|
||||||
|
|
||||||
|
*Added in protocol version 70214 of Dash Core*
|
||||||
|
|
||||||
|
The `qdebugstatus` message is used to...
|
||||||
|
|
||||||
|
| Bytes | Name | Data type | Description |
|
||||||
|
| --- | --- | --- | --- |
|
||||||
|
| 32 | proTxHash | uint256 | The ProRegTx hash
|
||||||
|
| 8 | nTime | int64_t |
|
||||||
|
| 1-9 | sessionsSize | compactSize uint |
|
||||||
|
| `sessionsSize` * <> | sessions | <uint8_t, CDKGDebugSessionStatus> |
|
||||||
|
| 96 | sig | byte[] | BLS signature
|
||||||
|
|
||||||
|
`CDKGDebugSessionStatus`:
|
||||||
|
|
||||||
|
| Bytes | Name | Data type | Description |
|
||||||
|
| --- | --- | --- | --- |
|
||||||
|
| 1 | llmqType | uint8_t | The type of LLMQ
|
||||||
|
| 32 | quorumHash | uint256 | The quorum identifier
|
||||||
|
| 4 | quorumHeight | uint32_t | The quorum height
|
||||||
|
| 1 | phase | uint8_t | The DKG phase of the quorum
|
||||||
|
| 1-9 | membersSize | compactSize uint |
|
||||||
|
| `membersSize` * <> | members | CDKGDebugMemberStatus |
|
||||||
|
|
||||||
|
`CDKGDebugMemberStatus`:
|
||||||
|
|
||||||
|
| Bytes | Name | Data type | Description |
|
||||||
|
| --- | --- | --- | --- |
|
||||||
|
| 1 | statusBitset | uint8_t |
|
||||||
|
| 32 * <> | complaintsFromMembers | uint16_t |
|
||||||
|
|
||||||
|
The following annotated hexdump shows a `qdebugstatus` message. (The
|
||||||
|
message header has been omitted.)
|
||||||
|
|
||||||
|
{% highlight text %}
|
||||||
|
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
{% autocrossref %}
|
||||||
|
{% endautocrossref %}
|
||||||
|
-->
|
||||||
|
|
||||||
|
##### qwatch
|
||||||
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
{% autocrossref %}
|
||||||
|
|
||||||
|
*Added in protocol version 70214 of Dash Core*
|
||||||
|
|
||||||
|
The `qwatch` message tells the receiving peer to relay LLMQ messages
|
||||||
|
(`qcontrib` messages, `qcomplaint` messages, `qjustify` messages, and
|
||||||
|
`qpcommit` messages).
|
||||||
|
|
||||||
|
There is no payload in a `qwatch` message. See the [message header
|
||||||
|
section][section message header] for an example of a message without a payload.
|
||||||
|
|
||||||
|
{% endautocrossref %}
|
||||||
|
|
||||||
|
|
||||||
### Governance Messages
|
### Governance Messages
|
||||||
{% include helpers/subhead-links.md %}
|
{% include helpers/subhead-links.md %}
|
||||||
|
|
||||||
|
|
|
@ -269,7 +269,7 @@ http://opensource.org/licenses/MIT.
|
||||||
[qbsigs message]: /en/developer-reference#qbsigs "A P2P network message used to to send batched LLMQ signature shares"
|
[qbsigs message]: /en/developer-reference#qbsigs "A P2P network message used to to send batched LLMQ signature shares"
|
||||||
[qcomplaint message]: /en/developer-reference#qcomplaint "A P2P network message used to send a complaint about another masternodes DKG contribution"
|
[qcomplaint message]: /en/developer-reference#qcomplaint "A P2P network message used to send a complaint about another masternodes DKG contribution"
|
||||||
[qcontrib message]: /en/developer-reference#qcontrib "A P2P network message used to send LLMQ DKG contributions"
|
[qcontrib message]: /en/developer-reference#qcontrib "A P2P network message used to send LLMQ DKG contributions"
|
||||||
[qdebugstatus message]: /en/developer-reference#qdebugstatus "A P2P network message used to debug quorums"
|
{% comment %}<!-- [qdebugstatus message]: /en/developer-reference#qdebugstatus "A P2P network message used to debug quorums" -->{% endcomment %}
|
||||||
[qfcommit message]: /en/developer-reference#qfcommit "A P2P network message used to finalize the members of a long-living masternode quorum (LLMQ)"
|
[qfcommit message]: /en/developer-reference#qfcommit "A P2P network message used to finalize the members of a long-living masternode quorum (LLMQ)"
|
||||||
[qgetsigs message]: /en/developer-reference#qgetsigs "A P2P network message used to request signature shares"
|
[qgetsigs message]: /en/developer-reference#qgetsigs "A P2P network message used to request signature shares"
|
||||||
[qjustify message]: /en/developer-reference#qjustify "A P2P network message used to respond to another masternodes DKG complaint"
|
[qjustify message]: /en/developer-reference#qjustify "A P2P network message used to respond to another masternodes DKG complaint"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue