Skip to main content

Module dial

Module dial 

Source

Structs§

Dial
A peer the sync loop dials, with its routes in the order they are tried.

Enums§

Route
One way to reach a peer.

Functions§

device_dials
Every active device of this store’s identity that can be reached, by its device routes and the sync-peers lines matched to it. Revoked devices are never dialled, by either kind of route.
dials
device_dials, then line_dials.
found_dials
Dials for the active devices of this store’s identity that an mDNS lookup found, at the addresses their answers came from. A responder counts only under a machine id the device list holds as active, so an unknown, revoked or own id is ignored.
line_answered
What a sync-peers line’s host answered: once it names a device this store holds a row for, the line becomes that device’s route.
line_dials
Every sync-peers line not yet matched to a device; once every line is matched the file is no longer read.
record_answered
Records a device route that answered as its device: its address goes ahead of those held, with the login and port that reached it. An address already held changes nothing. True when something was recorded.
refuse_answer
A route that answered with another machine id than the device it was dialled for: an address now held by another machine, or a sync-peers host that is a revoked device.
sync_partners
The active devices of this store’s identity besides this one, whether or not this device can dial them, plus the sync-peers lines not yet matched to one. Reads only.
undialled
True when an active device of this identity has no dial in dials, which an mDNS lookup may find.