[−][src]Module cks_accumulator::accumulator
Structs
Accumulator | |
InMemoryAccumulatorEntries | Stores the accumulator entries (g^{lambda^i}) in memory. For production, these should be persisted |
InMemoryAccumulatorState | Accumulator state that keeps the added indices in a HashSet. For production use, a persistent database should be used. |
IterAccumulatorState | Iterator over accumulator state |
Witness |
Traits
AccumulatorEntries | Contains entries that are multiplied together to form the accumulator and witness For each index there is 1 corresponding entry that goes in the accumulator. |
AccumulatorState | Tracks indices currently present in the accumulator. This data-structure does not need to be publicly writable but is needed to prevent adding the same entry again or removing an entry that is not present and when an old witness needs to be updated. Only the party in-charge of updating the accumulator should have write access to this. |