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
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| global_coordinatorsrc/coordinator/proof_collection.rs:268 | fn | 4 | 1 | 10 | 1 | 3.5 | |
| ComputeCoordinator::newsrc/coordinator/proof_collection.rs:127 | method | 3 | 1 | 1 | 0 | 3.5 | |
| verify_step_merkle_anchorsrc/coordinator/proof_collection.rs:332 | fn | 48 | 5 | 7 | 1 | 2.5 | |
| verify_distributedsrc/coordinator/proof_collection.rs:223 | fn | 42 | 8 | 3 | 0 | 2.4 | |
| ComputeCoordinator::submit_segmentsrc/coordinator/proof_collection.rs:164 | method | 34 | 5 | 4 | 0 | 1.6 | |
| ComputeCoordinator::assemble_proofsrc/coordinator/proof_collection.rs:200 | method | 20 | 1 | 3 | 1 | 1.5 | |
| ComputeCoordinator::plan_shardssrc/coordinator/proof_collection.rs:132 | method | 30 | 3 | 3 | 2 | 1.4 | |
| build_single_shard_anchorsrc/coordinator/proof_collection.rs:406 | fn | 10 | 1 | 4 | 1 | 1.3 | |
| build_multi_shard_chainsrc/coordinator/proof_collection.rs:420 | fn | 13 | 2 | 1 | 1 | 0.7 | |
| verify_proof_anchorsrc/coordinator/proof_collection.rs:387 | fn | 9 | 1 | 1 | 1 | 0.6 | |
| IncrementalProofCollector::newsrc/coordinator/proof_collection.rs:54 | method | 10 | 1 | 0 | 0 | 0.5 | |
| IncrementalProofCollector::receive_segmentsrc/coordinator/proof_collection.rs:66 | method | 35 | 4 | 0 | 1 | 0.5 | |
| IncrementalProofCollector::is_completesrc/coordinator/proof_collection.rs:103 | method | 3 | 1 | 0 | 0 | 0.5 | |
| IncrementalProofCollector::received_countsrc/coordinator/proof_collection.rs:108 | method | 3 | 1 | 0 | 0 | 0.5 | |
| IncrementalProofCollector::contiguous_countsrc/coordinator/proof_collection.rs:113 | method | 3 | 1 | 0 | 0 | 0.5 | |
| VerifyError::fmtsrc/coordinator/proof_collection.rs:290 | trait impl | 9 | 3 | 0 | 0 | 0.5 | |
| test_step_merkle_round_tripsrc/coordinator/proof_collection.rs:435 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| test_step_merkle_round_trip_multi_shardsrc/coordinator/proof_collection.rs:444 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| test_step_merkle_rejects_tampered_rootsrc/coordinator/proof_collection.rs:457 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| test_step_merkle_rejects_tampered_result_hashsrc/coordinator/proof_collection.rs:469 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| test_step_merkle_rejects_tampered_siblingsrc/coordinator/proof_collection.rs:482 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| test_step_merkle_rejects_empty_proof_for_nonzero_indexsrc/coordinator/proof_collection.rs:495 | fn | 9 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.