MCPcopy Index your code
hub / github.com/BitVM/BitVM / push

Method push

bridge/src/client/memory_cache.rs:35–37  ·  view source on GitHub ↗
(&mut self, key: K, value: V)

Source from the content-addressed store, hash-verified

33 }
34
35 pub fn push(&mut self, key: K, value: V) -> Option<(K, V)> {
36 self.0.push(key, value)
37 }
38
39 pub fn get<Q: ?Sized>(&mut self, key: &Q) -> Option<&V>
40 where

Callers 15

merge_dataMethod · 0.45
create_peg_in_graphMethod · 0.45
create_peg_out_graphMethod · 0.45
list_objectsMethod · 0.45
list_objectsMethod · 0.45
validateFunction · 0.45
get_sol_eventsMethod · 0.45
sign_input_0Method · 0.45

Calls

no outgoing calls

Tested by 15

setup_testFunction · 0.36
verify_funding_inputsFunction · 0.36
test_peg_out_feesFunction · 0.36
create_peg_out_graphFunction · 0.36
test_challenge_successFunction · 0.36
test_disprove_successFunction · 0.36
test_peg_out_successFunction · 0.36
test_take_2_successFunction · 0.36