Expand description
The pull protocol running on a weirdnet_net::Node (/weirdnet/sync/1).
The official WeirdBrains relay must not store pages; this module only exchanges sealed envelopes between the user’s own nodes.
Structs§
- Sync
Handler - Request-response handler that talks
EnvelopeonSYNC_PROFILE. - Sync
State - Mutable state a sync node answers from and applies pages into.
Functions§
- node_
config - Listen with the in-memory transport (tests) or the caller’s config, 256 KiB caps.
- observe
- Advance our clock past the newest op held, so the next local write orders after everything this node has seen (a visit after a remote clear, say).
- pull_
from - Hello then pull every roster member the peer advertised, applying pages and acking.
- start_
node - Start a sync node on
SYNC_PROFILE.