Hierarchy

Implements

Constructors

  • Returns waku.ConnectionManager

Properties

#private: any
attemptDnsDiscovery: any
configuredPubsubTopics: string[]
currentActiveParallelDialCount: any
dialAttemptsForPeer: any
dialErrorsForPeer: any
dialPeer: any
dialPeerStorePeers: any
dispatchDiscoveryEvent: any
dispatchWakuConnectionEvent: any
getPeerShardInfo: any
getTagNamesForPeer: any

Fetches the tag names for a given peer

isP2PNetworkConnected: any
isPeerDialableBasedOnBootstrapStatus: any

Checks if the peer is dialable based on the following conditions:

  1. If the peer is a bootstrap peer, it is only dialable if the number of current bootstrap connections is less than the max allowed.
  2. If the peer is not a bootstrap peer
isPeerTopicConfigured: any
keepAliveManager: any
libp2p: any
onEventHandlers: any
options: any
pendingPeerDialQueue: any
processDialQueue: any
setP2PNetworkConnected: any
setP2PNetworkDisconnected: any
shouldDialPeer: any

Checks if the peer should be dialed based on the following conditions:

  1. If the peer is already connected, don't dial
  2. If the peer is not part of any of the configured pubsub topics, don't dial
  3. If the peer is not dialable based on bootstrap status, don't dial
  4. If the peer is already has an active dial attempt, or has been dialed before, don't dial it

Returns

true if the peer should be dialed, false otherwise

startEventListeners: any
startNetworkStatusListener: any
startPeerConnectionListener: any
startPeerDisconnectionListener: any
startPeerDiscoveryListener: any
stopNetworkStatusListener: any
instances: any

Methods

  • Parameters

    • peerId: PeerId

    Returns Promise<void>

  • Parameters

    • event: Event

    Returns boolean

  • Parameters

    • peerId: PeerId

    Returns Promise<void>

  • Returns boolean

  • Parameters

    • type: string

    Returns number

  • Type Parameters

    • Detail

    Parameters

    Returns boolean

  • Returns void