-
+
src/circuit/listener.js
@@ -6655,7 +6655,7 @@ be dialed over TCP rather than any other transport
-
+
src/circuit/circuit/hop.js
@@ -6772,7 +6772,7 @@ peer. A new, virtual, connection will be created between the two via the relay.<
-
+
src/circuit/circuit/utils.js
@@ -6847,7 +6847,7 @@ peer. A new, virtual, connection will be created between the two via the relay.<
-
+
src/circuit/circuit/utils.js
@@ -6923,7 +6923,7 @@ peer. A new, virtual, connection will be created between the two via the relay.<
-
+
src/circuit/circuit/stream-handler.js
@@ -7026,7 +7026,7 @@ peer. A new, virtual, connection will be created between the two via the relay.<
-
+
src/circuit/circuit/stream-handler.js
@@ -7088,7 +7088,7 @@ peer. A new, virtual, connection will be created between the two via the relay.<
-
+
src/circuit/circuit/stream-handler.js
@@ -7156,7 +7156,7 @@ peer. A new, virtual, connection will be created between the two via the relay.<
-
+
src/circuit/circuit/stream-handler.js
@@ -7218,7 +7218,7 @@ peer. A new, virtual, connection will be created between the two via the relay.<
-
+
src/circuit/circuit/stream-handler.js
@@ -7280,7 +7280,7 @@ peer. A new, virtual, connection will be created between the two via the relay.<
-
+
src/dialer/index.js
@@ -7468,7 +7468,7 @@ peer. A new, virtual, connection will be created between the two via the relay.<
-
+
src/dialer/index.js
@@ -7522,7 +7522,7 @@ peer. A new, virtual, connection will be created between the two via the relay.<
-
+
src/dialer/index.js
@@ -7634,7 +7634,7 @@ will be used.
-
+
src/dialer/index.js
@@ -7717,7 +7717,7 @@ will be used.
-
+
src/dialer/index.js
@@ -7820,7 +7820,7 @@ will be used.
-
+
src/dialer/dial-request.js
@@ -7931,7 +7931,7 @@ all other dials in the request will be cancelled.
-
+
src/dialer/dial-request.js
@@ -8030,7 +8030,7 @@ all other dials in the request will be cancelled.
-
+
src/keychain/index.js
@@ -8108,7 +8108,7 @@ all other dials in the request will be cancelled.
-
+
src/keychain/index.js
@@ -8186,7 +8186,7 @@ all other dials in the request will be cancelled.
-
+
src/keychain/index.js
@@ -8252,7 +8252,7 @@ all other dials in the request will be cancelled.
-
+
src/keychain/index.js
@@ -8327,7 +8327,7 @@ The default options for a keychain.
-
+
src/keychain/index.js
@@ -8387,7 +8387,7 @@ arbitrary message content.
▸
-
createKey(name, type, size)
+
createKey(name, type, size?)
@@ -8397,7 +8397,7 @@ arbitrary message content.
-
+
src/keychain/index.js
@@ -8406,7 +8406,7 @@ arbitrary message content.
Create a new key.
-
+
@@ -8441,8 +8441,8 @@ arbitrary message content.
- size (int)
- The key size in bits.
+ size (int?)
+ The key size in bits. Used for rsa keys only.
@@ -8495,7 +8495,7 @@ arbitrary message content.
-
+
src/keychain/index.js
@@ -8561,7 +8561,7 @@ arbitrary message content.
-
+
src/keychain/index.js
@@ -8641,7 +8641,7 @@ arbitrary message content.
-
+
src/keychain/index.js
@@ -8721,7 +8721,7 @@ arbitrary message content.
-
+
src/keychain/index.js
@@ -8801,7 +8801,7 @@ arbitrary message content.
-
+
src/keychain/index.js
@@ -8890,7 +8890,7 @@ arbitrary message content.
-
+
src/keychain/index.js
@@ -8979,7 +8979,7 @@ arbitrary message content.
-
+
src/keychain/index.js
@@ -9085,7 +9085,7 @@ arbitrary message content.
-
+
src/keychain/cms.js
@@ -9155,7 +9155,7 @@ arbitrary message content.
-
+
src/keychain/cms.js
@@ -9245,7 +9245,7 @@ arbitrary message content.
-
+
src/keychain/cms.js
@@ -9335,7 +9335,7 @@ exists, an Error is returned with the property 'missingKeys'. It is array of ke
-
+
src/keychain/util.js
@@ -9422,7 +9422,7 @@ exists, an Error is returned with the property 'missingKeys'. It is array of ke
-
+
src/keychain/util.js
@@ -9501,7 +9501,7 @@ resolve to either
true
or
false
.
-
+
src/metrics/index.js
@@ -9623,7 +9623,7 @@ resolve to either
true
or
false
.
-
+
src/metrics/index.js
@@ -9678,7 +9678,7 @@ will be ignored.
-
+
src/metrics/index.js
@@ -9733,7 +9733,7 @@ Once
stop
is called,
start
must be called to resume st
-
+
src/metrics/index.js
@@ -9795,7 +9795,7 @@ Once
stop
is called,
start
must be called to resume st
-
+
src/metrics/index.js
@@ -9857,7 +9857,7 @@ Once
stop
is called,
start
must be called to resume st
-
+
src/metrics/index.js
@@ -9933,7 +9933,7 @@ is a live peer, or in the disconnected peer LRU cache.
-
+
src/metrics/index.js
@@ -9995,7 +9995,7 @@ is a live peer, or in the disconnected peer LRU cache.
-
+
src/metrics/index.js
@@ -10070,7 +10070,7 @@ is a live peer, or in the disconnected peer LRU cache.
-
+
src/metrics/index.js
@@ -10139,7 +10139,7 @@ be stopped and moved to an LRU for temporary retention.
-
+
src/metrics/index.js
@@ -10217,7 +10217,7 @@ placeholder stats will be merged with the existing stats.
-
+
src/metrics/index.js
@@ -10347,7 +10347,7 @@ with the placeholder string returned from here, and the known
PeerId
-
+
src/metrics/index.js
@@ -10431,7 +10431,7 @@ and returned.
-
+
src/metrics/old-peers.js
@@ -10506,7 +10506,7 @@ and returned.
-
+
src/metrics/stats.js
@@ -10586,7 +10586,7 @@ and returned.
-
+
src/metrics/stats.js
@@ -10654,7 +10654,7 @@ should only need to be called if
Stats.stop
was previously called,
-
+
src/metrics/stats.js
@@ -10721,7 +10721,7 @@ timer.
-
+
src/metrics/stats.js
@@ -10787,7 +10787,7 @@ timer.
-
+
src/metrics/stats.js
@@ -10853,7 +10853,7 @@ timer.
-
+
src/metrics/stats.js
@@ -10919,7 +10919,7 @@ timer.
-
+
src/metrics/stats.js
@@ -11015,7 +11015,7 @@ current Timestamp, then resets the update timer.
-
+
src/transport-manager.js
@@ -11126,7 +11126,7 @@ current Timestamp, then resets the update timer.
-
+
src/transport-manager.js
@@ -11219,7 +11219,7 @@ current Timestamp, then resets the update timer.
-
+
src/transport-manager.js
@@ -11273,7 +11273,7 @@ current Timestamp, then resets the update timer.
-
+
src/transport-manager.js
@@ -11356,7 +11356,7 @@ current Timestamp, then resets the update timer.
-
+
src/transport-manager.js
@@ -11418,7 +11418,7 @@ current Timestamp, then resets the update timer.
-
+
src/transport-manager.js
@@ -11480,7 +11480,7 @@ current Timestamp, then resets the update timer.
-
+
src/transport-manager.js
@@ -11555,7 +11555,7 @@ current Timestamp, then resets the update timer.
-
+
src/transport-manager.js
@@ -11609,7 +11609,7 @@ current Timestamp, then resets the update timer.
-
+
src/transport-manager.js
@@ -11677,7 +11677,7 @@ If a transport has any running listeners, they will be closed.
-
+
src/transport-manager.js
@@ -11732,7 +11732,7 @@ If any listeners are running, they will be closed.
-
+
src/transport-manager.js
@@ -11793,7 +11793,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/upgrader.js
@@ -11954,7 +11954,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/upgrader.js
@@ -12033,7 +12033,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/upgrader.js
@@ -12120,7 +12120,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/upgrader.js
@@ -12284,7 +12284,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/upgrader.js
@@ -12363,7 +12363,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/upgrader.js
@@ -12450,7 +12450,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/index.js
@@ -12509,7 +12509,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/index.js
@@ -12567,7 +12567,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/index.js
@@ -12625,7 +12625,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/index.js
@@ -12683,7 +12683,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/index.js
@@ -12741,7 +12741,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/index.js
@@ -12799,7 +12799,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/index.js
@@ -12857,7 +12857,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/index.js
@@ -12923,7 +12923,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/index.js
@@ -13002,7 +13002,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/index.js
@@ -13089,7 +13089,7 @@ NO_FATAL should be used for not failing when not listening.
-
+
src/peer-store/address-book.js
@@ -13162,7 +13162,7 @@ of a peer.
-
+
src/peer-store/address-book.js
@@ -13225,7 +13225,7 @@ of a peer.
-
+
src/peer-store/address-book.js
@@ -13312,7 +13312,7 @@ of a peer.
-
+
src/peer-store/address-book.js
@@ -13400,7 +13400,7 @@ If the peer is not known, it is set with the given addresses.
-
+
src/peer-store/address-book.js
@@ -13489,7 +13489,7 @@ Returns
undefined
if there are no known multiaddrs for the given pe
-
+
src/peer-store/address-book.js
@@ -13545,7 +13545,7 @@ Returns
undefined
if there are no known multiaddrs for the given pe
-
+
src/peer-store/proto-book.js
@@ -13576,1065 +13576,6 @@ Returns
undefined
if there are no known multiaddrs for the given pe
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The KeyBook is responsible for keeping the known public keys of a peer.
-
-
-
-
-
- Extends
-
- Book
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Instance Members
-
-
-
-
-
-
-
-
-
-
-
- Map known peers to their known Public Key.
-
- data
-
-
- Type:
- Map<string, PeerId>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
▸
-
set(peerId, publicKey)
-
-
-
-
-
-
-
-
-
- Set the Peer public key.
-
- set(peerId: PeerId, publicKey: (RsaPublicKey | Ed25519PublicKey | Secp256k1PublicKey)):
KeyBook
-
-
-
-
-
-
-
-
-
-
-
- Parameters
-
-
-
-
- peerId (PeerId)
-
-
-
-
-
-
-
- publicKey ((RsaPublicKey | Ed25519PublicKey | Secp256k1PublicKey))
-
-
-
-
-
-
-
-
-
-
-
-
- Returns
- KeyBook
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Get Public key of the given PeerId, if stored.
-
- get(peerId: PeerId): (RsaPublicKey | Ed25519PublicKey | Secp256k1PublicKey)
-
-
-
-
-
-
-
-
-
-
-
- Parameters
-
-
-
-
- peerId (PeerId)
-
-
-
-
-
-
-
-
-
-
-
-
- Returns
- (RsaPublicKey | Ed25519PublicKey | Secp256k1PublicKey)
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The MetadataBook is responsible for keeping the known supported
-protocols of a peer.
-
-
-
-
-
- Extends
-
- Book
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Instance Members
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PeerStore Event emitter, used by the MetadataBook to emit:
-"change:metadata" - emitted when the known metadata of a peer change.
-
- eventProperty
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -14659,7 +13600,7 @@ protocols of a peer.
-
+
src/peer-store/book.js
@@ -14782,7 +13723,7 @@ protocols of a peer.
-
+
src/peer-store/book.js
@@ -14840,7 +13781,7 @@ protocols of a peer.
-
+
src/peer-store/book.js
@@ -14919,7 +13860,7 @@ protocols of a peer.
-
+
src/peer-store/book.js
@@ -14999,7 +13940,7 @@ Returns
undefined
if there is no available data for the given peer.
-
+
src/peer-store/book.js
@@ -15065,6 +14006,1065 @@ Returns
undefined
if there is no available data for the given peer.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The KeyBook is responsible for keeping the known public keys of a peer.
+
+
+
+
+
+ Extends
+
+ Book
+
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Members
+
+
+
+
+
+
+
+
+
+
+
+ Map known peers to their known Public Key.
+
+ data
+
+
+ Type:
+ Map<string, PeerId>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
▸
+
set(peerId, publicKey)
+
+
+
+
+
+
+
+
+
+ Set the Peer public key.
+
+ set(peerId: PeerId, publicKey: (RsaPublicKey | Ed25519PublicKey | Secp256k1PublicKey)):
KeyBook
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+ peerId (PeerId)
+
+
+
+
+
+
+
+ publicKey ((RsaPublicKey | Ed25519PublicKey | Secp256k1PublicKey))
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns
+ KeyBook
:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Get Public key of the given PeerId, if stored.
+
+ get(peerId: PeerId): (RsaPublicKey | Ed25519PublicKey | Secp256k1PublicKey)
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+ peerId (PeerId)
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns
+ (RsaPublicKey | Ed25519PublicKey | Secp256k1PublicKey)
:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The MetadataBook is responsible for keeping the known supported
+protocols of a peer.
+
+
+
+
+
+ Extends
+
+ Book
+
+
+
+
+
+
+
+
+
+
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Instance Members
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PeerStore Event emitter, used by the MetadataBook to emit:
+"change:metadata" - emitted when the known metadata of a peer change.
+
+ eventProperty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -15086,7 +15086,7 @@ Returns undefined
if there is no available data for the given peer.
-
+
src/peer-store/proto-book.js
@@ -15159,7 +15159,7 @@ protocols of a peer.
-
+
src/peer-store/proto-book.js
@@ -15222,7 +15222,7 @@ protocols of a peer.
-
+
src/peer-store/proto-book.js
@@ -15310,7 +15310,7 @@ If the peer was not known before, it will be added.
-
+
src/peer-store/proto-book.js
@@ -15406,7 +15406,7 @@ If the peer was not known before, it will be added.
-
+
src/peer-store/persistent/index.js
@@ -15520,7 +15520,7 @@ If the peer was not known before, it will be added.
-
+
src/peer-store/persistent/index.js
@@ -15578,7 +15578,7 @@ If the peer was not known before, it will be added.
-
+
src/peer-store/persistent/index.js
@@ -15636,7 +15636,7 @@ If the peer was not known before, it will be added.
-
+
src/peer-store/persistent/index.js
@@ -15699,7 +15699,7 @@ If the peer was not known before, it will be added.
-
+
src/peer-store/persistent/index.js
@@ -15773,7 +15773,7 @@ If the peer was not known before, it will be added.
-
+
src/registrar.js
@@ -15878,7 +15878,7 @@ If the peer was not known before, it will be added.
-
+
src/registrar.js
@@ -15941,7 +15941,7 @@ If the peer was not known before, it will be added.
-
+
src/registrar.js
@@ -16020,7 +16020,7 @@ If the peer was not known before, it will be added.
-
+
src/registrar.js
@@ -16100,7 +16100,7 @@ If the peer was not known before, it will be added.
-
+
src/registrar.js
@@ -16180,7 +16180,7 @@ If the peer was not known before, it will be added.
-
+
src/registrar.js
@@ -16275,7 +16275,7 @@ If the peer was not known before, it will be added.
-
+
src/ping/index.js
@@ -16358,7 +16358,7 @@ If the peer was not known before, it will be added.
-
+
src/ping/index.js
@@ -16425,7 +16425,7 @@ If the peer was not known before, it will be added.
-
+
src/ping/index.js
@@ -16492,7 +16492,7 @@ If the peer was not known before, it will be added.
-
+
src/identify/index.js
@@ -16591,7 +16591,7 @@ If the peer was not known before, it will be added.
-
+
src/identify/index.js
@@ -16644,7 +16644,7 @@ If the peer was not known before, it will be added.
-
+
src/identify/index.js
@@ -16697,7 +16697,7 @@ If the peer was not known before, it will be added.
-
+
src/identify/index.js
@@ -16750,7 +16750,7 @@ If the peer was not known before, it will be added.
-
+
src/identify/index.js
@@ -16803,7 +16803,7 @@ If the peer was not known before, it will be added.
-
+
src/identify/index.js
@@ -16878,7 +16878,7 @@ If the peer was not known before, it will be added.
-
+
src/identify/index.js
@@ -16945,7 +16945,7 @@ If the peer was not known before, it will be added.
-
+
src/identify/index.js
@@ -17022,7 +17022,7 @@ an error will be thrown.
-
+
src/identify/index.js
@@ -17137,7 +17137,7 @@ an error will be thrown.
-
+
src/identify/index.js