Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BitVM/BitVM
/ sync_l2
Method
sync_l2
bridge/src/client/client.rs:259–261 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
257
}
258
259
pub async fn sync_l2(&mut self) {
260
self.read_from_l2().await;
261
}
262
263
pub async fn flush(&mut self) {
264
self.save_to_data_store().await;
Callers
6
sync
Method · 0.80
handle_mock_l2_pegout_event_command
Method · 0.80
test_peg_out_fees
Function · 0.80
simulate_peg_out_from_l2
Function · 0.80
test_e2e_0_simulate_complete_peg_in
Function · 0.80
test_e2e_1_simulate_peg_out
Function · 0.80
Calls
1
read_from_l2
Method · 0.80
Tested by
4
test_peg_out_fees
Function · 0.64
simulate_peg_out_from_l2
Function · 0.64
test_e2e_0_simulate_complete_peg_in
Function · 0.64
test_e2e_1_simulate_peg_out
Function · 0.64