mirror of
https://github.com/seigler/dips
synced 2025-07-27 01:36:14 +00:00
A few (mostly trivial) updates (#54)
* Drop quorumMinMemberAge from LLMQ init phase * Clarify that "hash" is "SHA256" in multiple cases * Switch few quotes to apostrophes
This commit is contained in:
parent
5660fcdd27
commit
41fc2c9413
6 changed files with 27 additions and 28 deletions
|
@ -136,7 +136,7 @@ ChainLock is deeper than 6 blocks.
|
|||
When these checks pass, each masternode must invoke the [DIP0007
|
||||
`SignIfMember` operation](https://github.com/dashpay/dips/blob/master/dip-0007.md#void-signifmemberuint256-id-uint256-msghash-int-activellmqs).
|
||||
|
||||
The request id for the operation is `hash("clsig-attempt", blockHeight, attemptNum)` and the
|
||||
The request id for the operation is `SHA256("clsig-attempt", blockHeight, attemptNum)` and the
|
||||
message hash is the hash of the new block (`newBlockHash`). The first time this
|
||||
is attempted, `attemptNum` must be set to `0`. "clsig-attempt" is a static string that
|
||||
must be prepended by its length (13, as a compactSize uint).
|
||||
|
@ -169,7 +169,7 @@ After a signing attempt has succeeded, another LLMQ must sign the successful
|
|||
attempt. This is only performed once for each `blockHeight` and thus either
|
||||
succeeds or fails without performing additional attempts.
|
||||
|
||||
The request id is `hash("clsig", blockHeight)` and the message hash is the block hash of the
|
||||
The request id is `SHA256("clsig", blockHeight)` and the message hash is the block hash of the
|
||||
previously successful attempt.
|
||||
|
||||
After a LLMQ member has successfully recovered the final ChainLocks
|
||||
|
@ -190,7 +190,7 @@ announcing it to other nodes:
|
|||
1. Based on the deterministic masternode list at the given height, a quorum must be
|
||||
selected that was active at the time this block was mined
|
||||
2. The signature must verify against the quorum public key and
|
||||
`hash(llmqType, quorumHash, hash(height), blockHash)`. `llmqType` and `quorumHash`
|
||||
`SHA256(llmqType, quorumHash, SHA256(height), blockHash)`. `llmqType` and `quorumHash`
|
||||
must be taken from the quorum selected in 2.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue