Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,932 · python 20,426 · 6,405 files · digest 3ddca2872e6e · built in 1.4 s · crystals off

crates/cre8-app-network/src/amendment.rs

cre8-app-network · module amendment · src · 645 lines (453 code, 137 comment) · sha cea22bb716e789cd

Items

const NETWORK_AMENDMENT_SCHEMA_V1 struct NetworkAmendmentPayload struct AmendmentAttestation struct NetworkAmendment impl CanonicalBytes for NetworkAmendmentPayload enum VerifyError impl Display for VerifyError impl Error for VerifyError

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
payloadsrc/amendment.rs:375fn1111602.6
canonical_bytes_for_signingsrc/amendment.rs:108fn41411.9
verify_amendmentsrc/amendment.rs:212fn1011031.6
att_fromsrc/amendment.rs:387fn41921.5
policy_with_minsrc/amendment.rs:392fn51901.5
apply_amendment_to_recordsrc/amendment.rs:315fn156631.3
target_field_recognizedsrc/amendment.rs:194fn31101.3
update_consensus_policysrc/amendment.rs:362fn51101.2
fresh_recordsrc/amendment.rs:398fn141501.2
sign_attestationsrc/amendment.rs:125fn121131.2
verify_amendment_payloadsrc/amendment.rs:223fn246110.9
verified_attestation_accountssrc/amendment.rs:248fn215120.9
verify_amendment_quorumsrc/amendment.rs:270fn302100.9
apply_app_hash_amendmentsrc/amendment.rs:331fn53100.9
apply_text_amendmentsrc/amendment.rs:337fn52100.9
apply_consensus_policy_amendmentsrc/amendment.rs:343fn184110.9
NetworkAmendmentPayload::canonical_bytes_for_signingsrc/amendment.rs:114trait impl31010.5
VerifyError::fmtsrc/amendment.rs:169trait impl206000.5
verifies_with_quorum_of_distinct_accountssrc/amendment.rs:416fn91040.5
rejects_when_attesting_accounts_below_quorumsrc/amendment.rs:427fn132040.5
duplicate_account_attestations_collapse_to_onesrc/amendment.rs:442fn172040.5
rejects_all_bad_signaturessrc/amendment.rs:461fn162040.5
partial_bad_signatures_dont_count_toward_quorumsrc/amendment.rs:479fn172040.5
rejects_network_id_mismatchsrc/amendment.rs:498fn152040.5
rejects_unsupported_schemasrc/amendment.rs:515fn91030.5
rejects_unknown_target_fieldsrc/amendment.rs:526fn132040.5
rejects_expired_amendmentsrc/amendment.rs:541fn92040.5
apply_consensus_policy_overlays_per_keysrc/amendment.rs:554fn111030.5
apply_app_hash_replacessrc/amendment.rs:567fn71030.5
apply_app_hash_empty_string_clearssrc/amendment.rs:576fn71030.5
apply_metadata_replaces_wholesalesrc/amendment.rs:585fn91030.5
apply_refreshes_updated_atsrc/amendment.rs:596fn91030.5
canonical_bytes_are_deterministicsrc/amendment.rs:609fn71020.5
amendment_round_trips_through_jsonsrc/amendment.rs:618fn71020.5
verify_error_display_covers_all_variantssrc/amendment.rs:632fn131000.5

Source not readable from this process.