Hierarchy

  • WakuNode

Implements

  • Waku

Constructors

Properties

filter?: Filter
libp2p: Libp2p
lightPush?: LightPush
pingKeepAliveTimers: {
    [peer: string]: ReturnType<typeof setInterval>;
}

Type declaration

  • [peer: string]: ReturnType<typeof setInterval>
relay?: Relay
relayKeepAliveTimers: {
    [peer: string]: ReturnType<typeof setInterval>;
}

Type declaration

  • [peer: string]: ReturnType<typeof setInterval>
store?: Store

Methods

  • Dials to the provided peer.

    Parameters

    • peer: PeerId | Multiaddr

      The peer to dial

    • Optional protocols: Protocols[]

      Waku protocols we expect from the peer; Defaults to mounted protocols

    Returns Promise<Stream>

  • Return the local multiaddr with peer id on which libp2p is listening.

    Throws

    if libp2p is not listening on localhost.

    Returns string

  • Parameters

    • peerId: PeerId
    • pingPeriodSecs: number
    • relayPeriodSecs: number

    Returns void

Generated using TypeDoc