input-output-hk / mithril

Stake-based threshold multi-signatures protocol
https://mithril.network
Apache License 2.0
115 stars 36 forks source link

Computation of Merkle proof has bottleneck with multiple transactions #1730

Closed jpraynaud closed 3 weeks ago

jpraynaud commented 1 month ago

Why

We have noticed that the computation of the proof done by the Merkle map is not optimal and leads to a performance drop when multiple transactions are certified by the prover.

What

Fix the bottleneck which creates a performance drop when the number of transactions to certify increases.

How