Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-compute/src/coordinator/proof_collection.rs

cre8-app-compute · module coordinator::proof_collection · src · 504 lines (319 code, 112 comment) · sha 703fe98ba74de80d

Items

enum SegmentAction struct IncrementalProofCollector impl IncrementalProofCollector struct ComputeCoordinator impl ComputeCoordinator static COORDINATOR enum VerifyError impl Display for VerifyError impl Error for VerifyError

Functions

By call-graph weight (PageRank; 1.0 is the average function). 22 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
global_coordinatorsrc/coordinator/proof_collection.rs:268fn411013.5
ComputeCoordinator::newsrc/coordinator/proof_collection.rs:127method31103.5
verify_step_merkle_anchorsrc/coordinator/proof_collection.rs:332fn485712.5
verify_distributedsrc/coordinator/proof_collection.rs:223fn428302.4
ComputeCoordinator::submit_segmentsrc/coordinator/proof_collection.rs:164method345401.6
ComputeCoordinator::assemble_proofsrc/coordinator/proof_collection.rs:200method201311.5
ComputeCoordinator::plan_shardssrc/coordinator/proof_collection.rs:132method303321.4
build_single_shard_anchorsrc/coordinator/proof_collection.rs:406fn101411.3
build_multi_shard_chainsrc/coordinator/proof_collection.rs:420fn132110.7
verify_proof_anchorsrc/coordinator/proof_collection.rs:387fn91110.6
IncrementalProofCollector::newsrc/coordinator/proof_collection.rs:54method101000.5
IncrementalProofCollector::receive_segmentsrc/coordinator/proof_collection.rs:66method354010.5
IncrementalProofCollector::is_completesrc/coordinator/proof_collection.rs:103method31000.5
IncrementalProofCollector::received_countsrc/coordinator/proof_collection.rs:108method31000.5
IncrementalProofCollector::contiguous_countsrc/coordinator/proof_collection.rs:113method31000.5
VerifyError::fmtsrc/coordinator/proof_collection.rs:290trait impl93000.5
test_step_merkle_round_tripsrc/coordinator/proof_collection.rs:435fn71020.5
test_step_merkle_round_trip_multi_shardsrc/coordinator/proof_collection.rs:444fn111020.5
test_step_merkle_rejects_tampered_rootsrc/coordinator/proof_collection.rs:457fn101020.5
test_step_merkle_rejects_tampered_result_hashsrc/coordinator/proof_collection.rs:469fn111020.5
test_step_merkle_rejects_tampered_siblingsrc/coordinator/proof_collection.rs:482fn111020.5
test_step_merkle_rejects_empty_proof_for_nonzero_indexsrc/coordinator/proof_collection.rs:495fn91010.5

Source not readable from this process.