Skip to main content

adverts

Function adverts 

Source
pub fn adverts(
    sqlite: &SqliteStore,
    pairing: &Pairing,
    name: &str,
    failing: &AtomicBool,
) -> Vec<Advert>
Expand description

What this daemon answers mDNS queries with, read on each query (each second on macOS): its sshd under its machine id once it holds a sync identity, and the pairing listener while one is open. A listener handing keys to a restore is never advertised, so no joining device dials it by mistake. A store that cannot be read is warned about once until a read succeeds, through failing.