Index

Modules: libp2p, libp2p/builders, libp2p/connmanager, libp2p/crypto/chacha20poly1305, libp2p/crypto/crypto, libp2p/crypto/curve25519, libp2p/crypto/ecnist, libp2p/crypto/ed25519/constants, libp2p/crypto/ed25519/ed25519, libp2p/crypto/hkdf, libp2p/crypto/minasn1, libp2p/crypto/rsa, libp2p/crypto/secp, libp2p/dial, libp2p/dialer, libp2p/errors, libp2p/multiaddress, libp2p/multibase, libp2p/multicodec, libp2p/multihash, libp2p/multistream, libp2p/muxers/mplex/coder, libp2p/muxers/mplex/mplex, libp2p/muxers/muxer, libp2p/muxers/yamux/yamux, libp2p/nameresolving/nameresolver, libp2p/observedaddrmanager, libp2p/peerid, libp2p/peerinfo, libp2p/protobuf/minprotobuf, libp2p/protocols/connectivity/autonat/core, libp2p/protocols/connectivity/autonat/server, libp2p/protocols/connectivity/relay/client, libp2p/protocols/connectivity/relay/messages, libp2p/protocols/connectivity/relay/rconn, libp2p/protocols/connectivity/relay/relay, libp2p/protocols/connectivity/relay/rtransport, libp2p/protocols/connectivity/relay/utils, libp2p/protocols/identify, libp2p/protocols/ping, libp2p/protocols/protocol, libp2p/protocols/pubsub/errors, libp2p/protocols/pubsub/floodsub, libp2p/protocols/pubsub/gossipsub, libp2p/protocols/pubsub/gossipsub/behavior, libp2p/protocols/pubsub/gossipsub/scoring, libp2p/protocols/pubsub/gossipsub/types, libp2p/protocols/pubsub/mcache, libp2p/protocols/pubsub/peertable, libp2p/protocols/pubsub/pubsub, libp2p/protocols/pubsub/pubsubpeer, libp2p/protocols/pubsub/rpc/message, libp2p/protocols/pubsub/rpc/messages, libp2p/protocols/pubsub/rpc/protobuf, libp2p/protocols/pubsub/timedcache, libp2p/protocols/rendezvous, libp2p/protocols/secure/noise, libp2p/protocols/secure/secure, libp2p/routing_record, libp2p/services/wildcardresolverservice, libp2p/signed_envelope, libp2p/stream/bufferstream, libp2p/stream/chronosstream, libp2p/stream/connection, libp2p/stream/lpstream, libp2p/stream/streamseq, libp2p/switch, libp2p/transcoder, libp2p/transports/tcptransport, libp2p/transports/transport, libp2p/transports/wstransport, libp2p/upgrademngrs/muxedupgrade, libp2p/upgrademngrs/upgrade, libp2p/utility, libp2p/utils/future, libp2p/utils/heartbeat, libp2p/utils/offsettedseq, libp2p/utils/semaphore, libp2p/varint, libp2p/vbuffer, libp2p/wire.

API symbols

