ethereumjs-monorepo

@ethereumjs/devp2p / DPTServerOptions

Interface: DPTServerOptions

Table of contents

Properties

Properties

createSocket

Optional createSocket: Function

Function for socket creation

Default: dgram-created socket

Defined in

packages/devp2p/src/types.ts:127


endpoint

Optional endpoint: PeerInfo

Network info to send a long a request

Default: 0.0.0.0, no UDP or TCP port provided

Defined in

packages/devp2p/src/types.ts:120


timeout

Optional timeout: number

Timeout for peer requests

Default: 10s

Defined in

packages/devp2p/src/types.ts:113