Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_data
Method · 0.45
create_peg_in_graph
Method · 0.45
create_peg_out_graph
Method · 0.45
create_peg_in_graph_with_depositor_signatures
Method · 0.45
list_objects
Method · 0.45
create_directories_if_non_existent
Function · 0.45
list_objects
Method · 0.45
validate
Function · 0.45
get_sol_events
Method · 0.45
match_and_set_peg_out_event
Method · 0.45
finalize_musig2_taproot_input
Function · 0.45
sign_input_0
Method · 0.45
Calls
no outgoing calls
Tested by
15
setup_test
Function · 0.36
verify_funding_inputs
Function · 0.36
test_peg_out_fees
Function · 0.36
test_generate_signer_keys
Function · 0.36
create_peg_out_graph
Function · 0.36
test_peg_out_graph_serialization
Function · 0.36
test_challenge_success
Function · 0.36
test_disprove_success
Function · 0.36
test_peg_out_success
Function · 0.36
test_disprove_chain_success
Function · 0.36
test_start_time_timeout_success
Function · 0.36
test_take_2_success
Function · 0.36