Closed github-actions[bot] closed 2 years ago
Using the existing Tree & Search Tree primites, create a decentralized lazy-loading immutable Merkle tree meant to be stored on IPFS.
The data structure has the following requirements:
O(log(n))
The IPFSMerkleTree relies on several primitives to efficiently store the tree:
hash => CID<ParentCID>
Map<K,V>
IPFSMap<string, CID>
closes #39
IPFSMerkleTree
Using the existing Tree & Search Tree primites, create a decentralized lazy-loading immutable Merkle tree meant to be stored on IPFS.
Requirements
The data structure has the following requirements:
O(log(n))
traversal insert/deleteO(log(n))
node changes on insert/deleteO(log(n))
merkle proof parent traversalO(log(n))
leaf access for proof generationArchitecture
The IPFSMerkleTree relies on several primitives to efficiently store the tree:
hash => CID<ParentCID>
A binary search tree to index leaf nodes and enable parent tree recursion.Tasks
Map<K,V>
interfaceIPFSMap<string, CID>
abstraction built on top of binary treecloses #39