From f69584c29500b1da927b53915d70825e2f60da52 Mon Sep 17 00:00:00 2001 From: thephez Date: Mon, 25 Mar 2019 13:20:59 -0400 Subject: [PATCH] P2P - Add partial details to justification and premature commitment --- _includes/devdoc/ref_p2p_networking.md | 31 +++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/_includes/devdoc/ref_p2p_networking.md b/_includes/devdoc/ref_p2p_networking.md index 9e3a6d55..5d366a81 100644 --- a/_includes/devdoc/ref_p2p_networking.md +++ b/_includes/devdoc/ref_p2p_networking.md @@ -3032,7 +3032,21 @@ The `qjustify` message is used to... | Bytes | Name | Data type | Description | | --- | --- | --- | --- | -| 2 | version | uint16_t | Version of the message +| 1 | llmqType | uint8_t | The type of LLMQ +| 32 | quorumHash | uint256 | The quorum identifier +| 32 | proTxHash | uint256 | The ProRegTx hash of the complaining member +| 1-9 | skContributions
Count | compactSize uint | Number of unencrypted secret key contributions +| 36 * `skContributions`
`Count` | skContribution | SKContribution | Member index and secret key contribution for members justifying complaints +| 96 | sig | BLSSig | BLS signature, signed with the operator key of the contributing masternode + +An `SKContribution` consists of: + +| Bytes | Name | Data type | Description | +| --- | --- | --- | --- | +| 4 | skContributionMember | uint32_t | Index of the member for which justification is provided +| 32 | skContributions | byte[] | Unencrypted secret key contribution for the member contained in skContributionMember + +More information can be found in the [Justification phase section of DIP8](https://github.com/dashpay/dips/blob/master/dip-0006.md#4-justification-phase).