TaceoLabs / co-snarks

Tooling for creating collaborative SNARKs for Circom circuits.
https://docs.taceo.io
Apache License 2.0
91 stars 8 forks source link

Shamir correlated randomness generation perfomance unstable #206

Closed fabian1409 closed 1 week ago

fabian1409 commented 3 weeks ago

After the refactor, the corr rand pair generation happen all at once and before we construct a ShamirProtocol This should be faster than doing it batched because we do less network rounds but with more data at once (especially in high latency environments)

However, most of the time, one party seems to be fast, while others take more than twice as long. Sometimes all parties are fast.

Might have something to do with our network implementation (already tried with s2n-quic, another quic lib, made no difference)

dkales commented 1 week ago

Think this is mostly obsolete by now