Skip to content

Documentation / @super-line/adapter-libp2p / CircuitRelayServerInit

Interface: CircuitRelayServerInit ​

Defined in: node_modules/.pnpm/@libp2p+circuit-relay-v2@4.2.7/node_modules/@libp2p/circuit-relay-v2/dist/src/index.d.ts:122

Properties ​

hopTimeout? ​

optional hopTimeout?: number

Defined in: node_modules/.pnpm/@libp2p+circuit-relay-v2@4.2.7/node_modules/@libp2p/circuit-relay-v2/dist/src/index.d.ts:129

Incoming hop requests must complete within this time in ms otherwise the stream will be reset

Default ​

ts
30000

maxInboundHopStreams? ​

optional maxInboundHopStreams?: number

Defined in: node_modules/.pnpm/@libp2p+circuit-relay-v2@4.2.7/node_modules/@libp2p/circuit-relay-v2/dist/src/index.d.ts:137

The maximum number of simultaneous HOP inbound streams that can be open at once


maxOutboundHopStreams? ​

optional maxOutboundHopStreams?: number

Defined in: node_modules/.pnpm/@libp2p+circuit-relay-v2@4.2.7/node_modules/@libp2p/circuit-relay-v2/dist/src/index.d.ts:141

The maximum number of simultaneous HOP outbound streams that can be open at once


maxOutboundStopStreams? ​

optional maxOutboundStopStreams?: number

Defined in: node_modules/.pnpm/@libp2p+circuit-relay-v2@4.2.7/node_modules/@libp2p/circuit-relay-v2/dist/src/index.d.ts:148

The maximum number of simultaneous STOP outbound streams that can be open at once.

Default ​

ts
300

reservations? ​

optional reservations?: ServerReservationStoreInit

Defined in: node_modules/.pnpm/@libp2p+circuit-relay-v2@4.2.7/node_modules/@libp2p/circuit-relay-v2/dist/src/index.d.ts:133

Configuration of reservations

Released under the MIT License.