Skip to main content

Module local

Module local 

Source
Expand description

Same-host instance discovery via a small registry under ~/.fips.

This is deliberately lower-tech than mDNS: processes owned by the same user publish a JSON record with loopback-reachable transport contacts. Consumers treat records as routing hints only. The Noise handshake still authenticates the advertised npub, so a stale or spoofed file cannot impersonate a peer.

Structs§

LocalInstanceContact
LocalInstanceDiscoveryConfig
Runtime configuration for the same-host JSON registry.
LocalInstanceRecord
LocalInstanceRegistry

Enums§

LocalInstanceRegistryError

Constants§

LOCAL_INSTANCE_RECORD_VERSION

Functions§

contact_for_transport_addr