hyperledger / anoncreds-clsignatures-rs

Apache License 2.0
7 stars 12 forks source link

Tails and accumulator refactoring #18

Closed andrewwhitehead closed 1 year ago

andrewwhitehead commented 1 year ago

Adds wrappers around the Accumulator and Tail types instead of exposing PointG2 (no compatiblity change for indy-credx or anoncreds-rs).

Adds utility methods to RevocationRegistry for generating the initial state and a future state with a set of issued indexes, for use in anoncreds-rs.

swcurran commented 1 year ago

What is the purpose of the new utility methods? Are they to make it easier to handle full state vs. delta handling? Thanks

andrewwhitehead commented 1 year ago

@swcurran Yes essentially, at the moment anoncreds-rs creates an empty registry and then uses update_revocation_registry which is more complicated and less efficient.