diff --git a/index.html b/index.html index 4dc17449..c02cd12c 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@
-0.29.0
0.29.1
peerStore
Connection
will be returned
Iterates over all peer routers in series to find the given peer.
- + @@ -3112,7 +3118,7 @@ will no longer be supported on streams.Converts the given peer
to a Peer
object.
If a multiaddr is received, the addressBook is updated.
(PeerStore)
-
- (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.
-@@ -5223,39 +5221,8 @@ and timing how long it takes to get back.
(Number
- = 500
)
- How often to add a latency check event (ms)
-
- (Number
- = 5000
)
- How often to summarize latency check events. null or 0 disables event firing
-
- (function?)
- What cb-style async function to use
-
- 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.
(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
Circuit
- Number
+ number
(default 4096
)
(Object)
-
- Name | -Description | -
---|---|
$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 )
- |
- - |
(object)
@@ -7105,10 +6994,19 @@ peer. A new, virtual, connection will be created between the two via the relay.<
number
+ Peerstore
MAX_PARALLEL_DIALS
+ number
+
+ (default MAX_PARALLEL_DIALS
)
+ number
+
+ (default DIAL_TIMEOUT
)
DIAL_TIMEOUT
+ number
+
+ (default MAX_PER_PEER_DIALS
)
+ (Peerstore)
-
- 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
- string?
- PeerId?
+ PeerId?
PeerId
- any
+ string?
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
-Stats.stop
was previously called,
Adds a Transport
to the manager
Responsible for managing known peers, as well as their addresses, protocols and metadata.
-@@ -12217,6 +12111,14 @@ NO_FATAL should be used for not failing when not listening.
(object)
+
+ add
instead.
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
undefined
if there are no known multiaddrs for the given pe
undefined
if there are no known multiaddrs for the given pe
undefined
if there is no available data for the given peer.
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.
undefined
if there is no available data for the given peer.
undefined
if there is no available data for the given peer.
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.
Stop Persistent PeerStore.
+ +Promise<void>
:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Ping a given peer and wait for its response, getting the operation latency.
- + @@ -16561,7 +16529,7 @@ If the peer was not known before, it will be added.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.
String
+ string
Takes the addr
and converts it to a Multiaddr if possible