MCPcopy Create free account
hub / github.com/docknetwork/crypto / get_updated

Method get_updated

vb_accumulator/src/universal.rs:230–236  ·  view source on GitHub ↗

Update the accumulated values with the given ones

(&self, f_V: G::ScalarField, V: G)

Source from the content-addressed store, hash-verified

228
229 /// Update the accumulated values with the given ones
230 pub fn get_updated(&self, f_V: G::ScalarField, V: G) -> Self {
231 Self {
232 V,
233 f_V,
234 max_size: self.max_size,
235 }
236 }
237
238 /// Compute new accumulated value after addition.
239 pub fn compute_new_post_add(

Callers 5

addMethod · 0.80
add_batchMethod · 0.80
removeMethod · 0.80
remove_batchMethod · 0.80
batch_updatesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected