IrohDedicatedListenerSettings interface
A dedicated iroh listener identity (own key/allow-list/relay mode on its own endpoint) for a single MoQ input/output. Note the default-closed policy: relayMode 'default' (publicly reachable) with no allow-list refuses to start.
Signature:
export interface IrohDedicatedListenerSettings
Properties
| Property | Type | Description |
|---|---|---|
boolean |
(Optional) Explicit opt-in to accept ANY peer. |
|
string[] |
(Optional) Verified remote NodeIds (64-char hex) allowed to connect. |
|
string |
(Optional) Allow-list file (one hex NodeId per line, # comments). |
|
'default' | 'disabled' |
(Optional) 'default' (relays + discovery) or 'disabled' (direct paths only). |
|
string[] |
(Optional) Self-hosted relay server URLs (https) — uses YOUR relays and disables n0’s discovery. Mutually exclusive with relayMode 'disabled'. |
|
string |
(Optional) Identity key file (load-or-generate, mode 0600) — a stable NodeId across restarts. Omitted: fresh unpersisted identity per start. |
|
number |
Pool slot (>= 1; 0 is reserved for the shared endpoint). Inputs/ outputs naming the same slot share the listener (first configuration wins; later mismatching configs are rejected). |