HorizenLabs / marlin

A Rust library for the Marlin preprocessing zkSNARK
Apache License 2.0
12 stars 0 forks source link

Fix matrix balancing #33

Closed lgiussan closed 2 years ago

lgiussan commented 2 years ago

Fix the algorithm for balancing the A and B matrices of the R1CS by swapping some of their rows. A greedy strategy is used to decide which rows to swap.