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

Document the consensus rules for Section 3.6 #3338

Merged
merged 9 commits into from
Jan 24, 2022
Merged

Conversation

upbqdn
Copy link
Member

@upbqdn upbqdn commented Jan 12, 2022

Motivation

Each consensus rule from Zcash Protocol Specification should be documented in Zebra for the upcoming audit.

Solution

This PR documents the consensus rules stated in Section 3.6 of the specification.

Review

Anyone can review.

Reviewer Checklist

  • Code implements Specs and Designs

Closes #3211, however, a part of one of the consensus rules is documented by #3283, so the issue should be closed only after #3283 is merged. For this reason, I'll keep this PR as a draft until #3283 is merged.

@upbqdn upbqdn added P-Low ❄️ A-docs Area: Documentation labels Jan 12, 2022
@upbqdn upbqdn marked this pull request as draft January 12, 2022 22:21
@codecov
Copy link

codecov bot commented Jan 12, 2022

Codecov Report

Merging #3338 (3cd6b09) into main (9101e9a) will increase coverage by 0.00%.
The diff coverage is 0.00%.

❗ Current head 3cd6b09 differs from pull request most recent head 0c57d58. Consider uploading reports for the commit 0c57d58 to get more accurate results

@@           Coverage Diff           @@
##             main    #3338   +/-   ##
=======================================
  Coverage   78.46%   78.46%           
=======================================
  Files         267      267           
  Lines       31523    31530    +7     
=======================================
+ Hits        24734    24740    +6     
- Misses       6789     6790    +1     

@upbqdn upbqdn marked this pull request as ready for review January 18, 2022 22:21
@upbqdn
Copy link
Member Author

upbqdn commented Jan 18, 2022

Since #3283 was merged, this PR is ready for review.

@mpguerra mpguerra requested a review from conradoplg January 19, 2022 09:23
@mpguerra mpguerra requested a review from conradoplg January 24, 2022 14:10
@upbqdn
Copy link
Member Author

upbqdn commented Jan 24, 2022

Oops, I didn't notice Clippy is unhappy until now. I'll fix it.

Copy link
Collaborator

@conradoplg conradoplg left a comment

Choose a reason for hiding this comment

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

Looks good

@upbqdn upbqdn enabled auto-merge (squash) January 24, 2022 18:20
@teor2345
Copy link
Contributor

The Zcash parameter download timed out. PARAMETER_DOWNLOAD_TIMEOUT is 60 minutes, but we only run CI for 30 minutes. This is probably an issue with the remote website.

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Jan 24, 2022

refresh

✅ Pull request refreshed

@teor2345
Copy link
Contributor

Oops

@Mergifyio update

@mergify
Copy link
Contributor

mergify bot commented Jan 24, 2022

update

✅ Branch has been successfully updated

@upbqdn upbqdn merged commit a1f4cec into main Jan 24, 2022
@upbqdn upbqdn deleted the consensus-rules-sec-3-6 branch January 24, 2022 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: Documentation
Projects
None yet
3 participants