mirror of
https://github.com/jmcorgan/fips.git
synced 2026-08-09 00:04:54 +00:00
Config changes: - Add ConnectPolicy enum (AutoConnect, OnDemand, Manual) - Add PeerAddress struct (transport, addr, priority) - Add PeerConfig struct (npub, alias, addresses, connect_policy) - Add top-level 'peers' section to Config (after transports) - Add accessor methods: peers(), auto_connect_peers() Node changes: - Add find_transport_for_type() to match transports by name - Add initiate_peer_connections() called after transports start - Add initiate_peer_connection() creates Link and Peer in Connecting state - Node::start() now initiates connections to auto-connect peers This completes the node startup sequence through step 5 (connect to static peers). Peers are created in Connecting state; the auth handshake implementation will transition them to Active.