silversixpence-crypto / dapol

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

Lazy calculate Pedersen commitments #137

Open Stentonian opened 8 months ago

Stentonian commented 8 months ago

Currently the full node merge function will add the liabilities, the blinding factors, and the Pedersen commitments. We can decrease build time and memory requirements for tree build by removing the Pedersen commitments and only calculating those later when generating inclusion proofs (of course this will slightly increase inclusion proof generation time).