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-peer/src/gossip.rs

cre8-app-peer · module gossip · src · 2,628 lines (2,172 code, 236 comment) · sha 9bc5154ed75fa5e6

Items

static CONVERGENCE_ORACLE struct GossipReport impl GossipReport struct RemotePeerRecord struct RemoteInit struct RemoteTruthState struct RemoteAppConfig struct HandshakeOutcome struct HandshakeTrust struct SelfInfo struct PeerCertificateFields const DEFAULT_DEAD_PEER_AGE_SECS const HEALTH_CHECK_FAILURE_THRESHOLD const HEALTH_CHECK_TIMEOUT struct HealthCheckReport impl HealthCheckReport

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
response_fieldsrc/gossip.rs:1741fn31202.2
persist_snapshotsrc/gossip.rs:1722fn143711.9
response_oksrc/gossip.rs:1737fn311311.9
response_body_withsrc/gossip.rs:1745fn321301.9
loopback_public_urlsrc/gossip.rs:1851fn135101.5
public_url_without_schemesrc/gossip.rs:1844fn62111.2
normalize_public_host_portsrc/gossip.rs:1865fn167201
fetch_peerssrc/gossip.rs:2447fn182131
dht_id_from_public_keysrc/gossip.rs:1787fn61101
fetch_peers_in_networksrc/gossip.rs:2318fn142131
settle_disputessrc/gossip.rs:1241fn354110.9
fetch_peer_pubkeyssrc/gossip.rs:2469fn262130.9
derive_public_addresssrc/gossip.rs:1898fn579230.9
extract_truth_ir_hashessrc/gossip.rs:1106fn215200.9
normalize_public_urlsrc/gossip.rs:1805fn286220.9
extract_listen_portsrc/gossip.rs:1882fn153200.9
public_url_with_schemesrc/gossip.rs:1834fn94110.9
handshake_trust_statesrc/gossip.rs:614fn157200.9
handshake_session_statussrc/gossip.rs:630fn74200.9
sync_peer_certificatesrc/gossip.rs:2149fn203150.8
fetch_peer_certificatessrc/gossip.rs:2219fn153130.8
local_crystal_canonical_hashsrc/gossip.rs:1159fn31110.8
fetch_peer_crystal_hashsrc/gossip.rs:1168fn233150.8
refresh_dht_bucketssrc/gossip.rs:2429fn165120.8
sync_peer_runtime_statesrc/gossip.rs:714fn7232140.8
sync_peer_certificatessrc/gossip.rs:2131fn82220.8
sync_remote_init_statesrc/gossip.rs:651fn311170.7
sync_peer_topicsrc/gossip.rs:1595fn232140.7
store_remote_attestationssrc/gossip.rs:1701fn205100.7
fetch_peer_initsrc/gossip.rs:2026fn382160.7
fetch_app_configsrc/gossip.rs:2088fn132150.7
fetch_peer_attestationssrc/gossip.rs:2236fn153130.7
fetch_peer_endorsementssrc/gossip.rs:2255fn214130.7
store_remote_endorsementssrc/gossip.rs:2282fn304130.7
compute_self_app_hashsrc/gossip.rs:1983fn121100.7
bootstrapsrc/gossip.rs:381fn8132150.7
establish_peer_sessionsrc/gossip.rs:855fn15082130.7
all_addresses_with_gossipsrc/gossip.rs:2008fn164210.7
peer_crystal_hash_matchessrc/gossip.rs:1100fn61120.7
fetch_peer_crystal_sync_messagesrc/gossip.rs:1128fn233150.7
apply_crystal_sync_messagesrc/gossip.rs:1152fn51110.7
subgraph_fetch_bodysrc/gossip.rs:1378fn152100.7
post_peer_subgraph_fetchsrc/gossip.rs:1423fn233150.7
remote_peer_capabilitiessrc/gossip.rs:250fn61100.7
announce_peer_topicsrc/gossip.rs:1619fn263150.6
record_topic_announcesrc/gossip.rs:1646fn93100.6
fetch_peer_topic_envelopesrc/gossip.rs:1656fn264150.6
apply_peer_topic_envelopesrc/gossip.rs:1683fn172100.6
sync_one_peer_crystalsrc/gossip.rs:1068fn312130.6
subgraph_announce_entriessrc/gossip.rs:1336fn171120.6
sync_wanted_subgraphsrc/gossip.rs:1354fn232130.6
post_peer_subgraph_announcesrc/gossip.rs:1395fn252150.6
readiness_connected_peer_idsrc/gossip.rs:1749fn81100.6
fetch_network_readinesssrc/gossip.rs:2066fn202150.6
check_peer_healthsrc/gossip.rs:2375fn292170.6
apply_dead_peer_prunesrc/gossip.rs:2416fn83120.6
peer_certificate_fieldssrc/gossip.rs:2170fn113100.6
peer_certificate_payloadsrc/gossip.rs:2182fn92100.6
peer_certificate_signature_validsrc/gossip.rs:2192fn31100.6
certificate_signer_knownsrc/gossip.rs:2196fn61110.6
store_verified_certificatesrc/gossip.rs:2203fn151110.6
merge_remote_peersrc/gossip.rs:307fn324150.6
fetch_seed_peerssrc/gossip.rs:340fn122110.6
self_infosrc/gossip.rs:2549fn91100.6
remote_initsrc/gossip.rs:2559fn121100.6
parse_remote_peersrc/gossip.rs:257fn262130.6
remote_peer_is_newsrc/gossip.rs:284fn61110.6
store_remote_peer_graphsrc/gossip.rs:291fn151130.6
persist_init_truth_envelopesrc/gossip.rs:683fn143120.6
init_dht_idsrc/gossip.rs:698fn32110.6
record_handshake_outcomesrc/gossip.rs:702fn113100.6
health_check_peer_idsrc/gossip.rs:2405fn32100.6
health_check_addresssrc/gossip.rs:2409fn61100.6
local_manifold_hashsrc/gossip.rs:1487fn41100.6
record_manifold_announcesrc/gossip.rs:1492fn93100.6
manifold_envelope_acceptedsrc/gossip.rs:1502fn32100.6
apply_peer_manifold_recordssrc/gossip.rs:1506fn123100.6
post_peer_manifold_announcesrc/gossip.rs:1521fn222150.6
post_peer_manifold_fetchsrc/gossip.rs:1545fn213150.6
sync_peer_init_statesrc/gossip.rs:638fn121120.5
persist_deferred_app_configsrc/gossip.rs:787fn133110.5
sync_peer_readiness_snapshotsrc/gossip.rs:801fn133130.5
sync_peer_attestationssrc/gossip.rs:815fn52120.5
sync_peer_endorsementssrc/gossip.rs:821fn52120.5
sync_remote_network_membership_countsrc/gossip.rs:827fn73110.5
sync_peer_app_configsrc/gossip.rs:835fn194120.5
sync_peer_crystalssrc/gossip.rs:1032fn356130.5
compat_crystal_sync_enabledsrc/gossip.rs:1293fn61110.5
sync_peer_subgraphssrc/gossip.rs:1307fn284130.5
sync_peer_manifold_assetssrc/gossip.rs:1457fn294160.5
sync_peer_via_topicssrc/gossip.rs:1578fn164120.5
fetch_peer_truthssrc/gossip.rs:2103fn262150.5
handshake_trust_from_payloadsrc/gossip.rs:550fn585130.5
persist_handshake_truth_envelopesrc/gossip.rs:1006fn173110.5
join_active_network_after_handshakesrc/gossip.rs:1024fn73130.5
handshake_noncesrc/gossip.rs:1758fn71110.5
derive_shared_key_materialsrc/gossip.rs:1766fn203100.5
local_peer_profilesrc/gossip.rs:212fn81110.5
local_peer_capabilitiessrc/gossip.rs:221fn111110.5
peer_announce_bodysrc/gossip.rs:233fn161100.5
sync_seed_peersrc/gossip.rs:353fn202140.5
settle_report_disputessrc/gossip.rs:374fn52110.5
sync_second_hop_peerssrc/gossip.rs:463fn172130.5
announce_self_to_peerssrc/gossip.rs:481fn163130.5
fetch_reachable_peer_pubkeyssrc/gossip.rs:498fn114110.5
record_convergence_snapshotsrc/gossip.rs:1198fn372130.5
classify_graph_obstructionssrc/gossip.rs:1281fn114110.5
build_self_infosrc/gossip.rs:1956fn241120.5
collect_seed_urlssrc/gossip.rs:1997fn91100.5
GossipReport::to_jsonsrc/gossip.rs:141method601000.5
HealthCheckReport::to_jsonsrc/gossip.rs:2349method91000.5
health_check_and_prunesrc/gossip.rs:2361fn132030.5
public_url_normalization_covers_loopback_scheme_and_rejection_pathssrc/gossip.rs:2501fn241030.5
derive_public_address_prefers_runtime_gateway_servicessrc/gossip.rs:2527fn161020.5
handshake_trust_state_derives_rejected_verified_signed_and_unverifiedsrc/gossip.rs:2573fn111020.5
establish_peer_session_covers_mismatch_missing_signer_and_failed_post_attemptsrc/gossip.rs:2586fn421040.5

Source not readable from this process.