diff --git a/index.html b/index.html index 4dc17449..c02cd12c 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - libp2p 0.29.0 | Documentation + libp2p 0.29.1 | Documentation @@ -15,7 +15,7 @@

libp2p

-
0.29.0
+
0.29.1
+
  • + #stop +
  • + @@ -1951,7 +1957,7 @@ - + src/index.js @@ -2020,7 +2026,7 @@
    - + src/index.js @@ -2110,7 +2116,7 @@ instance if one is not provided in options.

    - + src/index.js @@ -2198,7 +2204,7 @@ if there is a handler. If not, errors will be logged.

    - + src/index.js @@ -2264,7 +2270,7 @@ if there is a handler. If not, errors will be logged.

    - + src/index.js @@ -2330,7 +2336,7 @@ if there is a handler. If not, errors will be logged.

    - + src/index.js @@ -2397,7 +2403,7 @@ Imports the private key as 'self', if needed.

    - + src/index.js @@ -2464,7 +2470,7 @@ Imports the private key as 'self', if needed.

    - + src/index.js @@ -2577,7 +2583,7 @@ peer will be added to the nodes peerStore

    - + src/index.js @@ -2699,7 +2705,7 @@ and the Connection will be returned

    - + src/index.js @@ -2767,7 +2773,7 @@ Duplicated addresses and noAnnounce addresses are filtered out.

    - + src/index.js @@ -2847,7 +2853,7 @@ Duplicated addresses and noAnnounce addresses are filtered out.

    - + src/index.js @@ -2927,7 +2933,7 @@ Duplicated addresses and noAnnounce addresses are filtered out.

    - + src/index.js @@ -3006,7 +3012,7 @@ Duplicated addresses and noAnnounce addresses are filtered out.

    - + src/index.js @@ -3086,7 +3092,7 @@ will no longer be supported on streams.

    - + src/peer-routing.js @@ -3095,7 +3101,7 @@ will no longer be supported on streams.

    Iterates over all peer routers in series to find the given peer.

    -
    findPeer(id: String, options: object?): Promise<{id: PeerId, multiaddrs: Array<Multiaddr>}>
    +
    findPeer(id: string, options: object?): Promise<{id: PeerId, multiaddrs: Array<Multiaddr>}>
    @@ -3112,7 +3118,7 @@ will no longer be supported on streams.

    - id (String) + id (string) The id of the peer to find
    @@ -3195,7 +3201,7 @@ will no longer be supported on streams.

    - + src/content-routing.js @@ -3314,7 +3320,7 @@ Once a content router succeeds, iteration will stop.

    - + src/content-routing.js @@ -3391,7 +3397,7 @@ a provider of the given key.

    - + src/content-routing.js @@ -3508,7 +3514,7 @@ a provider of the given key.

    - + src/content-routing.js @@ -3618,7 +3624,7 @@ Times out after 1 minute by default.

    - + src/content-routing.js @@ -3735,7 +3741,7 @@ Times out after 1 minute by default.

    - + src/get-peer.js @@ -3745,7 +3751,7 @@ Times out after 1 minute by default.

    Converts the given peer to a Peer object. If a multiaddr is received, the addressBook is updated.

    -
    getPeer(peer: (PeerId | Multiaddr | string), peerStore: PeerStore): {id: PeerId, multiaddrs: Array<Multiaddr>}
    +
    getPeer(peer: (PeerId | Multiaddr | string)): {id: PeerId, multiaddrs: Array<Multiaddr>}
    @@ -3768,14 +3774,6 @@ If a multiaddr is received, the addressBook is updated.

    -
    -
    - peerStore (PeerStore) - -
    - -
    -
    @@ -3819,7 +3817,7 @@ If a multiaddr is received, the addressBook is updated.

    - + src/address-manager/index.js @@ -3943,7 +3941,7 @@ address adverstising to other peers in the network.

    - + src/address-manager/index.js @@ -4009,7 +4007,7 @@ address adverstising to other peers in the network.

    - + src/address-manager/index.js @@ -4075,7 +4073,7 @@ address adverstising to other peers in the network.

    - + src/address-manager/index.js @@ -4149,7 +4147,7 @@ address adverstising to other peers in the network.

    - + src/connection-manager/index.js @@ -4229,7 +4227,7 @@ address adverstising to other peers in the network.

    - + src/connection-manager/index.js @@ -4292,7 +4290,7 @@ address adverstising to other peers in the network.

    - + src/connection-manager/index.js @@ -4355,7 +4353,7 @@ address adverstising to other peers in the network.

    - + src/connection-manager/index.js @@ -4413,7 +4411,7 @@ address adverstising to other peers in the network.

    - + src/connection-manager/index.js @@ -4472,7 +4470,7 @@ only event loop and connection limits will be monitored.

    - + src/connection-manager/index.js @@ -4530,7 +4528,7 @@ only event loop and connection limits will be monitored.

    - + src/connection-manager/index.js @@ -4588,7 +4586,7 @@ only event loop and connection limits will be monitored.

    - + src/connection-manager/index.js @@ -4669,7 +4667,7 @@ will be disconnected first.

    - + src/connection-manager/index.js @@ -4740,7 +4738,7 @@ will be disconnected first.

    - + src/connection-manager/index.js @@ -4811,7 +4809,7 @@ will be disconnected first.

    - + src/connection-manager/index.js @@ -4890,7 +4888,7 @@ will be disconnected first.

    - + src/connection-manager/index.js @@ -4977,7 +4975,7 @@ will be disconnected first.

    - + src/connection-manager/latency-monitor.js @@ -5031,7 +5029,7 @@ will be disconnected first.

    - + src/connection-manager/latency-monitor.js @@ -5062,35 +5060,35 @@ will be disconnected first.

    - events (Number) + events (number) : How many events were called
    - minMS (Number) + minMS (number) : What was the min time for a cb to be called
    - maxMS (Number) + maxMS (number) : What was the max time for a cb to be called
    - avgMs (Number) + avgMs (number) : What was the average time for a cb to be called
    - lengthMs (Number) + lengthMs (number) : How long this interval was in ms @@ -5129,7 +5127,7 @@ will be disconnected first.

    - + src/connection-manager/latency-monitor.js @@ -5142,7 +5140,7 @@ This can be disabled and stats can be pulled via setting dataEmitIntervalMs = 0.

    The default implementation is an event loop latency monitor. This works by firing periodic events into the event loop and timing how long it takes to get back.

    -
    new LatencyMonitor($0: Object, latencyCheckIntervalMs: Number, dataEmitIntervalMs: Number, asyncTestFn: function?, latencyRandomPercentage: Number)
    +
    new LatencyMonitor($0: Object, options: object?)

    @@ -5223,39 +5221,8 @@ and timing how long it takes to get back.

    - latencyCheckIntervalMs (Number - = 500) - How often to add a latency check event (ms) - -
    - -
    - -
    -
    - dataEmitIntervalMs (Number - = 5000) - How often to summarize latency check events. null or 0 disables event firing - -
    - -
    - -
    -
    - asyncTestFn (function?) - What cb-style async function to use - -
    - -
    - -
    -
    - latencyRandomPercentage (Number - = 5) - What percent (+/-) of latencyCheckIntervalMs should we randomly use? This helps avoid alignment to other events. - + options (object?) +
    @@ -5304,7 +5271,7 @@ monitor.on('data', (summary) => - + src/connection-manager/latency-monitor.js @@ -5379,7 +5346,7 @@ it will not count for this time period

    - + src/connection-manager/visibility-change-emitter.js @@ -5433,7 +5400,7 @@ it will not count for this time period

    - + src/connection-manager/visibility-change-emitter.js @@ -5507,7 +5474,7 @@ it will not count for this time period

    - + src/connection-manager/visibility-change-emitter.js @@ -5517,7 +5484,7 @@ it will not count for this time period

    The function returns true if the page is visible or false if the page is not visible and undefined if the page visibility API is not supported by the browser.

    -
    isVisible(): (Boolean | void)
    +
    isVisible(): (boolean | void)
    @@ -5535,7 +5502,7 @@ it will not count for this time period

    Returns
    - (Boolean | void): + (boolean | void): whether the page is now visible or not (undefined is unknown) @@ -5570,7 +5537,7 @@ it will not count for this time period

    - + src/circuit/index.js @@ -5669,7 +5636,7 @@ it will not count for this time period

    - + src/circuit/index.js @@ -5779,7 +5746,7 @@ it will not count for this time period

    - + src/circuit/index.js @@ -5862,7 +5829,7 @@ it will not count for this time period

    - + src/circuit/index.js @@ -5937,7 +5904,7 @@ it will not count for this time period

    - + src/circuit/index.js @@ -5991,7 +5958,7 @@ it will not count for this time period

    - + src/identify/index.js @@ -6059,7 +6026,7 @@ it will not count for this time period

    - + src/circuit/listener.js @@ -6129,7 +6096,7 @@ it will not count for this time period

    - + src/circuit/listener.js @@ -6208,7 +6175,7 @@ it will not count for this time period

    - + src/circuit/listener.js @@ -6274,7 +6241,7 @@ it will not count for this time period

    - + src/circuit/listener.js @@ -6359,7 +6326,7 @@ be dialed over TCP rather than any other transport

    - + src/circuit/circuit/hop.js @@ -6420,14 +6387,6 @@ peer. A new, virtual, connection will be created between the two via the relay.< - - options.circuit Circuit - - - - - - @@ -6476,7 +6435,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/utils.js @@ -6551,7 +6510,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/utils.js @@ -6627,7 +6586,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/stream-handler.js @@ -6680,7 +6639,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - options.maxLength Number + options.maxLength number (default 4096) @@ -6730,7 +6689,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/stream-handler.js @@ -6792,7 +6751,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/stream-handler.js @@ -6860,7 +6819,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/stream-handler.js @@ -6922,7 +6881,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/stream-handler.js @@ -6984,7 +6943,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/dialer/index.js @@ -6992,7 +6951,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< -
    new constructor($0: Object, options: object, peerStore: Peerstore)
    +
    new constructor(options: object)
    @@ -7007,76 +6966,6 @@ peer. A new, virtual, connection will be created between the two via the relay.<
    Parameters
    -
    -
    - $0 (Object) - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameDescription
    $0.transportManager any -
    $0.peerStore any -
    $0.concurrency any - - (default MAX_PARALLEL_DIALS) -
    $0.timeout any - - (default DIAL_TIMEOUT) -
    $0.perPeerLimit any - - (default MAX_PER_PEER_DIALS) -
    - -
    -
    options (object) @@ -7105,10 +6994,19 @@ peer. A new, virtual, connection will be created between the two via the relay.< - options.concurrency number + options.peerStore Peerstore - Number of max concurrent dials. Defaults to -MAX_PARALLEL_DIALS + + + + + + + options.concurrency number + + (default MAX_PARALLEL_DIALS) + + Number of max concurrent dials. @@ -7116,9 +7014,21 @@ peer. A new, virtual, connection will be created between the two via the relay.< options.timeout number + + (default DIAL_TIMEOUT) - How long a dial attempt is allowed to take. Defaults to -DIAL_TIMEOUT + How long a dial attempt is allowed to take. + + + + + + + options.perPeerLimit number + + (default MAX_PER_PEER_DIALS) + + Number of max concurrent dials per peer. @@ -7129,14 +7039,6 @@ peer. A new, virtual, connection will be created between the two via the relay.<
    -
    -
    - peerStore (Peerstore) - -
    - -
    -
    @@ -7172,7 +7074,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/dialer/index.js @@ -7226,7 +7128,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/dialer/index.js @@ -7338,7 +7240,7 @@ will be used.

    - + src/dialer/index.js @@ -7421,7 +7323,7 @@ will be used.

    - + src/dialer/index.js @@ -7524,7 +7426,7 @@ will be used.

    - + src/dialer/dial-request.js @@ -7635,7 +7537,7 @@ all other dials in the request will be cancelled.

    - + src/dialer/dial-request.js @@ -7734,7 +7636,7 @@ all other dials in the request will be cancelled.

    - + src/keychain/index.js @@ -7812,7 +7714,7 @@ all other dials in the request will be cancelled.

    - + src/keychain/index.js @@ -7890,7 +7792,7 @@ all other dials in the request will be cancelled.

    - + src/keychain/index.js @@ -7956,7 +7858,7 @@ all other dials in the request will be cancelled.

    - + src/keychain/index.js @@ -8031,7 +7933,7 @@ The default options for a keychain.

    - + src/keychain/index.js @@ -8101,7 +8003,7 @@ arbitrary message content.

    - + src/keychain/index.js @@ -8199,7 +8101,7 @@ arbitrary message content.

    - + src/keychain/index.js @@ -8265,7 +8167,7 @@ arbitrary message content.

    - + src/keychain/index.js @@ -8345,7 +8247,7 @@ arbitrary message content.

    - + src/keychain/index.js @@ -8425,7 +8327,7 @@ arbitrary message content.

    - + src/keychain/index.js @@ -8505,7 +8407,7 @@ arbitrary message content.

    - + src/keychain/index.js @@ -8594,7 +8496,7 @@ arbitrary message content.

    - + src/keychain/index.js @@ -8683,7 +8585,7 @@ arbitrary message content.

    - + src/keychain/index.js @@ -8789,7 +8691,7 @@ arbitrary message content.

    - + src/keychain/cms.js @@ -8859,7 +8761,7 @@ arbitrary message content.

    - + src/keychain/cms.js @@ -8949,7 +8851,7 @@ arbitrary message content.

    - + src/keychain/cms.js @@ -9039,7 +8941,7 @@ exists, an Error is returned with the property 'missingKeys'. It is array of ke - + src/keychain/util.js @@ -9126,7 +9028,7 @@ exists, an Error is returned with the property 'missingKeys'. It is array of ke - + src/keychain/util.js @@ -9205,7 +9107,7 @@ resolve to either true or false.

    - + src/metrics/index.js @@ -9327,7 +9229,7 @@ resolve to either true or false.

    - + src/metrics/index.js @@ -9382,7 +9284,7 @@ will be ignored.

    - + src/metrics/index.js @@ -9437,7 +9339,7 @@ Once stop is called, start must be called to resume st - + src/metrics/index.js @@ -9499,7 +9401,7 @@ Once stop is called, start must be called to resume st - + src/metrics/index.js @@ -9561,7 +9463,7 @@ Once stop is called, start must be called to resume st - + src/metrics/index.js @@ -9637,7 +9539,7 @@ is a live peer, or in the disconnected peer LRU cache.

    - + src/metrics/index.js @@ -9699,7 +9601,7 @@ is a live peer, or in the disconnected peer LRU cache.

    - + src/metrics/index.js @@ -9774,7 +9676,7 @@ is a live peer, or in the disconnected peer LRU cache.

    - + src/metrics/index.js @@ -9843,7 +9745,7 @@ be stopped and moved to an LRU for temporary retention.

    - + src/metrics/index.js @@ -9921,7 +9823,7 @@ placeholder stats will be merged with the existing stats.

    - + src/metrics/index.js @@ -9978,16 +9880,7 @@ with the placeholder string returned from here, and the known PeerId - options.protocol string? - - The protocol the stream is running - - - - - - - options.peerId PeerId? + options.remotePeer PeerId? The id of the remote peer that's connected @@ -9996,9 +9889,10 @@ with the placeholder string returned from here, and the known PeerId - options.remotePeer any + options.protocol string? - + The protocol the stream is running + @@ -10051,7 +9945,7 @@ with the placeholder string returned from here, and the known PeerId - + src/metrics/index.js @@ -10135,7 +10029,7 @@ and returned.

    - + src/metrics/old-peers.js @@ -10144,7 +10038,7 @@ and returned.

    Creates and returns a Least Recently Used Cache

    -
    old-peers(maxSize: Number): LRUCache
    +
    old-peers(maxSize: number): LRUCache
    @@ -10161,7 +10055,7 @@ and returned.

    - maxSize (Number) + maxSize (number)
    @@ -10210,7 +10104,7 @@ and returned.

    - + src/metrics/stats.js @@ -10290,7 +10184,7 @@ and returned.

    - + src/metrics/stats.js @@ -10358,7 +10252,7 @@ should only need to be called if Stats.stop was previously called,
    - + src/metrics/stats.js @@ -10425,7 +10319,7 @@ timer.

    - + src/metrics/stats.js @@ -10491,7 +10385,7 @@ timer.

    - + src/metrics/stats.js @@ -10557,7 +10451,7 @@ timer.

    - + src/metrics/stats.js @@ -10623,7 +10517,7 @@ timer.

    - + src/metrics/stats.js @@ -10719,7 +10613,7 @@ current Timestamp, then resets the update timer.

    - + src/transport-manager.js @@ -10830,7 +10724,7 @@ current Timestamp, then resets the update timer.

    - + src/transport-manager.js @@ -10839,7 +10733,7 @@ current Timestamp, then resets the update timer.

    Adds a Transport to the manager

    -
    add(key: String, Transport: Transport, transportOptions: any): void
    +
    add(key: string, Transport: Transport, transportOptions: any): void
    @@ -10856,7 +10750,7 @@ current Timestamp, then resets the update timer.

    - key (String) + key (string)
    @@ -10923,7 +10817,7 @@ current Timestamp, then resets the update timer.

    - + src/transport-manager.js @@ -10977,7 +10871,7 @@ current Timestamp, then resets the update timer.

    - + src/transport-manager.js @@ -11060,7 +10954,7 @@ current Timestamp, then resets the update timer.

    - + src/transport-manager.js @@ -11122,7 +11016,7 @@ current Timestamp, then resets the update timer.

    - + src/transport-manager.js @@ -11184,7 +11078,7 @@ current Timestamp, then resets the update timer.

    - + src/transport-manager.js @@ -11259,7 +11153,7 @@ current Timestamp, then resets the update timer.

    - + src/transport-manager.js @@ -11313,7 +11207,7 @@ current Timestamp, then resets the update timer.

    - + src/transport-manager.js @@ -11381,7 +11275,7 @@ If a transport has any running listeners, they will be closed.

    - + src/transport-manager.js @@ -11436,7 +11330,7 @@ If any listeners are running, they will be closed.

    - + src/transport-manager.js @@ -11497,7 +11391,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/upgrader.js @@ -11604,7 +11498,7 @@ NO_FATAL should be used for not failing when not listening.

    - sink (function) + sink (Function)
    @@ -11658,7 +11552,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/upgrader.js @@ -11737,7 +11631,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/upgrader.js @@ -11824,7 +11718,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/upgrader.js @@ -11988,7 +11882,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/upgrader.js @@ -12067,7 +11961,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/upgrader.js @@ -12154,7 +12048,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/index.js @@ -12163,7 +12057,7 @@ NO_FATAL should be used for not failing when not listening.

    Responsible for managing known peers, as well as their addresses, protocols and metadata.

    -
    new PeerStore($0: Object)
    +
    new PeerStore($0: Object, options: object)

    @@ -12217,6 +12111,14 @@ NO_FATAL should be used for not failing when not listening.

    +
    +
    + options (object) + +
    + +
    +
    @@ -12250,7 +12152,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/index.js @@ -12308,7 +12210,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/index.js @@ -12366,7 +12268,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/index.js @@ -12424,7 +12326,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/index.js @@ -12482,7 +12384,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/index.js @@ -12540,7 +12442,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/index.js @@ -12598,7 +12500,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/index.js @@ -12664,7 +12566,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/index.js @@ -12743,7 +12645,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/index.js @@ -12830,7 +12732,7 @@ NO_FATAL should be used for not failing when not listening.

    - + src/peer-store/address-book.js @@ -12903,7 +12805,7 @@ of a peer.

    - + src/peer-store/address-book.js @@ -12966,7 +12868,7 @@ of a peer.

    - + src/peer-store/address-book.js @@ -13047,7 +12949,7 @@ into the AddressBook.

    - + src/peer-store/address-book.js @@ -13127,7 +13029,7 @@ undefined if no Envelope is found.

    - + src/peer-store/address-book.js @@ -13207,7 +13109,7 @@ Returns undefined if no record exists.

    - + src/peer-store/address-book.js @@ -13297,7 +13199,7 @@ If you are not sure, it's recommended to use add instead.

    - + src/peer-store/address-book.js @@ -13385,7 +13287,7 @@ If the peer is not known, it is set with the given addresses.

    - + src/peer-store/address-book.js @@ -13464,7 +13366,7 @@ If the peer is not known, it is set with the given addresses.

    - + src/peer-store/address-book.js @@ -13553,7 +13455,7 @@ Returns undefined if there are no known multiaddrs for the given pe - + src/peer-store/address-book.js @@ -13609,7 +13511,7 @@ Returns undefined if there are no known multiaddrs for the given pe - + src/peer-store/proto-book.js @@ -13664,7 +13566,7 @@ Returns undefined if there are no known multiaddrs for the given pe - + src/peer-store/book.js @@ -13787,7 +13689,7 @@ Returns undefined if there are no known multiaddrs for the given pe
    - + src/peer-store/book.js @@ -13845,7 +13747,7 @@ Returns undefined if there are no known multiaddrs for the given pe
    - + src/peer-store/book.js @@ -13924,7 +13826,7 @@ Returns undefined if there are no known multiaddrs for the given pe
    - + src/peer-store/book.js @@ -14004,7 +13906,7 @@ Returns undefined if there is no available data for the given peer.
    - + src/peer-store/book.js @@ -14091,7 +13993,7 @@ Returns undefined if there is no available data for the given peer. - + src/peer-store/key-book.js @@ -14163,7 +14065,7 @@ Returns undefined if there is no available data for the given peer.
    - + src/peer-store/key-book.js @@ -14226,7 +14128,7 @@ Returns undefined if there is no available data for the given peer.
    - + src/peer-store/key-book.js @@ -14313,7 +14215,7 @@ Returns undefined if there is no available data for the given peer.
    - + src/peer-store/key-book.js @@ -14400,7 +14302,7 @@ Returns undefined if there is no available data for the given peer. - + src/peer-store/metadata-book.js @@ -14473,7 +14375,7 @@ protocols of a peer.

    - + src/peer-store/metadata-book.js @@ -14536,7 +14438,7 @@ protocols of a peer.

    - + src/peer-store/metadata-book.js @@ -14633,7 +14535,7 @@ protocols of a peer.

    - + src/peer-store/metadata-book.js @@ -14755,7 +14657,7 @@ protocols of a peer.

    - + src/peer-store/metadata-book.js @@ -14834,7 +14736,7 @@ protocols of a peer.

    - + src/peer-store/metadata-book.js @@ -14921,7 +14823,7 @@ protocols of a peer.

    - + src/peer-store/metadata-book.js @@ -15000,7 +14902,7 @@ protocols of a peer.

    - + src/peer-store/metadata-book.js @@ -15095,7 +14997,7 @@ protocols of a peer.

    - + src/peer-store/metadata-book.js @@ -15150,7 +15052,7 @@ protocols of a peer.

    - + src/peer-store/proto-book.js @@ -15223,7 +15125,7 @@ protocols of a peer.

    - + src/peer-store/proto-book.js @@ -15286,7 +15188,7 @@ protocols of a peer.

    - + src/peer-store/proto-book.js @@ -15374,7 +15276,7 @@ If the peer was not known before, it will be added.

    - + src/peer-store/proto-book.js @@ -15470,7 +15372,7 @@ If the peer was not known before, it will be added.

    - + src/pubsub-adapter.js @@ -15553,7 +15455,7 @@ If the peer was not known before, it will be added.

    - + src/pubsub-adapter.js @@ -15636,7 +15538,7 @@ If the peer was not known before, it will be added.

    - + src/peer-store/persistent/index.js @@ -15758,7 +15660,7 @@ If the peer was not known before, it will be added.

    - + src/peer-store/persistent/index.js @@ -15816,7 +15718,7 @@ If the peer was not known before, it will be added.

    - + src/peer-store/persistent/index.js @@ -15874,7 +15776,7 @@ If the peer was not known before, it will be added.

    - + src/peer-store/persistent/index.js @@ -15937,7 +15839,7 @@ If the peer was not known before, it will be added.

    - + src/peer-store/persistent/index.js @@ -15984,6 +15886,72 @@ If the peer was not known before, it will be added.

    + + +
    +
    + +
    +
    +
    + + stop() +
    +
    + @@ -16011,7 +15979,7 @@ If the peer was not known before, it will be added.

    - + src/registrar.js @@ -16116,7 +16084,7 @@ If the peer was not known before, it will be added.

    - + src/registrar.js @@ -16179,7 +16147,7 @@ If the peer was not known before, it will be added.

    - + src/registrar.js @@ -16258,7 +16226,7 @@ If the peer was not known before, it will be added.

    - + src/registrar.js @@ -16338,7 +16306,7 @@ If the peer was not known before, it will be added.

    - + src/registrar.js @@ -16418,7 +16386,7 @@ If the peer was not known before, it will be added.

    - + src/registrar.js @@ -16513,7 +16481,7 @@ If the peer was not known before, it will be added.

    - + src/ping/index.js @@ -16522,7 +16490,7 @@ If the peer was not known before, it will be added.

    Ping a given peer and wait for its response, getting the operation latency.

    -
    ping(node: Libp2p, peer: (PeerId | multiaddr)): Promise<Number>
    +
    ping(node: Libp2p, peer: (PeerId | multiaddr)): Promise<number>
    @@ -16561,7 +16529,7 @@ If the peer was not known before, it will be added.

    Returns
    - Promise<Number>: + Promise<number>: @@ -16596,7 +16564,7 @@ If the peer was not known before, it will be added.

    - + src/ping/index.js @@ -16663,7 +16631,7 @@ If the peer was not known before, it will be added.

    - + src/ping/index.js @@ -16730,7 +16698,7 @@ If the peer was not known before, it will be added.

    - + src/identify/index.js @@ -16829,7 +16797,7 @@ If the peer was not known before, it will be added.

    - + src/identify/index.js @@ -16882,7 +16850,7 @@ If the peer was not known before, it will be added.

    - + src/identify/index.js @@ -16935,7 +16903,7 @@ If the peer was not known before, it will be added.

    - + src/identify/index.js @@ -16988,7 +16956,7 @@ If the peer was not known before, it will be added.

    - + src/identify/index.js @@ -17041,7 +17009,7 @@ If the peer was not known before, it will be added.

    - + src/identify/index.js @@ -17116,7 +17084,7 @@ If the peer was not known before, it will be added.

    - + src/identify/index.js @@ -17183,7 +17151,7 @@ If the peer was not known before, it will be added.

    - + src/identify/index.js @@ -17260,7 +17228,7 @@ an error will be thrown.

    - + src/identify/index.js @@ -17320,7 +17288,7 @@ an error will be thrown.

    - options.protocol String + options.protocol string @@ -17375,7 +17343,7 @@ an error will be thrown.

    - + src/identify/index.js @@ -17437,7 +17405,7 @@ an error will be thrown.

    - + src/identify/index.js @@ -17446,7 +17414,7 @@ an error will be thrown.

    Takes the addr and converts it to a Multiaddr if possible

    -
    getCleanMultiaddr(addr: (Uint8Array | String)): (Multiaddr | null)
    +
    getCleanMultiaddr(addr: (Uint8Array | string)): (Multiaddr | null)
    @@ -17463,7 +17431,7 @@ an error will be thrown.

    - addr ((Uint8Array | String)) + addr ((Uint8Array | string))
    @@ -17512,7 +17480,7 @@ an error will be thrown.

    - + src/record/envelope/index.js @@ -17632,7 +17600,7 @@ by a libp2p peer.

    - + src/record/envelope/index.js @@ -17711,7 +17679,7 @@ by a libp2p peer.

    - + src/record/envelope/index.js @@ -17799,7 +17767,7 @@ and signs it with the given peerId's private key.

    - + src/record/envelope/index.js @@ -17895,7 +17863,7 @@ Data is unmarshalled and the signature validated for the given domain.

    - + src/record/envelope/index.js @@ -17961,7 +17929,7 @@ Data is unmarshalled and the signature validated for the given domain.

    - + src/record/envelope/index.js @@ -18040,7 +18008,7 @@ Data is unmarshalled and the signature validated for the given domain.

    - + src/record/envelope/index.js @@ -18127,7 +18095,7 @@ Data is unmarshalled and the signature validated for the given domain.

    - + src/record/envelope/index.js @@ -18218,7 +18186,7 @@ Data is unmarshalled and the signature validated for the given domain.

    - + src/record/peer-record/index.js @@ -18341,7 +18309,7 @@ It contains the peer's reachable listen addresses.

    - + src/record/peer-record/index.js @@ -18429,7 +18397,7 @@ It contains the peer's reachable listen addresses.

    - + src/record/peer-record/index.js @@ -18495,7 +18463,7 @@ It contains the peer's reachable listen addresses.