mirror of
https://github.com/seigler/dips
synced 2025-07-27 01:36:14 +00:00
Remove attemptNum from CLSIG and fix description of sig verification (#39)
This commit is contained in:
parent
145063f010
commit
9e97430850
1 changed files with 3 additions and 2 deletions
|
@ -136,7 +136,6 @@ message is called `CLSIG` and has the following structure:
|
||||||
|--|--|--|--|
|
|--|--|--|--|
|
||||||
| prevBlockHash | uint256 | 32 | Hash of the previous block |
|
| prevBlockHash | uint256 | 32 | Hash of the previous block |
|
||||||
| blockHash | uint256 | 32 | Hash of the signed block from the successful attempt |
|
| blockHash | uint256 | 32 | Hash of the signed block from the successful attempt |
|
||||||
| attemptNum | uint16 | 2 | The attempt number |
|
|
||||||
| sig | BLSSig | 96 | Recovered signature |
|
| sig | BLSSig | 96 | Recovered signature |
|
||||||
|
|
||||||
This message is propagated through the inventory system.
|
This message is propagated through the inventory system.
|
||||||
|
@ -150,7 +149,9 @@ chain
|
||||||
`prevBlockHash`, a quorum must be selected that was active at the time this
|
`prevBlockHash`, a quorum must be selected that was active at the time this
|
||||||
block was mined
|
block was mined
|
||||||
3. The signature must verify against the quorum public key and
|
3. The signature must verify against the quorum public key and
|
||||||
`hash(blockHash, attemptNum)`.
|
`hash(llmqType, quorumHash, prevBlockHash, blockHash)`. `llmqType` and `quorumHash`
|
||||||
|
must be taken from the quorum selected in 2.
|
||||||
|
|
||||||
|
|
||||||
## Handling of signed blocks
|
## Handling of signed blocks
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue