gballet / multiproof-rs

A rust implementation of Alexey Akhunov's multiproof algorithm
Apache License 2.0
32 stars 8 forks source link

Use NibbleKey for insert_leaf #30

Closed gballet closed 4 years ago

gballet commented 4 years ago

This is to make sure that the passed data is always in the correct format.

axic commented 4 years ago

Need to also update README.

gballet commented 4 years ago

I have just added some code so that the leaf's value is no longer hardcoded in make_tree_from_json, and instead is generated for the JSON itself. This is to be expanded into a rewrite of the deserializer.