From 7c27f1f5596b0c0d637345064d9195f31fec1e0e Mon Sep 17 00:00:00 2001 From: thephez Date: Mon, 25 Mar 2019 11:34:54 -0400 Subject: [PATCH] P2P - Add partial details to qcomplaint and qcontrib --- _includes/devdoc/ref_p2p_networking.md | 49 ++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/_includes/devdoc/ref_p2p_networking.md b/_includes/devdoc/ref_p2p_networking.md index 63c09948..abc79787 100644 --- a/_includes/devdoc/ref_p2p_networking.md +++ b/_includes/devdoc/ref_p2p_networking.md @@ -2849,11 +2849,19 @@ message header has been omitted.) intra-quorum communication and is only sent to the masternodes in the LLMQ and nodes that are monitoring in Watch Mode for auditing/debugging purposes. -The `qcomplaint` message is used to... +The `qcomplaint` message is used to notify other members of the DKG process of +any members that provided an invalid secret key contribution. | Bytes | Name | Data type | Description | | --- | --- | --- | --- | -| 2 | version | uint16_t | Version of the message +| 1 | llmqType | uint8_t | The type of LLMQ +| 1 | quorumHash | uint256 | The quorum identifier +| 1 | proTxHash | uint256 | The ProRegTx hash of the complaining member +| 1-9 | badBitSize | compactSize uint | Number of bits in the bad members bitvector +| (`badBitSize` + 7) / 8 | badMembers | byte[] | The bad members bitvector +| 1-9 | complaintsBitSize | compactSize uint | Number of bits in the complaints bitvector +| (`complaints`
`BitSize` + 7) / 8 | complaints | byte[] | The complaints bitvector +| 96 | sig | BLSSig | BLS signature, signed with the operator key of the contributing masternode +{% endautocrossref %} + + #### qdebugstatus {% include helpers/subhead-links.md %}