Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Remove usage of treeStructure in Merkle Tree #5491

Closed
mitsuaki-u opened this issue Jul 1, 2020 · 0 comments · Fixed by #5503
Closed

Remove usage of treeStructure in Merkle Tree #5491

mitsuaki-u opened this issue Jul 1, 2020 · 0 comments · Fixed by #5503

Comments

@mitsuaki-u
Copy link
Contributor

mitsuaki-u commented Jul 1, 2020

Description

In order to build a proof, currently it is required to loop the tree structure with full nodes at each layer and node index.

This has a significant performance cost.

Motivation

In a hypothetical situation where storing all the blocks on mainnet into a merkle tree is required, we would require the most performant use of merkle tree.

Acceptance Criteria

Tree structure looping removed.

Additional Information

n/a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants