Add Iroh relay mode config

This commit is contained in:
Eric Wendland 2026-05-16 03:17:45 +02:00
commit 0f2ad755d9
13 changed files with 210 additions and 21 deletions

View file

@ -74,14 +74,20 @@ geth-to-geth connections without granting trust from discovery alone.
- Endpoint identity is bound to agent/node identity in local metadata.
- Restarting the daemon preserves higher-level node identity.
- `[ ]` Relay policy and configuration.
- `[x]` Built-in relay policy and configuration.
Acceptance criteria:
- Config can select disabled, default Iroh relays, staging relays, and future
custom relay maps.
- Config can select disabled, default Iroh relays, and staging relays.
- The intended product default uses relays unless explicitly disabled.
- `geth status --json` reports the selected relay mode.
- Tests cover config parsing and endpoint builder relay-mode selection.
- `[ ]` Custom relay maps.
Acceptance criteria:
- Config can define and select named custom relay maps.
- Invalid relay URLs fail config validation with clear errors.
- Status output identifies the selected custom relay map without exposing
unrelated config.
- `[ ]` LAN mDNS discovery.
Acceptance criteria:
- The daemon can advertise and discover local geth peer cards over mDNS.