cambrian / accumulator

Cryptographic accumulators in Rust.
https://cambrian.github.io/accumulator
MIT License
133 stars 34 forks source link

Make ClassGroup::reduce return a 3-tuple instead of a ClassElem #30

Closed eddiew closed 5 years ago

eddiew commented 5 years ago

this is to ensure that ClassGroup::elem is the only way to instantiate ClassElems. Also moves most class group fns from ClassElem:: to ClassGroup::