# Interface: NodeNetworkConfig

Defined in: [packages/core/src/node/types.ts:44](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L44)

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-createtransport"></a> `createTransport?` | `readonly` | (`iceServers`) => [`SignalledTransport`](https://minca.dev/api/core/interfaces/SignalledTransport.md) | How WebRTC connections are made; a node in a worker passes `remoteTransport` | [packages/core/src/node/types.ts:60](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L60) |
| <a id="property-hosts"></a> `hosts?` | `readonly` | readonly `string`[] | Hosts to look for the account registry at, so a new device with only the recovery code finds its spaces | [packages/core/src/node/types.ts:56](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L56) |
| <a id="property-iceservers"></a> `iceServers?` | `readonly` | readonly `RTCIceServer`[] | Replaces the default STUN servers. TURN servers relays offer are added to these. | [packages/core/src/node/types.ts:58](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L58) |
| <a id="property-nodes"></a> `nodes?` | `readonly` | readonly `string`[] | Always-on nodes to hold a socket to, `wss://host/peer#<DID>` (spec 04 §5.2); the space id is appended. The fragment pins the node's key. `ws://` only on this machine. | [packages/core/src/node/types.ts:54](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L54) |
| <a id="property-reach"></a> `reach?` | `readonly` | (`address`) => `Promise`\<`boolean`\> | Whether this node may connect to an address it found rather than was given: a host or node a record or an invite names, a relay a space or an invite names, a place a short link names, a host it asks to describe itself. Asked before each; `relays`, `nodes` and `hosts` here are taken as given. Default: anywhere. For a node a server runs for someone else, such as the MCP service's: what it reads is theirs to write, and must not make the server connect inside its own network. | [packages/core/src/node/types.ts:72](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L72) |
| <a id="property-relays"></a> `relays?` | `readonly` | readonly `string`[] | Where peers meet: Minca relays (`wss://`) and Nostr relays (`nostr+wss://`). Each space meets in the room named after its id. | [packages/core/src/node/types.ts:49](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L49) |
| <a id="property-transports"></a> `transports?` | `readonly` | (`spaceId`, `sessionDid`) => readonly [`PeerTransport`](https://minca.dev/api/core/interfaces/PeerTransport.md)[] | Extra transports per space, given this node's session DID: for a node serving sockets, or a test | [packages/core/src/node/types.ts:62](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L62) |
