MCPcopy Create free account
hub / github.com/arkworks-rs/poly-commit / size

Method size

poly-commit/src/kzg10/data_structures.rs:133–135  ·  view source on GitHub ↗

The number of powers in `self`.

(&self)

Source from the content-addressed store, hash-verified

131impl<E: Pairing> Powers<'_, E> {
132 /// The number of powers in `self`.
133 pub fn size(&self) -> usize {
134 self.powers_of_g.len()
135 }
136}
137impl<'a, E: Pairing> Valid for Powers<'a, E> {
138 fn check(&self) -> Result<(), SerializationError> {

Callers 3

commitMethod · 0.80
openMethod · 0.80

Calls 1

lenMethod · 0.80

Tested by

no test coverage detected