interface WakuOptions {
    pingKeepAlive?: number;
    pubsubTopics: string[];
    relayKeepAlive?: number;
    userAgent?: string;
}

Properties

pingKeepAlive?: number

Set keep alive frequency in seconds: Waku will send a /ipfs/ping/1.0.0 request to each peer after the set number of seconds. Set to 0 to disable.

Default

{@link @waku/core.DefaultPingKeepAliveValueSecs}
pubsubTopics: string[]
relayKeepAlive?: number

Set keep alive frequency in seconds: Waku will send a ping message over relay to each peer after the set number of seconds. Set to 0 to disable.

Default

{@link @waku/core.DefaultRelayKeepAliveValueSecs}
userAgent?: string

Set the user agent string to be used in identification of the node.

Default

{@link @waku/core.DefaultUserAgent}

Generated using TypeDoc