MCPcopy 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

syncMethod · 0.80
test_peg_out_feesFunction · 0.80
simulate_peg_out_from_l2Function · 0.80

Calls 1

read_from_l2Method · 0.80

Tested by 4

test_peg_out_feesFunction · 0.64
simulate_peg_out_from_l2Function · 0.64