hyperledger / besu

An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
https://www.hyperledger.org/projects/besu
Apache License 2.0
1.44k stars 765 forks source link

Save the scalars of the children directly in the parents. #7118

Open matkt opened 2 months ago

matkt commented 2 months ago

Description

To optimize and reduce the number of disk accesses during the generation of proofs, it would be preferable to store the scalars of the children directly in the parents. Because for the proofs, it is necessary to have the scalars of each child, which could lead to a significant number of reads.

We must implement mechanisms to reduce the impact on the database size by not storing the scalars of NullNode, for example.

https://github.com/hyperledger/besu-verkle-trie/issues/60

matkt commented 2 months ago

is it ok if I assign this ticket to you ? @thomas-quadratic

thomas-quadratic commented 2 months ago

Ok with me

matkt commented 1 month ago

link the PR : https://github.com/hyperledger/besu-verkle-trie/pull/63