silversixpence-crypto / dapol

DAPOL+ Proof of Liabilities using Bulletproofs and Sparse Merkle trees
MIT License
8 stars 2 forks source link

Use derive_builder for tree building #120

Open Stentonian opened 9 months ago

Stentonian commented 9 months ago

The tree builder was manually coded. We can cut on the code by using https://docs.rs/derive_builder/latest/derive_builder/

This would also align with the rest of the code which already uses that library