Expand description
API for iroh-sync replicas
Structs
- Author key to insert entries in a
crate::Replica - Timestamps of the latest entry for each author.
AuthorPublicKeyin bytes- Identifier for an
Author - A single entry in a
Replica - Signature over an entry.
- Namespace key of a
crate::Replica. NamespacePublicKeyin bytes- Identifier for a
Namespace - The data part of an entry in a
Replica. - The indentifier of a record.
- Local representation of a mutable, synchronizable key-value store.
- A signed entry.
- Outcome of a sync operation.
Enums
- Whether the content status is available on a node.
- Error emitted when inserting entries into a
Replicafailed - Whether an entry was inserted locally or by a remote peer.
- Reason why entry validation failed
Constants
- Max time in the future from our wall clock time that we accept entries for. Value is 10 minutes.
Type Aliases
- Callback that may be set on a replica to determine the availability status for a content hash.
- Byte represenation of a
PeerIdfromiroh-net. - Protocol message for the set reconciliation protocol.