Skip to main content

Module sync

Module sync 

Source

Structs§

Snapshot
A full snapshot — for bootstrapping new peers.
SyncOffer
SyncPayload
A sync response — entries the recipient should merge.

Constants§

PROTOCOL_VERSION
A sync offer — sent by a peer to advertise its state.

Functions§

entries_missing
Compute the entries that a remote peer is missing.
merge_entries
Merge remote entries into a local op log.