Skip to content
1 viewer

rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off

crates/cre8-util-raw-route-auth/src/tests.rs

cre8-util-raw-route-auth · module tests · src · 390 lines (313 code, 33 comment) · sha 40ebb0c2088d9f25

Items

const LOCAL_PEER const NETWORK const CALLER_PEER const CALLER_SEED const ROUTE

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
contextsrc/tests.rs:17fn2312322.5
enforcingsrc/tests.rs:72fn311611.8
header_mapsrc/tests.rs:45fn311501.7
credentialssrc/tests.rs:41fn311301.6
signsrc/tests.rs:51fn71430.8
assertionsrc/tests.rs:59fn121420.8
an_ungated_node_admits_an_unsigned_callersrc/tests.rs:79fn71050.5
an_ungated_node_keeps_the_declared_peer_header_but_marks_it_unverifiedsrc/tests.rs:88fn81060.5
an_off_posture_node_is_ungated_and_a_public_bind_closes_itsrc/tests.rs:98fn191050.5
the_env_override_wins_over_posture_in_both_directionssrc/tests.rs:119fn111030.5
an_enforcing_node_refuses_an_unsigned_callersrc/tests.rs:134fn61030.5
an_enforcing_node_refuses_a_signed_assertion_with_no_signature_headersrc/tests.rs:142fn81050.5
an_enforcing_node_refuses_a_foreign_signersrc/tests.rs:152fn121060.5
an_enforcing_node_refuses_a_trusted_peer_id_signed_by_the_wrong_keysrc/tests.rs:166fn121060.5
a_trusted_signed_caller_is_admittedsrc/tests.rs:180fn101080.5
an_assertion_for_another_route_does_not_open_this_onesrc/tests.rs:194fn101060.5
an_assertion_does_not_carry_a_different_bodysrc/tests.rs:206fn91060.5
an_assertion_aimed_at_another_peer_is_refused_heresrc/tests.rs:217fn91060.5
an_assertion_from_another_network_is_refusedsrc/tests.rs:228fn81050.5
a_caller_cannot_claim_the_local_peer_identitysrc/tests.rs:238fn101060.5
a_stale_assertion_is_refusedsrc/tests.rs:252fn91060.5
one_assertion_is_spendable_oncesrc/tests.rs:263fn111060.5
a_refused_assertion_does_not_burn_the_noncesrc/tests.rs:276fn91050.5
an_ungated_node_still_credits_a_good_signaturesrc/tests.rs:289fn91070.5
an_ungated_node_does_not_refuse_a_signature_it_would_have_served_unsignedsrc/tests.rs:300fn121070.5
a_nonce_outlives_the_freshness_window_of_a_future_dated_assertionsrc/tests.rs:316fn141010.5
a_node_with_no_network_state_cannot_resolve_a_caller_and_refusessrc/tests.rs:334fn111060.5
a_malformed_assertion_header_is_refused_without_parsing_a_bodysrc/tests.rs:347fn101040.5
an_assertion_with_a_foreign_schema_is_refusedsrc/tests.rs:359fn91050.5
signing_without_a_receiver_peer_id_fails_closedsrc/tests.rs:372fn51020.5
signing_without_a_seed_fails_closedsrc/tests.rs:379fn41020.5
the_local_peer_seed_comes_from_the_boot_seedsrc/tests.rs:385fn61020.5

Source not readable from this process.