From 67743489a4bd6ba67b47341cb7db3dfc33dee763 Mon Sep 17 00:00:00 2001 From: thephez Date: Thu, 27 Dec 2018 10:21:02 -0500 Subject: [PATCH] [DIP6] Add llmqTypes details to qfcommit (#37) * [DIP6] Add llmqTypes details to qfcommit Closes #36 * [DIP6] Update LLMQ Types table * [DIP6] Remove LLMQ_NONE from table --- dip-0006.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dip-0006.md b/dip-0006.md index 8ab4a52..c7e8fff 100644 --- a/dip-0006.md +++ b/dip-0006.md @@ -351,6 +351,7 @@ The internal Dash message name is `qfcommit` and the format of the message is: | Field | Type | Size | Description | |--|--|--|--| | version | uint16_t | 2 | Version of the final commitment message +| llmqType | uint8_t | 1 | [Type of LLMQ](#current-llmq-types) | quorumHash | uint256 | 32 | The quorum identifier | signersSize | compactSize uint | 1-9 | Bit size of the signers bitvector | signers | byte[] | (bitSize + 7) / 8 | Bitset representing the aggregated signers of this final commitment @@ -361,6 +362,15 @@ The internal Dash message name is `qfcommit` and the format of the message is: | quorumSig | BLSSig | 96 | Recovered threshold signature | sig | BLSSig | 96 | Aggregated BLS signatures from all included commitments +#### Current LLMQ types + +| Type | Name | Total Members | Threshold Members | Duration | Notes | +|--|--|--|--|--|--| +| 1 | LLMQ_50_60 | 50 | 30 (60%) | 1 Hour | | +| 2 | LLMQ_400_60 | 400 | 240 (60%) | 12 Hours | | +| 3 | LLMQ_400_85 | 400 | 340 (85%) | 24 Hours | | +| 100 | LLMQ_10_60 | 10 | 6 (60%) | 1 Hour | For testing only | + ### 7. Mining phase After final commitments have been propagated in the network, miners should take the best final commitment for a DKG session and mine it into the next block. The best final commitment is simply the one with the most signers.