Skip to content

DIP 22: Deterministic InstantSend#98

Merged
thephez merged 18 commits into
masterfrom
deterministic-instantsend
Nov 4, 2021
Merged

DIP 22: Deterministic InstantSend#98
thephez merged 18 commits into
masterfrom
deterministic-instantsend

Conversation

@thephez

@thephez thephez commented Aug 3, 2021

Copy link
Copy Markdown
Collaborator

This DIP aims to improve InstantSend messages to make them deterministically verifiable.

Link to doc: https://github.com/dashpay/dips/blob/deterministic-instantsend/dip-0022.md

Thanks to @QuantumExplorer and @UdjinM6 for collaborating on this

@thephez thephez left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple questions for @QuantumExplorer and @UdjinM6

Comment thread deterministic-instantsend.md Outdated
Comment thread deterministic-instantsend.md
@thephez
thephez marked this pull request as ready for review August 31, 2021 17:44
Comment thread deterministic-instantsend.md Outdated
Comment thread deterministic-instantsend.md Outdated
Comment thread deterministic-instantsend.md Outdated
3. For each LLMQ of this quorum cycle’s set, calculate `SHA256(quorumType, quorumHash, requestId)`
4. Sort the list of LLMQs based on the result of step 3 in ascending order
5. Use the first entry of the sorted list as the responsible LLMQ
6. Create the SignID by calculating `SHA256(quorumHash, requestId, SHA256(version, txHash))`

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
6. Create the SignID by calculating `SHA256(quorumHash, requestId, SHA256(version, txHash))`
6. Create the SignID by calculating `SHA256(quorumHash, requestId)`

Comment thread deterministic-instantsend.md
@thephez
thephez force-pushed the deterministic-instantsend branch from cdc11a3 to bc36b71 Compare October 11, 2021 13:15
Comment thread dip-0022.md Outdated
Co-authored-by: gabriel-bjg <gabriel.bjg@gmail.com>
@thephez thephez changed the title Draft DIP: Deterministic InstantSend DIP 22: Deterministic InstantSend Oct 11, 2021
@thephez

thephez commented Oct 19, 2021

Copy link
Copy Markdown
Collaborator Author

@PastaPastaPasta @QuantumExplorer @UdjinM6 Please complete a final review on this so we can merge it. 🙏

UdjinM6
UdjinM6 previously approved these changes Oct 21, 2021
@thephez

thephez commented Oct 25, 2021

Copy link
Copy Markdown
Collaborator Author

@PastaPastaPasta @QuantumExplorer @UdjinM6 Please complete a final review on this so we can merge it. pray

@PastaPastaPasta @QuantumExplorer Please complete a final review on this so we can merge it. 🙏

@thephez
thephez merged commit 35d326e into master Nov 4, 2021
@thephez
thephez deleted the deterministic-instantsend branch November 4, 2021 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants