Crate iroh_db_sync

Crate iroh_db_sync 

Source
Expand description

Bounded reconciliation protocol layered over iroh and iroh-blobs.

Structs§

GossipHint
One signed, content-free commit availability hint sent through iroh-gossip.

Enums§

SyncFrame
One canonical /iroh-db/sync/1 control-plane message.
SyncFrameError
A rejected control frame or reconciliation plan.

Constants§

MAX_CAPABILITY_BYTES
Maximum canonical capability-certificate size.
MAX_CAPABILITY_CHAIN
Maximum capability objects carried by one authenticated authority message.
MAX_CONTROL_CAPABILITIES
Maximum objects in the exact successor chain carried by a control grant.
MAX_CONTROL_FRAME
The default and accepted maximum encoded control-frame size.
MAX_GOSSIP_HINT
Maximum encoded gossip announcement size.
MAX_PROTOCOL_VERSION
Newest commit/sync protocol understood by this release.
MAX_REFERENCES
Maximum immutable references carried by one control frame.
MAX_SESSION_REFERENCES
Maximum aggregate immutable references accepted during one reconciliation round.
MIN_PROTOCOL_VERSION
Oldest commit/sync protocol understood by this release.

Functions§

missing_commits
Returns commit IDs accepted remotely but absent locally.
negotiate_protocol
Selects the newest protocol supported by both endpoints.