Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NetworkOptions

Options that can be provided for Network.

Hierarchy

  • NetworkOptions

Index

Properties

Optional endpoint

endpoint?: boolean

If this client should connect to the network as an endpoint. This helps the network know that this client isn't intended to perform routing and that a transport may opt to connect to fewer peers.

name

name: string

The name of the network.

Optional transports

transports?: Transport[]

Transports of the network. These transports will be automatically added and started together with the network.

Generated using TypeDoc