thyeem / monotree Goto Github PK
View Code? Open in Web Editor NEWAn optimized Sparse Merkle Tree in Rust
License: MIT License
An optimized Sparse Merkle Tree in Rust
License: MIT License
At the moment, I lazy initialize a single sled db instance, then create multiple Monotree instances via open_tree method on the sled db instance. Would like to see direct support OOTB if it is not already available,
Hi, I was looking for a simple merklized database in Rust to experiment with and this came up. It looks nice and simple and fast.
I ran some benchmarks locally and read the examples, and I like the design in general. I am not sure if this is being maintained much now, but a few questions on proper usage:
I don't want to ask you to implement these, but I would be interested in hearing if your thoughts on them and if they could be added without huge complexity overhead.
One issue there is keeping 2 databases in sync if I cannot commit atomically over them both. I could imagine sharing one eg. RocksDB under the hood, with all data stored with eg. 0
prefix and all data from MonoTree with 1
. Then building a batch that contains all data updates and all MonoTree updates, so I can get the data and the proofs together in an atomic commit. This would require:
Apart from the API challenges, do you think something like that would be feasible?
Thank you for your time reading this. And let me know if I can support the project somehow.
It says that you can generate non inclusion proofs, but there doesn't seem to be any method provided for doing that?
export , import all nodes from root
as json , bson
Much appreciated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.