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/model_custody.rs

cre8-app-compute · module model_custody · src · 462 lines (322 code, 106 comment) · sha e73f831d2092e126

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
spot_check_nonce_hexsrc/model_custody.rs:56fn111221.3
challenge_receipt_messagesrc/model_custody.rs:175fn171201.3
plan_spot_checkssrc/model_custody.rs:73fn305310.8
corpussrc/model_custody.rs:325fn61320.8
authorize_custody_slashsrc/model_custody.rs:233fn329240.7
custody_failure_keysrc/model_custody.rs:268fn111220.7
CustodyJudgement::is_slashablesrc/model_custody.rs:121method31200.7
judge_spot_checksrc/model_custody.rs:128fn174210.7
ChallengeReceipt::verifiessrc/model_custody.rs:208method91120.6
ChallengeReceipt::signedsrc/model_custody.rs:196method111210.6
holder_keyssrc/model_custody.rs:393fn51220.6
slash_failed_custodysrc/model_custody.rs:288fn301130.5
the_plan_is_deterministic_rotates_by_round_and_skips_bad_indicessrc/model_custody.rs:333fn211020.5
judgement_names_the_rung_reached_and_only_failures_are_slashablesrc/model_custody.rs:356fn3410110.5
a_slash_needs_the_holders_signed_receipt_and_derives_its_own_verdictsrc/model_custody.rs:404fn581070.5

Source not readable from this process.