Skip to main content

Module constants

Module constants 

Source
Expand description

Centralized protocol-level string constants for the syncweb wire format.

All syncweb/ prefixed topic seeds, signature contexts, blob pin prefixes, document keys, and runtime naming conventions live here so that protocol changes are visible in a single location.

Constantsยง

CATALOG_METADATA_KEY
Iroh-docs key for catalog namespace metadata.
COLLECTION_MANIFEST_PIN_PREFIX
Pin prefix for collection manifest blobs.
COLLECTION_PIN_PREFIX
Pin prefix for collection content blobs.
DOWNLOAD_PIN_PREFIX
Pin prefix for one-off download blobs.
DROP_EXPORT_BLOB_STAGING_PREFIX
Prefix for drop-export blob staging files.
DROP_EXPORT_STAGING_PREFIX
Prefix for drop-export staging directories.
DROP_IMPORT_STAGING_PREFIX
Prefix for drop-import staging directories.
DROP_SOURCE_STAGING_PREFIX
Prefix for CLI drop source staging directories.
FILTER_LIST_CONTEXT
Domain separator for signed filter list entries.
LINK_SCHEME
The syncweb URI scheme prefix.
LINK_SIGNATURE_CONTEXT
Domain separator for signed content links (name pointers).
MATERIALIZATION_STAGING_PREFIX
Prefix for materialization staging directories.
MEMBER_LIST_SIGNATURE_CONTEXT
Domain separator for signed network membership lists.
MODE_KEY
Iroh-docs key for the folder sync mode.
NETWORK_MEMBERS_KEY
Iroh-docs key for the owner-signed network member list.
PACKAGES_DIR_NAME
Directory name for installed collection packages.
PUBLIC_PIN_PREFIX
Pin prefix for publicly shared folder blobs.
REPLICATION_PIN_PREFIX
Pin prefix for replication-rescue blobs.
RUNTIME_SOCKET_FILE_PREFIX
Prefix for the daemon runtime socket file.
SNAPSHOT_PIN_PREFIX
Pin prefix for snapshot blobs.