Skip to content

feat: update and fixes to rfcs part 1#162

Open
SWvheerden wants to merge 3 commits intomainfrom
sw_massive_edits
Open

feat: update and fixes to rfcs part 1#162
SWvheerden wants to merge 3 commits intomainfrom
sw_massive_edits

Conversation

@SWvheerden
Copy link
Copy Markdown
Contributor

Updates and fixes to rfcs, part 1 of many,
This includes a new about explaing the process

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates various RFC documents to reflect architectural changes, including renaming the Digital Assets Network (DAN) to Ootle, updating Proof of Work algorithms, and adding an HTTP API specification. The review identified two issues: a typo in a percentage notation in the overview document and a missing space in a domain-separated hash description in the consensus document.

Comment thread src/RFC-0001_overview.md
Tari is mined using a hybrid approach. On average, 50% of block rewards come from [Monero merge-mining],
while 50% come from the [Sha3x][RFC-131] algorithm. Blocks are produced every 2 minutes, on average.
Tari is mined using a hybrid approach. On average, 25% of block rewards come from [Monero merge-mining],
25& solo mined using RandomX, 25% mined using Cuckaroo 29 and 25% come from the [Sha3x][RFC-131] algorithm.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Typo in percentage notation: '25&' should be '25%'.

Suggested change
25& solo mined using RandomX, 25% mined using Cuckaroo 29 and 25% come from the [Sha3x][RFC-131] algorithm.
25% solo mined using RandomX, 25% mined using Cuckaroo 29 and 25% come from the [Sha3x][RFC-131] algorithm.

Comment thread src/RFC-0120_Consensus.md
* each [transaction output] MUST:
* be of an allowed [transaction output] version
* have a unique domain separated hash (`version || features || commitment || script || covenant || encrypted_values`) with the domain (`transaction_output`)
* have a unique domain-separated hash (`version || features || commitment|| RangeProof Hash || Sender Offset Public Key || Metadata signature || script || covenant || encrypted_data || minimum value promise`) with the domain (`transaction_output`)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

There is a missing space between 'commitment' and '||' in the domain-separated hash description.

Suggested change
* have a unique domain-separated hash (`version || features || commitment|| RangeProof Hash || Sender Offset Public Key || Metadata signature || script || covenant || encrypted_data || minimum value promise`) with the domain (`transaction_output`)
* have a unique domain-separated hash (`version || features || commitment || RangeProof Hash || Sender Offset Public Key || Metadata signature || script || covenant || encrypted_data || minimum value promise`) with the domain (`transaction_output`)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant