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/model_custody.rs
Items
struct ShardHolder struct CustodySpotCheck enum CustodyJudgement impl CustodyJudgement const CUSTODY_ANSWER_GRACE_MS struct ChallengeReceipt impl ChallengeReceipt
Functions
By call-graph weight (PageRank; 1.0 is the average function). 15 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| spot_check_nonce_hexsrc/model_custody.rs:56 | fn | 11 | 1 | 2 | 2 | 1.3 | |
| challenge_receipt_messagesrc/model_custody.rs:175 | fn | 17 | 1 | 2 | 0 | 1.3 | |
| plan_spot_checkssrc/model_custody.rs:73 | fn | 30 | 5 | 3 | 1 | 0.8 | |
| corpussrc/model_custody.rs:325 | fn | 6 | 1 | 3 | 2 | 0.8 | |
| authorize_custody_slashsrc/model_custody.rs:233 | fn | 32 | 9 | 2 | 4 | 0.7 | |
| custody_failure_keysrc/model_custody.rs:268 | fn | 11 | 1 | 2 | 2 | 0.7 | |
| CustodyJudgement::is_slashablesrc/model_custody.rs:121 | method | 3 | 1 | 2 | 0 | 0.7 | |
| judge_spot_checksrc/model_custody.rs:128 | fn | 17 | 4 | 2 | 1 | 0.7 | |
| ChallengeReceipt::verifiessrc/model_custody.rs:208 | method | 9 | 1 | 1 | 2 | 0.6 | |
| ChallengeReceipt::signedsrc/model_custody.rs:196 | method | 11 | 1 | 2 | 1 | 0.6 | |
| holder_keyssrc/model_custody.rs:393 | fn | 5 | 1 | 2 | 2 | 0.6 | |
| slash_failed_custodysrc/model_custody.rs:288 | fn | 30 | 1 | 1 | 3 | 0.5 | |
| the_plan_is_deterministic_rotates_by_round_and_skips_bad_indicessrc/model_custody.rs:333 | fn | 21 | 1 | 0 | 2 | 0.5 | |
| judgement_names_the_rung_reached_and_only_failures_are_slashablesrc/model_custody.rs:356 | fn | 34 | 1 | 0 | 11 | 0.5 | |
| a_slash_needs_the_holders_signed_receipt_and_derives_its_own_verdictsrc/model_custody.rs:404 | fn | 58 | 1 | 0 | 7 | 0.5 |
Source not readable from this process.