Skip to content

book: Update commitment tree section with the design decision#18

Merged
str4d merged 1 commit into
mainfrom
book-update-commitment-tree-section
Feb 28, 2021
Merged

book: Update commitment tree section with the design decision#18
str4d merged 1 commit into
mainfrom
book-update-commitment-tree-section

Conversation

@str4d
Copy link
Copy Markdown
Contributor

@str4d str4d commented Feb 12, 2021

No description provided.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 12, 2021

Codecov Report

Merging #18 (f563c16) into main (b0b3536) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##            main     #18   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines         18      18           
=====================================
  Misses        18      18           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b0b3536...f563c16. Read the comment docs.

@r3ld3v r3ld3v added this to the Core Sprint 2021-06 milestone Feb 15, 2021
Comment on lines +68 to +70
We decided that this was too large a change from Sapling, and that it should be possible
to improve the Incremental Merkle Tree implementation to work around the efficiency issues
without domain-separating the tree.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

❤️

Comment on lines +11 to +13
The only difference is that we instantiate $\mathsf{MerkleCRH}^\mathsf{Orchard}$ with
Sinsemilla (whereas $\mathsf{MerkleCRH}^\mathsf{Sapling}$ used a Bowe--Hopwood Pedersen
hash).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

Comment on lines +3 to +9
The commitment tree structure for Orchard is identical to Sapling:

Orchard addresses this by splitting the commitment tree into several sub-trees:
- A single global commitment tree of fixed depth 32.
- Note commitments are appended to the tree in-order from the block.
- Valid Orchard anchors correspond to the global tree state at block boundaries (after all
commitments from a block have been appended, and before any commitments from the next
block have been appended).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@dconnolly
Copy link
Copy Markdown
Contributor

"You didn't ask for my review but here you go!" (´・ω・)っ由

@str4d str4d merged commit 788dd0d into main Feb 28, 2021
@str4d str4d deleted the book-update-commitment-tree-section branch February 28, 2021 00:27
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (b0b3536) to head (f563c16).
⚠️ Report is 1314 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #18   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines         18      18           
=====================================
  Misses        18      18           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

5 participants