`$`:
`&=`:
`&`:
`>=`:
`>`:
`<=`:
`<`:
`==`:
`[]`:
accept:
acquire:
add:
addCapped:
addConnEventHandler:
addDirectPeer:
addedAt:
addHandler:
addObservation:
addObserver:
addPeer:
addPeerEventHandler:
AddressInfo:
AddressLimit:
AddressMapper:
addrs:
addSeen:
addTransport:
addValidator:
advertise:
AgentVersion:
all:
AllFuturesFailedError:
AlreadyExpectingConnectionError:
And:
any:
anyCompleted:
append:
apply:
Asn1Buffer:
Asn1Class:
Asn1Composite:
asn1EncodeBitString:
asn1EncodeBoolean:
asn1EncodeComposite:
asn1EncodeContextTag:
asn1EncodeInteger:
asn1EncodeLength:
asn1EncodeNull:
asn1EncodeOctetString:
asn1EncodeOid:
asn1EncodeSequence:
Asn1Error:
Asn1False:
Asn1Field:
Asn1Null:
Asn1OidEcPublicKey:
Asn1OidRsaEncryption:
Asn1OidSecp256k1:
Asn1OidSecp256r1:
Asn1OidSecp384r1:
Asn1OidSecp521r1:
Asn1Result:
Asn1Tag:
Asn1True:
assign:
AsyncSemaphore:
atEof:
Autonat:
AutonatCodec:
AutonatDial:
AutonatDialResponse:
AutonatError:
AutonatMsg:
AutonatPeerInfo:
AutonatUnreachableError:
BackoffSlackTime:
BackoffTable:
BadRequest:
base58:
BasePrecomp:
bindAsyncSocket:
BiPrecomp:
bridge:
broadcast:
BufferStream:
BufferStreamTrackerName:
byScore:
bytes:
byteSize:
CacheEntry:
canAskIWant:
capLen:
ChaChaPoly:
ChaChaPolyKey:
ChaChaPolyNonce:
ChaChaPolyTag:
checkFieldNumber:
checkFutures:
checkScalar:
checkValid:
ChronosStream:
ChronosStreamTrackerName:
CircuitRelay:
clear:
close:
closed:
closeImpl:
closeWithEOF:
cmp:
code:
codec:
codec=:
commit:
compilesOr:
concat:
ConcurrentUpgrades:
connCount:
connect:
connected:
connectedPeers:
Connection:
ConnectionFailed:
ConnectionSlot:
ConnectionTrackerName:
ConnEvent:
ConnEventHandler:
ConnEventKind:
connHandler:
ConnManager:
consume:
consumeTo:
contains:
ControlGraft:
ControlIHave:
ControlIWant:
ControlMessage:
ControlPrune:
copy:
count:
createAsyncSocket:
createStreamServer:
CryptoError:
CryptoResult:
Curve25519:
Curve25519Error:
Curve25519Key:
Curve25519KeySize:
CurveOrder:
Curver25519GenError:
D2Const:
data:
DConst:
decode:
decodeControl:
decodedLength:
decodeGraft:
decodeIHave:
decodeIWant:
decodeMessage:
decodeMessages:
decodeMsg:
decodePeerInfoMsg:
decodePrune:
decodeRpcMsg:
decodeSubscription:
decodeSubscriptions:
decrypt:
DefaultChanTimeout:
DefaultConnectionTimeout:
DefaultHeartbeatSleepTime:
DefaultKeySize:
DefaultLimitData:
DefaultLimitDuration:
DefaultMaxIncomingStreams:
DefaultMaxNumElementsInNonPriorityQueue:
defaultMsgIdProvider:
DefaultPublicExponent:
DefaultReservationTTL:
del:
Dial:
dial:
Dial:
dial:
Dialer:
DialError:
DialFailedError:
dialPeerV1:
dialPeerV2:
DialRefused:
DialResponse:
digest:
DigestSheme:
Direction:
disconnect:
disconnectIfBadScorePeer:
disconnectPeer:
DNS:
DNS4:
DNS6:
DNSADDR:
DNSANY:
DNS_OR_IP:
DropConn:
dropFanoutPeers:
dropPeer:
dummyPrivateProc:
EcCurveKind:
ECDHEScheme:
ECDSA:
EcError:
EcKeyGenError:
EcKeyIncorrectError:
EcKeyPair:
EcPKI:
EcPrivateKey:
EcPublicKey:
EcPublicKeyError:
EcResult:
EcRngError:
EcSignature:
EcSignatureError:
EcSupportedCurvesCint:
Ed25519:
EdError:
EdIncorrectError:
EdKeyPair:
EdPrivateKey:
EdPrivateKeySize:
EdPublicKey:
EdPublicKeySize:
EdSignature:
EdSignatureSize:
encode:
encodedLength:
encodeMessage:
encodeRpcMsg:
encodeVarint:
encrypt:
EndGroup:
Envelope:
EnvelopeError:
EnvelopeFieldMissing:
EnvelopeInvalidProtobuf:
EnvelopeInvalidSignature:
EnvelopeWrongType:
Eof:
ephemeral:
Eq:
exceptionToAssert:
exclIfIt:
expandItIMPL:
expectConnection:
expire:
extend:
extractPublicKey:
Fe:
finish:
firstSeen:
Fixed:
Fixed32:
Fixed64:
FloodSub:
FloodSubCodec:
flushIf:
flushIfIt:
forceAcquire:
formatItIMPL:
fullAddrs:
GeCached:
GeP1P1:
GeP2:
GeP3:
GePrecomp:
get:
getAgent:
getArray:
getBuffer:
getBytes:
GetConn:
getConnections:
getField:
getGossipPeers:
getHostname:
getIncomingSlot:
getLen:
getLocalAddress:
getMostObservedProtosAndPorts:
getOrCreatePeer:
getOrder:
getOutgoingSlot:
getPackedRepeatedField:
getPrivateKeyLength:
getProtocolArgument:
getProtoHeader:
getPtr:
getPublicKey:
getPublicKeyLength:
getRawBytes:
getRepeatedField:
getRequiredField:
getRequiredRepeatedField:
getSecret:
getStream:
getStreams:
getSVarint:
getUVarint:
getVarint:
getWrapped:
goffset:
GossipBackoffPeriod:
GossipSub:
GossipSubCodec_10:
GossipSubCodec_11:
GossipSubCodec_12:
GossipSubD:
GossipSubDhi:
GossipSubDlo:
GossipSubFanoutTTL:
GossipSubHeartbeatInterval:
GossipSubHistoryGossip:
GossipSubHistoryLength:
GossipSubParams:
grafted:
guessDialableAddr:
handle:
handleBackingOff:
handleConn:
handleData:
handleGraft:
handleHop:
handleHopStreamV2:
handleIDontWant:
handleIHave:
handleIWant:
handlePrune:
handler:
handler=:
HandlerHolder:
handles:
handshake:
hash:
HashError:
hasObservers:
hasPeer:
hasPeerId:
hasPublicKey:
hasSeen:
hasSendConn:
heartbeat:
hex:
high:
hint:
hint32:
hint64:
hkdf:
HkdfResult:
HopMessage:
HopMessageType:
HTTP:
HTTPS:
Identify:
identify:
IdentifyCodec:
IdentifyError:
IdentifyInfo:
IdentifyNoPubKeyError:
IdentifyPush:
IdentifyPushCodec:
IdentifyPushHandler:
IdentityInvalidMsgError:
IdentityNoMatchError:
IHaveMaxLength:
IHavePeerBudget:
init:
init58:
InitializationError:
initOffsettedSeq:
initProtoBuffer:
initPubSub:
initRaw:
initStream:
initTAddress:
initVBuffer:
InternalError:
intoChaChaPolyKey:
intoChaChaPolyNonce:
intoChaChaPolyTag:
intoCurve25519Key:
InvalidChannelIdError:
InvalidMplexMsgType:
InvalidMultiCodec:
InvalidVarintError:
IP:
IP4:
IP6:
IPFS:
IpTransportProtocol:
isConnected:
isEmpty:
isEnough:
isPublicMA:
isRelayed:
items:
iv:
ivOpenArray:
join:
key:
KeyError:
keyOpenArray:
KeyPair:
KnownLibP2PTopics:
KnownLibP2PTopicsSeq:
len:
Length:
libp2p_failed_upgrades_incoming:
libp2p_failed_upgrades_outgoing:
libp2p_gossipsub_peers_rate_limit_hits:
libp2p_pki_schemes:
libp2p_pubsub_broadcast_graft:
libp2p_pubsub_broadcast_ihave:
libp2p_pubsub_broadcast_iwant:
libp2p_pubsub_broadcast_messages:
libp2p_pubsub_broadcast_prune:
libp2p_pubsub_broadcast_subscriptions:
libp2p_pubsub_broadcast_unsubscriptions:
libp2p_pubsub_messages_published:
libp2p_pubsub_messages_rebroadcasted:
libp2p_pubsub_received_graft:
libp2p_pubsub_received_ihave:
libp2p_pubsub_received_iwant:
libp2p_pubsub_received_messages:
libp2p_pubsub_received_prune:
libp2p_pubsub_received_subscriptions:
libp2p_pubsub_received_unsubscriptions:
Limit:
list:
low:
LP:
LPError:
LPProtocol:
LPProtoHandler:
LPSomeUVarint:
LPSomeVarint:
LPStream:
LPStreamClosedError:
LPStreamConnDownError:
LPStreamEOFError:
LPStreamError:
LPStreamIncompleteError:
LPStreamLimitError:
LPStreamRemoteClosedError:
LPStreamResetError:
LPStreamTrackerName:
mac:
macOpenArray:
maErr:
MaError:
MaInvalidAddress:
MAKind:
MalformedMessage:
mapAnd:
MaPatResult:
MaPattern:
MaPatternOp:
mapEq:
mapOr:
MAProtocol:
MaResult:
Marker:
match:
Matcher:
matchPartial:
MaxCircuit:
MaxCircuitPerPeer:
MaxConnections:
MaxConnectionsPerPeer:
MaxHashSize:
maxIncomingStreams:
maxIncomingStreams=:
maxInlineKeyLength:
MaxMsgSize:
MaxSizeError:
MCache:
MeshMetrics:
Message:
MessageId:
MessageType:
MHash:
MHashCoderProc:
MhResult:
MinimumDuration:
MinKeySize:
mount:
Mplex:
MplexCodec:
Msg:
MsgIdProvider:
MsgType:
mul:
MultiAddress:
MultiBase:
MultiBaseStatus:
MultiCodec:
multiCodec:
MultiCodecError:
MultiCodecNotSupported:
MultiHash:
MultiStreamError:
MultistreamSelect:
MuxedUpgrade:
Muxer:
MuxerConstructor:
MuxerError:
MuxerHandler:
MuxerProvider:
NameResolver:
NetworkInterfaceProvider:
NetworkReachability:
new:
newAsyncSemaphore:
newInvalidMplexMsgType:
newLPStreamClosedError:
newLPStreamConnDownError:
newLPStreamEOFError:
newLPStreamIncompleteError:
newLPStreamLimitError:
newLPStreamRemoteClosedError:
newLPStreamResetError:
newRng:
newStandardSwitch:
newStream:
newSwitch:
newTransportClosedError:
Noise:
NoiseCodec:
NoiseConnection:
NoiseDecryptTagError:
NoiseError:
NoiseHandshakeError:
NoiseNonceMaxError:
NoiseOversizedPayloadError:
None:
NoReservation:
ObservedAddrManager:
OffsettedSeq:
Ok:
OnEvent:
Onion3:
onNewPeer:
onPubSubPeerEvent:
onTopicSubscription:
Or:
orError:
outbound:
outboundPeers:
P2PPattern:
parseFullAddress:
Path:
payload:
payloadDomain:
payloadType:
PB:
PBSomeSVarint:
PBSomeUVarint:
PBSomeVarint:
PBZigVarint:
peekArray:
peekSeq:
peekVarint:
Peer:
PeerEvent:
PeerEventHandler:
PeerEventKind:
peerExchangeList:
PeerId:
PeerInfo:
PeerInfoError:
PeerInfoMsg:
PeerRateLimitError:
PeerRecord:
peers:
PeerStats:
PeerTable:
PermissionDenied:
Ping:
ping:
PingCodec:
PingError:
PingHandler:
PingsPeerBudget:
PKScheme:
prepare:
PrivateKey:
protoAddress:
protoArgument:
ProtoBuffer:
protoCode:
protocols:
ProtoError:
ProtoField:
ProtoFieldKind:
ProtoFlags:
ProtoHeader:
protoName:
ProtoResult:
ProtoScalar:
ProtoVersion:
pruned:
pubkey:
PubKey256Length:
PubKey384Length:
PubKey521Length:
public:
PublicKey:
publish:
PubSub:
PubSubObserver:
PubSubPeer:
PubSubPeerEvent:
PubSubPeerEventKind:
punishInvalidMessage:
push:
pushData:
pushEof:
put:
putSVarint:
putUVarint:
putVarint:
QUIC:
QUIC_DNS:
QUIC_IP:
QUIC_V1:
QUIC_V1_DNS:
QUIC_V1_IP:
random:
rateLimit:
read:
readArray:
readExactly:
readLine:
readLp:
readMessage:
readMsg:
readOnce:
readSeq:
readVarint:
rebalanceMesh:
recvObservers:
Relay:
RelayClient:
RelayClientAddConn:
RelayClientError:
RelayConnection:
RelayMessage:
RelayMsgSize:
RelayPeer:
RelayTransport:
RelayType:
RelayV1Codec:
RelayV1DialError:
RelayV2DialError:
RelayV2Error:
RelayV2HopCodec:
RelayV2StopCodec:
release:
Reliable:
removeConnEventHandler:
removeObserver:
removePeer:
removePeerEventHandler:
removeValidator:
RendezVous:
RendezVousCodec:
RendezVousError:
replenishFanout:
request:
requestLocally:
Reservation:
ReservationError:
ReservationRefused:
reserve:
resolveDnsAddr:
resolveIp:
resolveMAddress:
resolveTxt:
ResourceLimitExceeded:
ResponseStatus:
rewardDelivered:
RoutingRecordsHandler:
RoutingRecordsPair:
rpcHandler:
RPCHandler:
RpcMessageQueue:
RPCMsg:
RSA:
RsaDefaultKeySize:
RsaError:
RsaGenError:
RsaKeyIncorrectError:
RsaKeyPair:
RsaKP:
RsaLowSecurityError:
RsaOidSha1:
RsaOidSha224:
RsaOidSha256:
RsaOidSha384:
RsaOidSha512:
RsaPKI:
RsaPrivateKey:
RsaPublicKey:
RsaResult:
RsaSignature:
RsaSignatureError:
Rsvp:
RTRANSPMA:
run:
safeConvert:
salt:
SaltedId:
scalarMul:
SchemeError:
scoringHeartbeat:
seckey:
SecKey256Length:
SecKey384Length:
SecKey521Length:
Secp256k1:
Secp256r1:
Secp384r1:
Secp521r1:
Secret:
Secret256Length:
Secret384Length:
Secret521Length:
Secure:
secure:
SecureConn:
SecureConnTrackerName:
SecureProtocol:
select:
selectBest:
selectMuxer:
send:
sendEncoded:
sendHopStatus:
sendStatus:
sendStopStatus:
sendSubs:
Service:
setMaxRecvWindow:
setup:
Sha256:
Sha512:
shift:
shortLog:
shuffle:
Sig256Length:
Sig384Length:
Sig521Length:
SigError:
sign:
Signature:
SignedPayload:
SignedPeerRecord:
SignedVoucher:
SkKeyPair:
SkPrivateKey:
SkPublicKey:
SkRawPrivateKeySize:
SkRawPublicKeySize:
SkRawSignatureSize:
SkSignature:
SomeUVarint:
SomeVarint:
SqrTm1:
start:
StartGroup:
StatusV1:
StatusV2:
stop:
StopMessage:
StopMessageType:
stopSendNonPriorityTask:
StreamHandler:
StreamSeq:
StreamTracker:
stretchKeys:
SubOpts:
subscribe:
subscribePeer:
SubscriptionValidator:
supported:
SupportedSchemes:
SupportedSchemesInt:
SupportedWireTypes:
Switch:
SwitchBuilder:
TCP:
TCP_DNS:
TCP_IP:
TcpOnion3:
tcpProtocol:
TcpTransport:
TcpTransportError:
TcpTransportTrackerName:
TimedCache:
TimedEntry:
Timeout:
TimeoutHandler:
TLS_WS:
toBytes:
toException:
TooManyChannels:
TooManyConnectionsError:
toOpenArray:
toOpt:
TopicHandler:
TopicInfo:
TopicPair:
TopicParams:
toRawBytes:
toSecret:
toString:
trackConnection:
trackMuxer:
Transcoder:
TranscoderDNS:
TranscoderIP4:
TranscoderIP6:
TranscoderIP6Zone:
TranscoderOnion:
TranscoderOnion3:
TranscoderP2P:
TranscoderPort:
TranscoderUnix:
TRANSPMA:
Transport:
TransportClosedError:
TransportError:
TransportInvalidAddrError:
TransportProvider:
triggerPeerEvents:
tryAcquire:
tryDial:
UDP:
UDP_DNS:
UDP_IP:
udpProtocol:
UnexpectedMessage:
UNIX:
Unreliable:
unsubscribe:
unsubscribeAll:
unsubscribeLocally:
unsubscribePeer:
update:
updateMetrics:
updateScores:
upgrade:
Upgrade:
upgrade:
UpgradeFailedError:
UTP:
validate:
validatedObservers:
validateParameters:
ValidationResult:
ValidationSeenTable:
ValidatorHandler:
valueOr:
Varint:
VarintError:
VarintResult:
VBuffer:
verify:
Voucher:
vsizeof:
WebRTCDirect:
WebSockets:
WebSockets_DNS:
WebSockets_IP:
WildcardAddressResolverService:
window:
withAddress:
withAddresses:
withAgentVersion:
withAutonat:
withCircuitRelay:
withMaxConnections:
withMaxConnsPerPeer:
withMaxIn:
withMaxOut:
withNameResolver:
withNoise:
withObservedAddrManager:
withPeerStats:
withPeerStore:
withPrivateKey:
withProtoVersion:
withRendezVous:
withRng:
withServices:
withSignedPeerRecord:
withSubs:
withTcpTransport:
withTransport:
WithUint32BeLength:
WithUint32LeLength:
withValue:
WithVarintLength:
write:
writeArray:
writeLp:
writeLPVarint:
writeMsg:
writePacked:
writePBVarint:
writeSeq:
writeVarint:
WrongPingAckError:
WS:
WS_DNS:
WS_IP:
WSS:
WSS_DNS:
WSS_IP:
WsTransport:
Yamux:
YamuxChannel:
YamuxCodec:
YamuxDefaultWindowSize:
YamuxError:
ZeroFe:
zint:
zint32:
zint64: