Johnathan Corgan d2851d8406 Add peer configuration and connection initiation
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.
2026-01-31 22:53:26 +00:00
2026-01-30 21:02:33 +00:00

FIPS Documentation

Directory Description
design/ Protocol design specifications and analysis
Description
The Free Internetworking Peering System
Readme MIT 30 MiB
Languages
Rust 86.1%
Shell 10.4%
Python 3%
PowerShell 0.2%
Makefile 0.1%