Skip to main content

Module subnet_catalog

Module subnet_catalog 

Source
Expand description

Cached NNS subnet catalog models, resolution helpers, builders, and renderers.

Structs§

CatalogSnapshotAuthorityEvidence
CatalogSnapshotAuthorityEvidence
CatalogValidationContext
CatalogValidationContext
CertifiedRegistryCatalogEvidence
CertifiedRegistryCatalogEvidence
RawSubnetCatalog
RawSubnetCatalog
ResolvedCanisterRoute
ResolvedCanisterRoute
ResolvedSubnet
ResolvedSubnet
RoutingRange
RoutingRange
SubnetCatalogProvenance
SubnetCatalogProvenance
SubnetCatalogRegistryRecordEvidence
SubnetCatalogRegistryRecordEvidence
SubnetCatalogRegistryRecordSubject
SubnetCatalogRegistryRecordSubject
SubnetInfo
SubnetInfo
ValidatedSubnetCatalog
ValidatedSubnetCatalog

Enums§

CatalogAssurance
CatalogAssurance
CatalogError
CatalogError
ClassificationSource
ClassificationSource
GeographicScope
GeographicScope
ResolveAs
ResolveAs
ResolvedSubnetSubject
ResolvedSubnetSubject
SubnetCatalogRegistryRecordKind
SubnetCatalogRegistryRecordKind
SubnetCatalogRegistryValueEncoding
SubnetCatalogRegistryValueEncoding
SubnetCatalogRoutingSource
SubnetCatalogRoutingSource
SubnetKind
SubnetKind
SubnetSpecialization
SubnetSpecialization

Constants§

CANISTER_RANGES_KEY_PREFIX
Registry key prefix for authoritative canister-range routing shards.
CATALOG_SCHEMA_VERSION
Current persisted Subnet Catalog schema identifier; remains 1 before package 1.0.
CLASSIFICATION_SCHEMA_VERSION
Current classification policy schema.
MAINNET_NETWORK
Network identity used by all mainnet catalog requests and snapshots.
MAINNET_REGISTRY_CANISTER_ID
Canonical principal of the mainnet Registry canister.
RESOLVER_SCHEMA_VERSION
Current inclusive principal-byte resolver schema.
ROUTING_TABLE_KEY
Retired monolithic Registry routing-table key used only by explicit historical replay.
SUBNET_LIST_KEY
Exact Registry key containing the current Subnet list.
SUBNET_RECORD_KEY_PREFIX
Registry key prefix for individual Subnet records.

Functions§

canonical_principal_text
Parses a textual IC principal into canonical text.
catalog_to_pretty_json
Renders one subnet catalog JSON payload with stable pretty formatting.
parse_catalog_json
Decode and structurally validate one untrusted raw subnet catalog JSON payload.