MCPcopy Create free account
hub / github.com/SeismicSystems/summit / fetch_latest_checkpoint

Function fetch_latest_checkpoint

node/src/bin/observer.rs:485–492  ·  view source on GitHub ↗
(
    rpc_port: u16,
)

Source from the content-addressed store, hash-verified

483 println!("Test completed successfully!");
484
485 println!("Sending stop signals to all {} nodes...", node_runtimes.len());
486 for (idx, node_runtime) in node_runtimes.iter().enumerate() {
487 println!("Sending stop signal to node index {}...", idx);
488 let _ = node_runtime.stop_tx.send(());
489 }
490
491 Ok::<_, Box<dyn std::error::Error>>(node_runtimes)
492 }
493 })?;
494
495 println!("Waiting for all nodes to shut down...");

Callers 1

mainFunction · 0.85

Calls 2

buildMethod · 0.45
get_latest_checkpointMethod · 0.45

Tested by

no test coverage detected