MCPcopy Create free account
hub / github.com/BitVM/BitVM / push_verifier_nonces

Method push_verifier_nonces

bridge/src/client/client.rs:1336–1345  ·  view source on GitHub ↗
(&mut self, graph_id: &GraphId)

Source from the content-addressed store, hash-verified

1334 }
1335
1336 pub fn push_verifier_nonces(&mut self, graph_id: &GraphId) {
1337 if self.verifier_context.is_none() {
1338 panic!("Can only be called by a verifier!");
1339 }
1340
1341 let graph = self.data.graph_mut(graph_id);
1342 let secret_nonces = graph.push_verifier_nonces(self.verifier_context.as_ref().unwrap());
1343 self.merge_secret_nonces(graph_id, secret_nonces);
1344 self.save_private_data();
1345 }
1346
1347 fn get_peg_in_graph(&self, peg_in_graph_id: &String) -> Result<&PegInGraph, Error> {
1348 self.data

Callers 9

test_peg_out_feesFunction · 0.45
test_musig2_peg_inFunction · 0.45
create_peg_out_graphFunction · 0.45
create_graphFunction · 0.45
create_peg_in_graphFunction · 0.45
create_peg_in_graphFunction · 0.45
create_peg_out_graphFunction · 0.45

Calls 4

graph_mutMethod · 0.80
as_refMethod · 0.80
merge_secret_noncesMethod · 0.80
save_private_dataMethod · 0.80

Tested by 7

test_peg_out_feesFunction · 0.36
test_musig2_peg_inFunction · 0.36
create_peg_out_graphFunction · 0.36
create_graphFunction · 0.36
create_peg_in_graphFunction · 0.36
create_peg_in_graphFunction · 0.36
create_peg_out_graphFunction · 0.36