Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DIP6] Add llmqTypes details to qfcommit #37

Merged
merged 3 commits into from Dec 27, 2018
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions dip-0006.md
Expand Up @@ -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
Expand All @@ -361,6 +362,16 @@ 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 |
| 256 | LLMQ_NONE | - | - | - | Reserved |
thephez marked this conversation as resolved.
Show resolved Hide resolved

### 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.
Expand Down