Skip to main content

Module config

Module config 

Source
Expand description

Protocol configuration.

Structs§

CustodyConfig
Custody: holding a neighbour’s replication frame for hours instead of the seconds a forwarder gives it (docs/spec/custody.md).
DataConfig
Configuration for the replicated-document data layer.
EncryptionConfig
Encryption configuration for automatic MLS handling.
GroupConfig
Configuration for group messaging.
PendingQueueConfig
Configuration for inbound encrypted messages received before session readiness.
ProtocolConfig
Main configuration for the Offline Protocol.
ProtocolConfigBuilder
Builder for ProtocolConfig with a fluent API.
ReliabilityConfig
Reliability configuration combining ACK, retry, and deduplication settings.
SecurityConfig
Security configuration for transport and control-message hardening.
TransportConfig
Transport-specific configuration.

Enums§

OverflowPolicy
Overflow policy for bounded pending encrypted message queues.

Constants§

CUSTODY_MIN_BYTES_PER_DEPOSITOR
The smallest per-depositor byte budget that admits one replication frame at its ceiling: 64 KiB.
DEFAULT_CUSTODY_HOLD_MS
How long a custodian holds a deposited frame by default: six hours.
DEFAULT_CUSTODY_MAX_BYTES
Bytes across every depositor, by default: 16 MiB.
DEFAULT_CUSTODY_MAX_BYTES_PER_DEPOSITOR
Bytes one depositor may have in custody at once, by default: 2 MiB.
DEFAULT_CUSTODY_MAX_ENTRIES
Held frames across every depositor, by default.
DEFAULT_CUSTODY_MAX_ENTRIES_PER_DEPOSITOR
Held frames one depositor may have in custody at once, by default.
DEFAULT_PENDING_TTL_MS
Default TTL for the pending-decryption queue (24 hours, in ms).