Skip to main content

Module topic

Module topic 

Source
Expand description

Well-known gossip topic IDs for the igc-net protocol.

Topic IDs are fixed protocol constants.

The values are precomputed from the canonical derivation strings and embedded directly so the implementation matches the spec’s interoperability rules.

Constants§

ANALYTICS_TOPIC_ID
BLAKE3("igc-net/analytics/v1") as a 32-byte array.
ANALYTICS_TOPIC_STR
Derivation string for the analytics announcement topic. Nodes that publish or consume IGC_META_DOC analytics SHOULD join this topic.
ANNOUNCE_TOPIC_ID
BLAKE3("igc-net/announce/v1") as a 32-byte array.
ANNOUNCE_TOPIC_STR
Derivation string for the primary announcement topic. All compliant igc-net nodes MUST join this topic on startup.

Functions§

analytics_topic_id
BLAKE3("igc-net/analytics/v1") as a 32-byte array.
announce_topic_id
BLAKE3("igc-net/announce/v1") as a 32-byte array.