Optionaloptions: {When true, only configured staticPeers are tracked; otherwise every
seen rfed.node announce is tracked (Rust from_static_only, default
false).
Called when an rfed.node announce is seen. Creates or updates peer entry.
16-byte rfed.node destination hash
PoW cost from announce app_data (optional)
Prunes peers not heard from within pruneAgeSecs (except static peers). Returns count of pruned peers.
Seed static peers as immediately-due sync targets. Called once at startup.
Mark that a sync attempt failed for a peer (increases backoff).
Mark that a sync attempt succeeded for a peer (resets backoff).
Mark that a sync attempt has started for a peer.
Returns a list of peer destination hashes that are due for sync. Called periodically by the main loop/runner.
Federation sync engine: tracks peers and schedules sync attempts.