Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Explicitly ention root hash is not stored anywhere #26

Open
yoshuawuyts opened this issue Jan 11, 2019 · 0 comments
Open

Explicitly ention root hash is not stored anywhere #26

yoshuawuyts opened this issue Jan 11, 2019 · 0 comments

Comments

@yoshuawuyts
Copy link
Contributor

In the Merkle Tree & Terminology sections we should emphasize the root hashes aren't persisted anywhere, but only the signatures of the hashes are persisted.

Also emphasize index for the signature is the index of the right-most node in the tree, divided by two. We should update our images to the following:

tree (stays same)

0: #0 = hash(data[0]) ─┐
                       #1 = hash(tree[0] + tree[1])
1: #2 = hash(data[1]) ─┘

2: #4 = hash(data[2])

signatures (added indexes)

0: #0 sig(#0)
1: #1 sig(#1)
2: #2 sig(#1 + #4)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant