Closed eddiew closed 5 years ago
Yep, this will be useful when we start implementing VCs.
I'm thinking:
At the same time, this might be better suited to a higher layer of abstraction (where we have a clearer picture what the prover and verifier are doing in a real-world sense). The interface as it exists now is pretty faithful to the math.
I added a NonMembershipProof type but happy to punt on the rest until it's clearer how we will use the accumulator fns.
Added struct Accumulator
done. gonna close this issue for now, and in the process of building our PoC we might uncover useful changes to the acc and vc interfaces
We should provide newtypes/structs for accumulators and their proofs so we're not working with raw group elements/exponents.