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

Merkle path #67

Merged
merged 6 commits into from
Sep 8, 2023
Merged

Merkle path #67

merged 6 commits into from
Sep 8, 2023

Conversation

shotasilagadzetaal
Copy link
Collaborator

We need to have a function to build merkle path data given merkle tree and transaction index.

@sirdeggen
Copy link
Contributor

I seems like there's some misunderstanding here. We are calculating the Merkle Root, not a coinbase, and there is no limit to the height of the merkle tree, it can be significantly larger than height = 3.

@sirdeggen sirdeggen added invalid This doesn't seem right and removed invalid This doesn't seem right labels Sep 8, 2023
@sirdeggen
Copy link
Contributor

AH it's recursive, I'm with you now. if there are 3 then you're at the end of the path. Understood. Just a different way of doing it.

@sirdeggen sirdeggen merged commit ab4c666 into master Sep 8, 2023
8 of 12 checks passed
@mergify mergify bot deleted the merkle-path branch September 8, 2023 18:07
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.

2 participants