Skip to content
1 viewer

rust 1,859,968 · typescript 235,218 · javascript 132,952 · python 20,426 · 6,406 files · digest c536f05fc420 · built in 1.4 s · crystals off

crates/cre8-app-inference-proof-api/src/weight_basis.rs

cre8-app-inference-proof-api · module weight_basis · src · 613 lines (455 code, 102 comment) · sha 6161ce96f8fedd99

Items

const MODEL_BASIS_SCHEMA_V1 const LEAF_DOMAIN const INNER_DOMAIN const EMPTY_DOMAIN struct WeightSliceRef struct BasisPathNode struct BasisInclusionProof const CUSTODY_DOMAIN struct CustodyChallenge struct CustodyProof enum CustodyVerdict

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
model_basis_root_hexsrc/weight_basis.rs:65fn821644.9
decode_sha256_hexsrc/weight_basis.rs:33fn196301.9
model_basis_leafsrc/weight_basis.rs:54fn71311.9
custody_answer_hexsrc/weight_basis.rs:309fn81321.6
abc_hashessrc/weight_basis.rs:421fn31511.3
verify_model_basis_rootsrc/weight_basis.rs:76fn82411.2
verify_custody_proofsrc/weight_basis.rs:383fn325351.2
slice_weights_from_chunkssrc/weight_basis.rs:105fn528431
verify_model_basis_inclusionsrc/weight_basis.rs:253fn258441
model_basis_inclusion_proofsrc/weight_basis.rs:202fn478450.9
verify_custody_answersrc/weight_basis.rs:319fn82210.9
basis_innersrc/weight_basis.rs:171fn71210.9
decode_hexsrc/weight_basis.rs:292fn155200.8
answer_custody_challengesrc/weight_basis.rs:359fn203450.8
hashes_forsrc/weight_basis.rs:507fn31210.7
basis_root_convention_is_frozensrc/weight_basis.rs:429fn141020.5
tampered_chunk_moves_the_rootsrc/weight_basis.rs:445fn81040.5
reordered_chunks_are_a_different_modelsrc/weight_basis.rs:455fn61020.5
malformed_chunk_hash_is_refusedsrc/weight_basis.rs:463fn61020.5
slice_cuts_across_chunk_boundaries_after_verifying_custodysrc/weight_basis.rs:471fn191030.5
slice_refuses_a_served_chunk_that_does_not_match_its_hashsrc/weight_basis.rs:492fn141030.5
inclusion_paths_fold_to_the_frozen_root_for_every_positionsrc/weight_basis.rs:515fn183050.5
inclusion_refuses_a_moved_chunk_a_swapped_hash_and_a_bent_pathsrc/weight_basis.rs:535fn281030.5
custody_answer_binds_the_nonce_and_the_bytessrc/weight_basis.rs:565fn111020.5
custody_proof_reaches_membership_without_the_chunk_and_answer_with_itsrc/weight_basis.rs:578fn351040.5

Source not readable from this process.