Skip to content

jonas089/jonas089-trie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This is not a production library ⚠️

⚠️ Optimization work in progress ⚠️

Merkle Trie for Blockchain Systems

This Trie can be used to represent state in Blockchain systems.

Todos

  • Hashing-agnostic design would be preferred. Hasher Impl will benefit the design.
  • ZK-friendly optimization features, starting with a Risc0 Hashing optimization feature.
  • Collision handler
  • Write comprehensive tests
  • Benchmark time and space complexity

Todos: Optimization

  • Decrease depth by merging Nodes
  • Store leafs in the DB with Key and store a Reference to these leafs in the populated Branches
  • Store modified leafs and branches in memory and re-hash them once insert concluded

Releases

No releases published

Packages

No packages published

Languages