diff --git a/formatting/libp2p.html b/formatting/libp2p.html index 5981ff7ea..168765671 100644 --- a/formatting/libp2p.html +++ b/formatting/libp2p.html @@ -260,7 +260,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/builders.html b/formatting/libp2p/builders.html index 291526ee3..c3e060349 100644 --- a/formatting/libp2p/builders.html +++ b/formatting/libp2p/builders.html @@ -402,12 +402,9 @@ class="link-seesrc" target="_blank">Source

This module contains a Switch Building helper.

Example:

-
let switch =
- SwitchBuilder.new()
- .withRng(rng)
- .withAddresses(multiaddress)
- # etc
- .build()

+
let switch = SwitchBuilder.new().withRng(rng).withAddresses(multiaddress)
+  # etc
+  .build()

Imports

@@ -423,9 +420,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit
@@ -457,9 +454,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -470,9 +467,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -487,9 +484,9 @@ class="link-seesrc" target="_blank">Source Creates a SwitchBuilder   Source -  Edit +  Edit @@ -509,9 +506,9 @@ class="link-seesrc" target="_blank">Source Helper for common switch configurations.   Source -  Edit +  Edit @@ -523,9 +520,9 @@ class="link-seesrc" target="_blank">Source

Set the listening address of the switch
Calling it multiple time will override the value

  Source -  Edit +  Edit @@ -537,9 +534,9 @@ class="link-seesrc" target="_blank">Source

Set the listening addresses of the switch
Calling it multiple time will override the value

  Source -  Edit +  Edit @@ -550,9 +547,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -562,9 +559,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -575,9 +572,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -588,9 +585,9 @@ class="link-seesrc" target="_blank">Source Maximum concurrent connections of the switch. You should either use this, or withMaxIn & withMaxOut   Source -  Edit +  Edit @@ -601,9 +598,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -614,9 +611,9 @@ class="link-seesrc" target="_blank">Source Maximum concurrent incoming connections. Should be used with withMaxOut   Source -  Edit +  Edit @@ -627,9 +624,9 @@ class="link-seesrc" target="_blank">Source Maximum concurrent outgoing connections. Should be used with withMaxIn   Source -  Edit +  Edit @@ -640,9 +637,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -652,9 +649,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -666,9 +663,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -679,9 +676,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -692,9 +689,9 @@ class="link-seesrc" target="_blank">Source Set the private key of the switch. Will be used to generate a PeerId   Source -  Edit +  Edit @@ -705,9 +702,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -718,9 +715,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -731,9 +728,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -744,9 +741,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -757,9 +754,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -770,9 +767,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -783,14 +780,17 @@ class="link-seesrc" target="_blank">Source Use a custom transport

Example:

-
let switch =
-  SwitchBuilder.new()
-  .withTransport(proc(upgr: Upgrade): Transport = TcpTransport.new(flags, upgr))
+
let switch = SwitchBuilder
+  .new()
+  .withTransport(
+    proc(upgr: Upgrade): Transport =
+      TcpTransport.new(flags, upgr)
+  )
   .build()
  Source -  Edit +  Edit @@ -809,7 +809,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/connmanager.html b/formatting/libp2p/connmanager.html index 8fc6c134e..3b5e38037 100644 --- a/formatting/libp2p/connmanager.html +++ b/formatting/libp2p/connmanager.html @@ -397,9 +397,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -412,9 +412,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -432,9 +432,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -445,9 +445,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -458,9 +458,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -479,9 +479,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -499,9 +499,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -512,9 +512,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -525,9 +525,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -537,9 +537,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -554,9 +554,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -566,9 +566,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -584,9 +584,9 @@ class="link-seesrc" target="_blank">Source Add peer event handler - handlers must not raise exceptions!   Source -  Edit +  Edit @@ -597,9 +597,9 @@ class="link-seesrc" target="_blank">Source Add peer event handler - handlers must not raise exceptions!   Source -  Edit +  Edit @@ -610,9 +610,9 @@ class="link-seesrc" target="_blank">Source cleanup resources for the connection manager   Source -  Edit +  Edit @@ -622,9 +622,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -634,9 +634,9 @@ class="link-seesrc" target="_blank">Source checks if a muxer is being tracked by the connection manager   Source -  Edit +  Edit @@ -646,9 +646,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -659,9 +659,9 @@ class="link-seesrc" target="_blank">Source drop connections and cleanup resources for peer   Source -  Edit +  Edit @@ -673,9 +673,9 @@ class="link-seesrc" target="_blank">Source Wait for a peer to connect to us. This will bypass the MaxConnectionsPerPeer   Source -  Edit +  Edit @@ -686,9 +686,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -700,9 +700,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -713,9 +713,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -727,9 +727,9 @@ class="link-seesrc" target="_blank">Source get a muxed stream for the passed muxer   Source -  Edit +  Edit @@ -741,9 +741,9 @@ class="link-seesrc" target="_blank">Source get a muxed stream for the passed peer from any connection   Source -  Edit +  Edit @@ -755,9 +755,9 @@ class="link-seesrc" target="_blank">Source get a muxed stream for the passed peer from a connection with dir   Source -  Edit +  Edit @@ -769,9 +769,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -781,9 +781,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -794,9 +794,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -807,9 +807,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -819,9 +819,9 @@ class="link-seesrc" target="_blank">Source Select a connection for the provided giving priority to outgoing connections   Source -  Edit +  Edit @@ -832,9 +832,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -844,9 +844,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -858,9 +858,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -874,7 +874,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/chacha20poly1305.html b/formatting/libp2p/crypto/chacha20poly1305.html index 062c4e107..4bcbfcca5 100644 --- a/formatting/libp2p/crypto/chacha20poly1305.html +++ b/formatting/libp2p/crypto/chacha20poly1305.html @@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/crypto.html b/formatting/libp2p/crypto/crypto.html index 8575433ba..aa287b449 100644 --- a/formatting/libp2p/crypto/crypto.html +++ b/formatting/libp2p/crypto/crypto.html @@ -1621,7 +1621,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/curve25519.html b/formatting/libp2p/crypto/curve25519.html index 0257e1544..7484e0777 100644 --- a/formatting/libp2p/crypto/curve25519.html +++ b/formatting/libp2p/crypto/curve25519.html @@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/ecnist.html b/formatting/libp2p/crypto/ecnist.html index 456cac312..50a59f7e3 100644 --- a/formatting/libp2p/crypto/ecnist.html +++ b/formatting/libp2p/crypto/ecnist.html @@ -1450,7 +1450,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/ed25519/constants.html b/formatting/libp2p/crypto/ed25519/constants.html index 8b9ea5520..2f6e5e9da 100644 --- a/formatting/libp2p/crypto/ed25519/constants.html +++ b/formatting/libp2p/crypto/ed25519/constants.html @@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/ed25519/ed25519.html b/formatting/libp2p/crypto/ed25519/ed25519.html index e1a5e761b..db2dc2e70 100644 --- a/formatting/libp2p/crypto/ed25519/ed25519.html +++ b/formatting/libp2p/crypto/ed25519/ed25519.html @@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/hkdf.html b/formatting/libp2p/crypto/hkdf.html index 63a79b230..96269f934 100644 --- a/formatting/libp2p/crypto/hkdf.html +++ b/formatting/libp2p/crypto/hkdf.html @@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/minasn1.html b/formatting/libp2p/crypto/minasn1.html index 0da1c6d1b..ebdd95209 100644 --- a/formatting/libp2p/crypto/minasn1.html +++ b/formatting/libp2p/crypto/minasn1.html @@ -1195,7 +1195,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/rsa.html b/formatting/libp2p/crypto/rsa.html index f3731f278..e14439e35 100644 --- a/formatting/libp2p/crypto/rsa.html +++ b/formatting/libp2p/crypto/rsa.html @@ -1029,7 +1029,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/crypto/secp.html b/formatting/libp2p/crypto/secp.html index 585257e42..9d5fbba90 100644 --- a/formatting/libp2p/crypto/secp.html +++ b/formatting/libp2p/crypto/secp.html @@ -908,7 +908,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/dial.html b/formatting/libp2p/dial.html index 48b3a25d1..a33b3cb40 100644 --- a/formatting/libp2p/dial.html +++ b/formatting/libp2p/dial.html @@ -275,9 +275,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -293,9 +293,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -307,9 +307,9 @@ class="link-seesrc" target="_blank">Source Connects to a peer and retrieve its PeerId   Source -  Edit +  Edit @@ -322,9 +322,9 @@ class="link-seesrc" target="_blank">Source connect remote peer without negotiating a protocol   Source -  Edit +  Edit @@ -337,9 +337,9 @@ class="link-seesrc" target="_blank">Source create a protocol stream and establish a connection if one doesn't exist already   Source -  Edit +  Edit @@ -351,9 +351,9 @@ class="link-seesrc" target="_blank">Source create a protocol stream over an existing connection   Source -  Edit +  Edit @@ -365,9 +365,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -381,7 +381,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/dialer.html b/formatting/libp2p/dialer.html index b563567de..6124da43d 100644 --- a/formatting/libp2p/dialer.html +++ b/formatting/libp2p/dialer.html @@ -313,9 +313,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -325,9 +325,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -344,9 +344,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -361,9 +361,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -374,9 +374,9 @@ class="link-seesrc" target="_blank">Source Connects to a peer and retrieve its PeerId   Source -  Edit +  Edit @@ -388,9 +388,9 @@ class="link-seesrc" target="_blank">Source connect remote peer without negotiating a protocol   Source -  Edit +  Edit @@ -402,9 +402,9 @@ class="link-seesrc" target="_blank">Source create a protocol stream and establish a connection if one doesn't exist already   Source -  Edit +  Edit @@ -415,9 +415,9 @@ class="link-seesrc" target="_blank">Source create a protocol stream over an existing connection   Source -  Edit +  Edit @@ -429,9 +429,9 @@ class="link-seesrc" target="_blank">Source Create a protocol stream in order to check if a connection is possible. Doesn't use the Connection Manager to save it.   Source -  Edit +  Edit @@ -450,7 +450,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/errors.html b/formatting/libp2p/errors.html index 585d897e4..671797700 100644 --- a/formatting/libp2p/errors.html +++ b/formatting/libp2p/errors.html @@ -312,7 +312,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/multiaddress.html b/formatting/libp2p/multiaddress.html index 3cf08e24a..52e70bd52 100644 --- a/formatting/libp2p/multiaddress.html +++ b/formatting/libp2p/multiaddress.html @@ -920,9 +920,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -932,9 +932,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -944,9 +944,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -957,9 +957,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -972,9 +972,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -988,9 +988,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1001,9 +1001,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1018,9 +1018,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1030,9 +1030,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1044,9 +1044,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1061,9 +1061,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1076,9 +1076,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1088,9 +1088,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1100,9 +1100,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1117,9 +1117,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1129,9 +1129,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1141,9 +1141,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1170,9 +1170,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1199,9 +1199,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1212,9 +1212,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1224,9 +1224,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1236,9 +1236,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1298,9 +1298,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1310,9 +1310,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1322,9 +1322,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1343,9 +1343,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1401,9 +1401,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1419,9 +1419,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1435,9 +1435,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1450,9 +1450,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1472,9 +1472,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1487,9 +1487,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1500,9 +1500,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1513,9 +1513,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1526,9 +1526,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1539,9 +1539,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1552,9 +1552,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1565,9 +1565,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1578,9 +1578,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1591,9 +1591,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1604,9 +1604,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1622,9 +1622,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1638,9 +1638,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1653,9 +1653,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1665,9 +1665,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1685,9 +1685,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1706,9 +1706,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1757,9 +1757,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1789,9 +1789,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1815,9 +1815,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1838,9 +1838,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1859,9 +1859,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1875,9 +1875,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1890,9 +1890,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1913,9 +1913,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1931,9 +1931,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1948,9 +1948,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -1965,9 +1965,9 @@ class="link-seesrc" target="_blank">Source Return pattern pat as string.   Source -  Edit +  Edit @@ -1977,9 +1977,9 @@ class="link-seesrc" target="_blank">Source Return string representation of MultiAddress value.   Source -  Edit +  Edit @@ -1992,9 +1992,9 @@ class="link-seesrc" target="_blank">Source

This procedure performs validation of concatenated result and can raise exception on error.

  Source -  Edit +  Edit @@ -2007,9 +2007,9 @@ class="link-seesrc" target="_blank">Source

This procedure performs validation of concatenated result and can raise exception on error.

  Source -  Edit +  Edit @@ -2020,9 +2020,9 @@ class="link-seesrc" target="_blank">Source Check of two MultiAddress are equal   Source -  Edit +  Edit @@ -2033,9 +2033,9 @@ class="link-seesrc" target="_blank">Source Returns partial MultiAddress with MultiCodec codec and present in MultiAddress ma.   Source -  Edit +  Edit @@ -2046,9 +2046,9 @@ class="link-seesrc" target="_blank">Source Returns part with index i of MultiAddress ma.   Source -  Edit +  Edit @@ -2059,9 +2059,9 @@ class="link-seesrc" target="_blank">Source Returns parts with slice slice of MultiAddress ma.   Source -  Edit +  Edit @@ -2072,9 +2072,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -2084,9 +2084,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -2097,9 +2097,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -2110,9 +2110,9 @@ class="link-seesrc" target="_blank">Source Returns true, if address with MultiCodec codec present in MultiAddress ma.   Source -  Edit +  Edit @@ -2122,9 +2122,9 @@ class="link-seesrc" target="_blank">Source Returns the data buffer of the MultiAddress.   Source -  Edit +  Edit @@ -2135,9 +2135,9 @@ class="link-seesrc" target="_blank">Source Get MultiBase encoded representation of ma using encoding encoding.   Source -  Edit +  Edit @@ -2148,9 +2148,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -2162,9 +2162,9 @@ class="link-seesrc" target="_blank">Source Read repeated field from protobuf message. field is field number. If the message is malformed, an error is returned. If field is not present in message, then ok(false) is returned and value is empty. If field is present, but no items could be parsed, then err(ProtoError.IncorrectBlob) is returned and value is empty. If field is present and some item could be parsed, then true is returned and value contains the parsed values.   Source -  Edit +  Edit @@ -2174,9 +2174,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -2186,9 +2186,9 @@ class="link-seesrc" target="_blank">Source Return hexadecimal string representation of MultiAddress value.   Source -  Edit +  Edit @@ -2198,9 +2198,9 @@ class="link-seesrc" target="_blank">Source Initialize empty MultiAddress.   Source -  Edit +  Edit @@ -2212,9 +2212,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -2225,9 +2225,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress using chronos.TransportAddress (IPv4/IPv6/Unix) and protocol information (UDP/TCP).   Source -  Edit +  Edit @@ -2238,9 +2238,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress with array of bytes data.   Source -  Edit +  Edit @@ -2252,9 +2252,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress object from protocol id protocol and array of bytes value.   Source -  Edit +  Edit @@ -2265,9 +2265,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress object from protocol id protocol and integer value. This procedure can be used to instantiate tcp, udp, dccp and sctp MultiAddresses.   Source -  Edit +  Edit @@ -2278,9 +2278,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress object from protocol id protocol and peer id value.   Source -  Edit +  Edit @@ -2291,9 +2291,9 @@ class="link-seesrc" target="_blank">Source Initialize MultiAddress object from string representation value.   Source -  Edit +  Edit @@ -2303,9 +2303,9 @@ class="link-seesrc" target="_blank">Source Returns true, if MultiAddress ma is empty or non initialized.   Source -  Edit +  Edit @@ -2315,9 +2315,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -2327,9 +2327,9 @@ class="link-seesrc" target="_blank">Source And operator for pattern   Source -  Edit +  Edit @@ -2339,9 +2339,9 @@ class="link-seesrc" target="_blank">Source Equal operator for pattern   Source -  Edit +  Edit @@ -2351,9 +2351,9 @@ class="link-seesrc" target="_blank">Source Or operator for pattern   Source -  Edit +  Edit @@ -2364,9 +2364,9 @@ class="link-seesrc" target="_blank">Source Match full address using pattern pat and return true if address satisfies pattern.   Source -  Edit +  Edit @@ -2377,9 +2377,9 @@ class="link-seesrc" target="_blank">Source Match prefix part of address using pattern pat and return true if address starts with pattern.   Source -  Edit +  Edit @@ -2392,9 +2392,9 @@ class="link-seesrc" target="_blank">Source

If current MultiAddress do not have argument value, then result array will be empty.

  Source -  Edit +  Edit @@ -2407,9 +2407,9 @@ class="link-seesrc" target="_blank">Source

If current MultiAddress do not have argument value, then result array will be empty.

  Source -  Edit +  Edit @@ -2422,9 +2422,9 @@ class="link-seesrc" target="_blank">Source

If current MultiAddress do not have argument value, then result will be 0.

  Source -  Edit +  Edit @@ -2435,9 +2435,9 @@ class="link-seesrc" target="_blank">Source Returns MultiAddress ma protocol code.   Source -  Edit +  Edit @@ -2448,9 +2448,9 @@ class="link-seesrc" target="_blank">Source Returns list of protocol codecs inside of MultiAddress value.   Source -  Edit +  Edit @@ -2461,9 +2461,9 @@ class="link-seesrc" target="_blank">Source Returns MultiAddress ma protocol name.   Source -  Edit +  Edit @@ -2474,9 +2474,9 @@ class="link-seesrc" target="_blank">Source Return string representation of MultiAddress value.   Source -  Edit +  Edit @@ -2486,9 +2486,9 @@ class="link-seesrc" target="_blank">Source Returns true if MultiAddress ma is valid.   Source -  Edit +  Edit @@ -2499,9 +2499,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -2512,9 +2512,9 @@ class="link-seesrc" target="_blank">Source Write MultiAddress value ma to buffer vb.   Source -  Edit +  Edit @@ -2530,9 +2530,9 @@ class="link-seesrc" target="_blank">Source Iterates over all addresses inside of MultiAddress ma.   Source -  Edit +  Edit @@ -2551,7 +2551,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/multibase.html b/formatting/libp2p/multibase.html index 59f33ce69..f7008bec6 100644 --- a/formatting/libp2p/multibase.html +++ b/formatting/libp2p/multibase.html @@ -271,9 +271,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -302,9 +302,9 @@ class="link-seesrc" target="_blank">Source Decode MultiBase encoded array inbytes and return decoded sequence of bytes.   Source -  Edit +  Edit @@ -320,9 +320,9 @@ class="link-seesrc" target="_blank">Source

On successfull decoding MultiBaseStatus.Success will be returned and outlen will be set to number of encoded octets (bytes).

  Source -  Edit +  Edit @@ -333,9 +333,9 @@ class="link-seesrc" target="_blank">Source Return estimated size of buffer to store MultiBase decoded value with encoding character encoding of length length.   Source -  Edit +  Edit @@ -346,9 +346,9 @@ class="link-seesrc" target="_blank">Source Encode array inbytes using MultiBase encoding scheme encoding and return encoded string.   Source -  Edit +  Edit @@ -365,9 +365,9 @@ class="link-seesrc" target="_blank">Source

On successfull encoding MultiBaseStatus.Success will be returned and outlen will be set to number of encoded octets (bytes).

  Source -  Edit +  Edit @@ -380,9 +380,9 @@ class="link-seesrc" target="_blank">Source

Procedure returns -1 if encoding scheme is not supported or not present.

  Source -  Edit +  Edit @@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/multicodec.html b/formatting/libp2p/multicodec.html index 24e69af72..43fe0171e 100644 --- a/formatting/libp2p/multicodec.html +++ b/formatting/libp2p/multicodec.html @@ -292,9 +292,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -305,9 +305,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -322,9 +322,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -339,9 +339,9 @@ class="link-seesrc" target="_blank">Source Returns string representation of MultiCodec mc.   Source -  Edit +  Edit @@ -351,9 +351,9 @@ class="link-seesrc" target="_blank">Source Returns true if MultiCodecs a and b are equal.   Source -  Edit +  Edit @@ -363,9 +363,9 @@ class="link-seesrc" target="_blank">Source Compares MultiCodec mc with integer code.   Source -  Edit +  Edit @@ -375,9 +375,9 @@ class="link-seesrc" target="_blank">Source Compares MultiCodec mc with string name.   Source -  Edit +  Edit @@ -387,9 +387,9 @@ class="link-seesrc" target="_blank">Source Return MultiCodec from integer representation code. If code is not valid multicodec code, then InvalidMultiCodec will be returned.   Source -  Edit +  Edit @@ -400,9 +400,9 @@ class="link-seesrc" target="_blank">Source Return MultiCodec from string representation name. If name is not valid multicodec name, then InvalidMultiCodec will be returned.   Source -  Edit +  Edit @@ -412,9 +412,9 @@ class="link-seesrc" target="_blank">Source Hash procedure for tables.   Source -  Edit +  Edit @@ -424,9 +424,9 @@ class="link-seesrc" target="_blank">Source Generate MultiCodec from integer code at compile time.   Source -  Edit +  Edit @@ -436,9 +436,9 @@ class="link-seesrc" target="_blank">Source Generate MultiCodec from string name at compile time.   Source -  Edit +  Edit @@ -448,9 +448,9 @@ class="link-seesrc" target="_blank">Source Write MultiCodec to buffer vb.   Source -  Edit +  Edit @@ -464,7 +464,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/multihash.html b/formatting/libp2p/multihash.html index 3d5cacffc..b8c67395a 100644 --- a/formatting/libp2p/multihash.html +++ b/formatting/libp2p/multihash.html @@ -366,9 +366,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -391,9 +391,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -408,9 +408,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -442,9 +442,9 @@ class="link-seesrc" target="_blank">Source Return string representation of MultiHash value.   Source -  Edit +  Edit @@ -454,9 +454,9 @@ class="link-seesrc" target="_blank">Source Compares MultiHashes a and b, returns true if hashes are equal, false otherwise.   Source -  Edit +  Edit @@ -466,9 +466,9 @@ class="link-seesrc" target="_blank">Source Compares MultiHash with nimcrypto's MDigest[T], returns true if hashes are equal, false otherwise.   Source -  Edit +  Edit @@ -478,9 +478,9 @@ class="link-seesrc" target="_blank">Source Compares MultiHash with nimcrypto's MDigest[T], returns true if hashes are equal, false otherwise.   Source -  Edit +  Edit @@ -490,9 +490,9 @@ class="link-seesrc" target="_blank">Source Return Base58 encoded string representation of MultiHash value.   Source -  Edit +  Edit @@ -506,9 +506,9 @@ class="link-seesrc" target="_blank">Source

On error -1 will be returned.

  Source -  Edit +  Edit @@ -519,9 +519,9 @@ class="link-seesrc" target="_blank">Source Perform digest calculation using hash algorithm with code hashcode on data array data.   Source -  Edit +  Edit @@ -532,9 +532,9 @@ class="link-seesrc" target="_blank">Source Perform digest calculation using hash algorithm with name hashname on data array data.   Source -  Edit +  Edit @@ -545,9 +545,9 @@ class="link-seesrc" target="_blank">Source Get MultiBase encoded representation of mh using encoding encoding.   Source -  Edit +  Edit @@ -557,9 +557,9 @@ class="link-seesrc" target="_blank">Source Return hexadecimal string representation of MultiHash value.   Source -  Edit +  Edit @@ -570,9 +570,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from bytes array data.   Source -  Edit +  Edit @@ -583,9 +583,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from hexadecimal string representation data.   Source -  Edit +  Edit @@ -596,9 +596,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from array of bytes bdigest and hash algorithm code hashcode.   Source -  Edit +  Edit @@ -609,9 +609,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from array of bytes bdigest and hash algorithm code hashcode.   Source -  Edit +  Edit @@ -622,9 +622,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from BASE58 encoded string representation data.   Source -  Edit +  Edit @@ -635,9 +635,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from nimcrypto's MDigest and hash algorithm code hashcode.   Source -  Edit +  Edit @@ -648,9 +648,9 @@ class="link-seesrc" target="_blank">Source Create MultiHash from nimcrypto's MDigest object and hash algorithm name hashname.   Source -  Edit +  Edit @@ -661,9 +661,9 @@ class="link-seesrc" target="_blank">Source Returns true if array of bytes data has correct MultiHash inside.   Source -  Edit +  Edit @@ -673,9 +673,9 @@ class="link-seesrc" target="_blank">Source Write MultiHash value mh to buffer vb.   Source -  Edit +  Edit @@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/multistream.html b/formatting/libp2p/multistream.html index 8ba74e5bc..4386bd1f1 100644 --- a/formatting/libp2p/multistream.html +++ b/formatting/libp2p/multistream.html @@ -331,9 +331,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -343,9 +343,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -355,9 +355,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -370,9 +370,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -388,9 +388,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -401,9 +401,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -415,9 +415,9 @@ class="link-seesrc" target="_blank">Source helper to allow registering pure handlers   Source -  Edit +  Edit @@ -430,9 +430,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -444,9 +444,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -459,9 +459,9 @@ class="link-seesrc" target="_blank">Source list remote protos requests on connection   Source -  Edit +  Edit @@ -471,9 +471,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -486,9 +486,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -501,9 +501,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -515,9 +515,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -529,9 +529,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -543,9 +543,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -559,7 +559,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/muxers/mplex/coder.html b/formatting/libp2p/muxers/mplex/coder.html index 13fbb9281..d1ab64b4d 100644 --- a/formatting/libp2p/muxers/mplex/coder.html +++ b/formatting/libp2p/muxers/mplex/coder.html @@ -399,7 +399,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/muxers/mplex/mplex.html b/formatting/libp2p/muxers/mplex/mplex.html index cc7275f5a..cc5c528db 100644 --- a/formatting/libp2p/muxers/mplex/mplex.html +++ b/formatting/libp2p/muxers/mplex/mplex.html @@ -455,7 +455,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/muxers/muxer.html b/formatting/libp2p/muxers/muxer.html index b80cd0b3c..74e478fdf 100644 --- a/formatting/libp2p/muxers/muxer.html +++ b/formatting/libp2p/muxers/muxer.html @@ -535,7 +535,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/muxers/yamux/yamux.html b/formatting/libp2p/muxers/yamux/yamux.html index a0cacdd6c..15731aec3 100644 --- a/formatting/libp2p/muxers/yamux/yamux.html +++ b/formatting/libp2p/muxers/yamux/yamux.html @@ -604,7 +604,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/nameresolving/nameresolver.html b/formatting/libp2p/nameresolving/nameresolver.html index ef7d9e1b9..bd2114f41 100644 --- a/formatting/libp2p/nameresolving/nameresolver.html +++ b/formatting/libp2p/nameresolving/nameresolver.html @@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/observedaddrmanager.html b/formatting/libp2p/observedaddrmanager.html index dc4c5fd60..078cf1855 100644 --- a/formatting/libp2p/observedaddrmanager.html +++ b/formatting/libp2p/observedaddrmanager.html @@ -292,9 +292,9 @@ class="link-seesrc" target="_blank">Source Returns a string representation of the ObservedAddrManager.   Source -  Edit +  Edit @@ -318,9 +318,9 @@ class="link-seesrc" target="_blank">Source Returns the most observed IP4/Port and IP6/Port address or an empty seq if the number of observations are less than minCount.   Source -  Edit +  Edit @@ -331,9 +331,9 @@ class="link-seesrc" target="_blank">Source Replaces the first proto value of each listen address by the corresponding (matching the proto code) most observed value. If the most observed value is not available, the original MultiAddress is returned.   Source -  Edit +  Edit @@ -344,9 +344,9 @@ class="link-seesrc" target="_blank">Source Creates a new ObservedAddrManager.   Source -  Edit +  Edit @@ -360,7 +360,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/peerid.html b/formatting/libp2p/peerid.html index 407567323..afe4434ed 100644 --- a/formatting/libp2p/peerid.html +++ b/formatting/libp2p/peerid.html @@ -390,9 +390,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -407,9 +407,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -424,9 +424,9 @@ class="link-seesrc" target="_blank">Source Return base58 encoded pid representation.   Source -  Edit +  Edit @@ -436,9 +436,9 @@ class="link-seesrc" target="_blank">Source Compares two peer ids a and b. Returns:

0 iff a == b
< 0 iff a < b
> 0 iff a > b

  Source -  Edit +  Edit @@ -451,9 +451,9 @@ class="link-seesrc" target="_blank">Source

Returns false otherwise.

  Source -  Edit +  Edit @@ -464,9 +464,9 @@ class="link-seesrc" target="_blank">Source Read PeerId from ProtoBuf's message and validate it   Source -  Edit +  Edit @@ -476,9 +476,9 @@ class="link-seesrc" target="_blank">Source Returns true if pid is small enough to hold public key inside.   Source -  Edit +  Edit @@ -488,9 +488,9 @@ class="link-seesrc" target="_blank">Source Returns hexadecimal string representation of pid.   Source -  Edit +  Edit @@ -503,9 +503,9 @@ class="link-seesrc" target="_blank">Source

Returns true if peer was successfully initialiazed.

  Source -  Edit +  Edit @@ -517,9 +517,9 @@ class="link-seesrc" target="_blank">Source

Returns true if peer was successfully initialiazed.

  Source -  Edit +  Edit @@ -530,9 +530,9 @@ class="link-seesrc" target="_blank">Source Create new peer id from raw binary representation data.   Source -  Edit +  Edit @@ -543,9 +543,9 @@ class="link-seesrc" target="_blank">Source Create new peer id from base58 encoded string representation data.   Source -  Edit +  Edit @@ -556,9 +556,9 @@ class="link-seesrc" target="_blank">Source Create new peer id from public key pubkey.   Source -  Edit +  Edit @@ -569,9 +569,9 @@ class="link-seesrc" target="_blank">Source Create new peer id from private key seckey.   Source -  Edit +  Edit @@ -582,9 +582,9 @@ class="link-seesrc" target="_blank">Source Returns true if pid matches public key pubkey.   Source -  Edit +  Edit @@ -595,9 +595,9 @@ class="link-seesrc" target="_blank">Source Returns true if pid matches private key seckey.   Source -  Edit +  Edit @@ -608,9 +608,9 @@ class="link-seesrc" target="_blank">Source Create new peer id with random public key.   Source -  Edit +  Edit @@ -620,9 +620,9 @@ class="link-seesrc" target="_blank">Source Returns compact string representation of pid.   Source -  Edit +  Edit @@ -635,9 +635,9 @@ class="link-seesrc" target="_blank">Source

Returns number of bytes needed to store pid.

  Source -  Edit +  Edit @@ -647,9 +647,9 @@ class="link-seesrc" target="_blank">Source Validate check if pid is empty or not.   Source -  Edit +  Edit @@ -660,9 +660,9 @@ class="link-seesrc" target="_blank">Source Write PeerId value peerid to object pb using ProtoBuf's encoding.   Source -  Edit +  Edit @@ -672,9 +672,9 @@ class="link-seesrc" target="_blank">Source Write PeerId value peerid to buffer vb.   Source -  Edit +  Edit @@ -688,18 +688,6 @@ class="link-seesrc" target="_blank">Source
-  Source -  Edit - -
- -
-
template `<`(a, b: PeerId): bool
-
- -   Source @@ -707,20 +695,8 @@ class="link-seesrc" target="_blank">Source
-
-
template `==`(a, b: PeerId): bool
-
- - -  Source -  Edit - -
-
-
-
template `>=`(a, b: PeerId): bool
+
+
template `<`(a, b: PeerId): bool
@@ -731,44 +707,8 @@ class="link-seesrc" target="_blank">Source
-
-
template `>`(a, b: PeerId): bool
-
- - -  Source -  Edit - -
-
-
-
template formatItIMPL(it: PeerId): auto
-
- - -  Source -  Edit - -
-
-
-
template getBytes(pid: PeerId): seq[byte]
-
- -Return PeerId pid as array of bytes. -  Source -  Edit - -
-
-
-
template hash(pid: PeerId): Hash
+
+
template `==`(a, b: PeerId): bool
@@ -777,6 +717,66 @@ href="https://github.com/status-im/nim-libp2p/tree/formatting/libp2p/peerid.nim# class="link-seesrc" target="_blank">Source   Edit +
+
+
+
template `>=`(a, b: PeerId): bool
+
+ + +  Source +  Edit + +
+
+
+
template `>`(a, b: PeerId): bool
+
+ + +  Source +  Edit + +
+
+
+
template formatItIMPL(it: PeerId): auto
+
+ + +  Source +  Edit + +
+
+
+
template getBytes(pid: PeerId): seq[byte]
+
+ +Return PeerId pid as array of bytes. +  Source +  Edit + +
+
+
+
template hash(pid: PeerId): Hash
+
+ + +  Source +  Edit +
@@ -785,9 +785,9 @@ class="link-seesrc" target="_blank">Source Returns length of pid binary representation.   Source -  Edit +  Edit
@@ -806,7 +806,7 @@ class="link-seesrc" target="_blank">Source
diff --git a/formatting/libp2p/peerinfo.html b/formatting/libp2p/peerinfo.html index 5af034722..5ef976b73 100644 --- a/formatting/libp2p/peerinfo.html +++ b/formatting/libp2p/peerinfo.html @@ -337,9 +337,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -366,9 +366,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -379,9 +379,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -395,9 +395,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -408,9 +408,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -421,9 +421,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -433,9 +433,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -463,9 +463,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -484,7 +484,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protobuf/minprotobuf.html b/formatting/libp2p/protobuf/minprotobuf.html index 7702fccf1..20fd1ab35 100644 --- a/formatting/libp2p/protobuf/minprotobuf.html +++ b/formatting/libp2p/protobuf/minprotobuf.html @@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/connectivity/autonat/core.html b/formatting/libp2p/protocols/connectivity/autonat/core.html index 070a65296..e2afbb45e 100644 --- a/formatting/libp2p/protocols/connectivity/autonat/core.html +++ b/formatting/libp2p/protocols/connectivity/autonat/core.html @@ -508,7 +508,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/connectivity/autonat/server.html b/formatting/libp2p/protocols/connectivity/autonat/server.html index 534661c25..cdd358da7 100644 --- a/formatting/libp2p/protocols/connectivity/autonat/server.html +++ b/formatting/libp2p/protocols/connectivity/autonat/server.html @@ -302,7 +302,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/connectivity/relay/client.html b/formatting/libp2p/protocols/connectivity/relay/client.html index 322c6c3ad..41746e8e6 100644 --- a/formatting/libp2p/protocols/connectivity/relay/client.html +++ b/formatting/libp2p/protocols/connectivity/relay/client.html @@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/connectivity/relay/messages.html b/formatting/libp2p/protocols/connectivity/relay/messages.html index acb20da8a..b9f0da856 100644 --- a/formatting/libp2p/protocols/connectivity/relay/messages.html +++ b/formatting/libp2p/protocols/connectivity/relay/messages.html @@ -722,7 +722,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/connectivity/relay/rconn.html b/formatting/libp2p/protocols/connectivity/relay/rconn.html index db0c23d44..cc460c704 100644 --- a/formatting/libp2p/protocols/connectivity/relay/rconn.html +++ b/formatting/libp2p/protocols/connectivity/relay/rconn.html @@ -383,7 +383,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/connectivity/relay/relay.html b/formatting/libp2p/protocols/connectivity/relay/relay.html index ed42f61b6..5e66ab825 100644 --- a/formatting/libp2p/protocols/connectivity/relay/relay.html +++ b/formatting/libp2p/protocols/connectivity/relay/relay.html @@ -568,7 +568,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/connectivity/relay/rtransport.html b/formatting/libp2p/protocols/connectivity/relay/rtransport.html index 1699083ff..20c7bb5f4 100644 --- a/formatting/libp2p/protocols/connectivity/relay/rtransport.html +++ b/formatting/libp2p/protocols/connectivity/relay/rtransport.html @@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/connectivity/relay/utils.html b/formatting/libp2p/protocols/connectivity/relay/utils.html index f57dae174..2a7e9fd6f 100644 --- a/formatting/libp2p/protocols/connectivity/relay/utils.html +++ b/formatting/libp2p/protocols/connectivity/relay/utils.html @@ -376,7 +376,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/identify.html b/formatting/libp2p/protocols/identify.html index 250300377..f7c4be38e 100644 --- a/formatting/libp2p/protocols/identify.html +++ b/formatting/libp2p/protocols/identify.html @@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/ping.html b/formatting/libp2p/protocols/ping.html index d65344b04..5ac0fd303 100644 --- a/formatting/libp2p/protocols/ping.html +++ b/formatting/libp2p/protocols/ping.html @@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/protocol.html b/formatting/libp2p/protocols/protocol.html index 2e8d5126e..a23ec4956 100644 --- a/formatting/libp2p/protocols/protocol.html +++ b/formatting/libp2p/protocols/protocol.html @@ -563,7 +563,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub.html b/formatting/libp2p/protocols/pubsub.html index f9aa28e58..e046062ff 100644 --- a/formatting/libp2p/protocols/pubsub.html +++ b/formatting/libp2p/protocols/pubsub.html @@ -239,7 +239,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/errors.html b/formatting/libp2p/protocols/pubsub/errors.html index d7d9eb9b4..4be96c094 100644 --- a/formatting/libp2p/protocols/pubsub/errors.html +++ b/formatting/libp2p/protocols/pubsub/errors.html @@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/floodsub.html b/formatting/libp2p/protocols/pubsub/floodsub.html index d1839c399..2ef5712ea 100644 --- a/formatting/libp2p/protocols/pubsub/floodsub.html +++ b/formatting/libp2p/protocols/pubsub/floodsub.html @@ -466,7 +466,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/gossipsub.html b/formatting/libp2p/protocols/pubsub/gossipsub.html index 74c934d9b..0125f4330 100644 --- a/formatting/libp2p/protocols/pubsub/gossipsub.html +++ b/formatting/libp2p/protocols/pubsub/gossipsub.html @@ -602,7 +602,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/gossipsub/behavior.html b/formatting/libp2p/protocols/pubsub/gossipsub/behavior.html index aa2051790..1e1e21181 100644 --- a/formatting/libp2p/protocols/pubsub/gossipsub/behavior.html +++ b/formatting/libp2p/protocols/pubsub/gossipsub/behavior.html @@ -494,7 +494,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/gossipsub/scoring.html b/formatting/libp2p/protocols/pubsub/gossipsub/scoring.html index 6eb7426b3..41291d5bc 100644 --- a/formatting/libp2p/protocols/pubsub/gossipsub/scoring.html +++ b/formatting/libp2p/protocols/pubsub/gossipsub/scoring.html @@ -448,7 +448,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/gossipsub/types.html b/formatting/libp2p/protocols/pubsub/gossipsub/types.html index 59601d811..60ef1d9f7 100644 --- a/formatting/libp2p/protocols/pubsub/gossipsub/types.html +++ b/formatting/libp2p/protocols/pubsub/gossipsub/types.html @@ -778,7 +778,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/mcache.html b/formatting/libp2p/protocols/pubsub/mcache.html index 8e3c0b65c..3015166ab 100644 --- a/formatting/libp2p/protocols/pubsub/mcache.html +++ b/formatting/libp2p/protocols/pubsub/mcache.html @@ -405,7 +405,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/peertable.html b/formatting/libp2p/protocols/pubsub/peertable.html index 7e1adc6f3..e06fbad21 100644 --- a/formatting/libp2p/protocols/pubsub/peertable.html +++ b/formatting/libp2p/protocols/pubsub/peertable.html @@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/pubsub.html b/formatting/libp2p/protocols/pubsub/pubsub.html index 0022bddbb..f1db46f58 100644 --- a/formatting/libp2p/protocols/pubsub/pubsub.html +++ b/formatting/libp2p/protocols/pubsub/pubsub.html @@ -1176,7 +1176,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/pubsubpeer.html b/formatting/libp2p/protocols/pubsub/pubsubpeer.html index fd1a1aa5e..1cf6c2992 100644 --- a/formatting/libp2p/protocols/pubsub/pubsubpeer.html +++ b/formatting/libp2p/protocols/pubsub/pubsubpeer.html @@ -820,7 +820,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/rpc/message.html b/formatting/libp2p/protocols/pubsub/rpc/message.html index 95f1ea325..27543410d 100644 --- a/formatting/libp2p/protocols/pubsub/rpc/message.html +++ b/formatting/libp2p/protocols/pubsub/rpc/message.html @@ -342,7 +342,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/rpc/messages.html b/formatting/libp2p/protocols/pubsub/rpc/messages.html index a835eb0b7..488964d74 100644 --- a/formatting/libp2p/protocols/pubsub/rpc/messages.html +++ b/formatting/libp2p/protocols/pubsub/rpc/messages.html @@ -662,7 +662,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/rpc/protobuf.html b/formatting/libp2p/protocols/pubsub/rpc/protobuf.html index 6704231ab..5ce5225ec 100644 --- a/formatting/libp2p/protocols/pubsub/rpc/protobuf.html +++ b/formatting/libp2p/protocols/pubsub/rpc/protobuf.html @@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/pubsub/timedcache.html b/formatting/libp2p/protocols/pubsub/timedcache.html index 7d0adec26..07d73e352 100644 --- a/formatting/libp2p/protocols/pubsub/timedcache.html +++ b/formatting/libp2p/protocols/pubsub/timedcache.html @@ -456,7 +456,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/rendezvous.html b/formatting/libp2p/protocols/rendezvous.html index bbbaf5307..94005a618 100644 --- a/formatting/libp2p/protocols/rendezvous.html +++ b/formatting/libp2p/protocols/rendezvous.html @@ -532,7 +532,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/secure/noise.html b/formatting/libp2p/protocols/secure/noise.html index 7380cd8fd..c1b29412f 100644 --- a/formatting/libp2p/protocols/secure/noise.html +++ b/formatting/libp2p/protocols/secure/noise.html @@ -570,7 +570,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/protocols/secure/secure.html b/formatting/libp2p/protocols/secure/secure.html index a1a382c45..a82bc808b 100644 --- a/formatting/libp2p/protocols/secure/secure.html +++ b/formatting/libp2p/protocols/secure/secure.html @@ -558,7 +558,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/routing_record.html b/formatting/libp2p/routing_record.html index d5bcdf970..40fcd4ad0 100644 --- a/formatting/libp2p/routing_record.html +++ b/formatting/libp2p/routing_record.html @@ -293,9 +293,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -309,9 +309,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -321,9 +321,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -339,9 +339,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -352,9 +352,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -364,9 +364,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -377,9 +377,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -389,9 +389,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -401,9 +401,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/services/wildcardresolverservice.html b/formatting/libp2p/services/wildcardresolverservice.html index 5b1fd8170..c41ba9a7d 100644 --- a/formatting/libp2p/services/wildcardresolverservice.html +++ b/formatting/libp2p/services/wildcardresolverservice.html @@ -426,7 +426,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/signed_envelope.html b/formatting/libp2p/signed_envelope.html index 86236fd5b..14732d7d4 100644 --- a/formatting/libp2p/signed_envelope.html +++ b/formatting/libp2p/signed_envelope.html @@ -318,9 +318,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -332,9 +332,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -347,9 +347,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -365,9 +365,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -378,9 +378,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -391,9 +391,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -404,9 +404,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -417,9 +417,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -430,9 +430,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -444,9 +444,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -457,9 +457,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -469,9 +469,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -482,9 +482,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/stream/bufferstream.html b/formatting/libp2p/stream/bufferstream.html index 84f9e3d59..995e46c3b 100644 --- a/formatting/libp2p/stream/bufferstream.html +++ b/formatting/libp2p/stream/bufferstream.html @@ -524,7 +524,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/stream/chronosstream.html b/formatting/libp2p/stream/chronosstream.html index 6db1c8c5c..7888a34e1 100644 --- a/formatting/libp2p/stream/chronosstream.html +++ b/formatting/libp2p/stream/chronosstream.html @@ -504,7 +504,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/stream/connection.html b/formatting/libp2p/stream/connection.html index b7b753390..d6db62505 100644 --- a/formatting/libp2p/stream/connection.html +++ b/formatting/libp2p/stream/connection.html @@ -502,7 +502,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/stream/lpstream.html b/formatting/libp2p/stream/lpstream.html index cb902eb99..58f9460bc 100644 --- a/formatting/libp2p/stream/lpstream.html +++ b/formatting/libp2p/stream/lpstream.html @@ -1009,7 +1009,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/stream/streamseq.html b/formatting/libp2p/stream/streamseq.html index 6ecf5d5a9..e732fc542 100644 --- a/formatting/libp2p/stream/streamseq.html +++ b/formatting/libp2p/stream/streamseq.html @@ -442,7 +442,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/switch.html b/formatting/libp2p/switch.html index 8184c04d6..43e415991 100644 --- a/formatting/libp2p/switch.html +++ b/formatting/libp2p/switch.html @@ -388,9 +388,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -411,9 +411,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -428,9 +428,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -449,9 +449,9 @@ class="link-seesrc" target="_blank">Source

The handler should not raise.

  Source -  Edit +  Edit @@ -465,9 +465,9 @@ class="link-seesrc" target="_blank">Source

The handler should not raise.

  Source -  Edit +  Edit @@ -478,9 +478,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -491,9 +491,9 @@ class="link-seesrc" target="_blank">Source Connected to a peer and open a stream with the specified proto   Source -  Edit +  Edit @@ -504,9 +504,9 @@ class="link-seesrc" target="_blank">Source Open a stream to a connected peer with the specified proto   Source -  Edit +  Edit @@ -517,9 +517,9 @@ class="link-seesrc" target="_blank">Source Disconnect from a peer, waiting for the connection(s) to be dropped   Source -  Edit +  Edit @@ -529,9 +529,9 @@ class="link-seesrc" target="_blank">Source returns true if the peer has one or more associated connections   Source -  Edit +  Edit @@ -542,9 +542,9 @@ class="link-seesrc" target="_blank">Source mount a protocol to the switch   Source -  Edit +  Edit @@ -558,9 +558,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -572,9 +572,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -586,9 +586,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -600,9 +600,9 @@ class="link-seesrc" target="_blank">Source Start listening on every transport   Source -  Edit +  Edit @@ -614,9 +614,9 @@ class="link-seesrc" target="_blank">Source Stop listening on every transport, and close every active connections   Source -  Edit +  Edit @@ -631,9 +631,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -646,9 +646,9 @@ class="link-seesrc" target="_blank">Source

If the P2P part is missing from the MA and allowUnknownPeerId is set to true, this will discover the PeerId while connecting. This exposes you to MiTM attacks, so it shouldn't be used without care!

  Source -  Edit +  Edit @@ -660,9 +660,9 @@ class="link-seesrc" target="_blank">Source Connects to a peer without opening a stream to it   Source -  Edit +  Edit @@ -674,9 +674,9 @@ class="link-seesrc" target="_blank">Source Connected to a peer and open a stream with the specified protos   Source -  Edit +  Edit @@ -687,9 +687,9 @@ class="link-seesrc" target="_blank">Source Open a stream to a connected peer with the specified protos   Source -  Edit +  Edit @@ -700,25 +700,25 @@ class="link-seesrc" target="_blank">Source
-  Source -  Edit - -
- -
-
method setup(self: Service; switch: Switch): Future[bool] {.base,
-    stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [],
-    tags: [RootEffect].}
-
- -   Source   Edit +
+
+
+
method setup(self: Service; switch: Switch): Future[bool] {.base,
+    stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [],
+    tags: [RootEffect].}
+
+ + +  Source +  Edit +
@@ -729,9 +729,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit
@@ -750,7 +750,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/transcoder.html b/formatting/libp2p/transcoder.html index 989ce84f5..b6f339924 100644 --- a/formatting/libp2p/transcoder.html +++ b/formatting/libp2p/transcoder.html @@ -250,9 +250,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -266,7 +266,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/transports/tcptransport.html b/formatting/libp2p/transports/tcptransport.html index 7b4869d1c..eccc90369 100644 --- a/formatting/libp2p/transports/tcptransport.html +++ b/formatting/libp2p/transports/tcptransport.html @@ -474,7 +474,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/transports/transport.html b/formatting/libp2p/transports/transport.html index 323556fad..9fdb33414 100644 --- a/formatting/libp2p/transports/transport.html +++ b/formatting/libp2p/transports/transport.html @@ -491,7 +491,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/transports/wstransport.html b/formatting/libp2p/transports/wstransport.html index 26fe31570..6fdaa3ec7 100644 --- a/formatting/libp2p/transports/wstransport.html +++ b/formatting/libp2p/transports/wstransport.html @@ -583,7 +583,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/upgrademngrs/muxedupgrade.html b/formatting/libp2p/upgrademngrs/muxedupgrade.html index 05f0b44c1..05c16224b 100644 --- a/formatting/libp2p/upgrademngrs/muxedupgrade.html +++ b/formatting/libp2p/upgrademngrs/muxedupgrade.html @@ -334,7 +334,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/upgrademngrs/upgrade.html b/formatting/libp2p/upgrademngrs/upgrade.html index c3e749ffa..5f3344b52 100644 --- a/formatting/libp2p/upgrademngrs/upgrade.html +++ b/formatting/libp2p/upgrademngrs/upgrade.html @@ -376,7 +376,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/utility.html b/formatting/libp2p/utility.html index f6dc921ce..9daf0c508 100644 --- a/formatting/libp2p/utility.html +++ b/formatting/libp2p/utility.html @@ -290,9 +290,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -302,9 +302,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -314,9 +314,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -332,9 +332,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -349,9 +349,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -361,9 +361,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -385,9 +385,9 @@ class="link-seesrc" target="_blank">Source Converts value from S to T iff value is guaranteed to be preserved.   Source -  Edit +  Edit @@ -397,9 +397,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -409,9 +409,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -421,9 +421,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -442,9 +442,9 @@ class="link-seesrc" target="_blank">Source

Note: This is a template, and it will be inlined at the call site, offering good performance.

  Source -  Edit +  Edit @@ -458,7 +458,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/utils/future.html b/formatting/libp2p/utils/future.html index fd431a4b6..b6eb6d00a 100644 --- a/formatting/libp2p/utils/future.html +++ b/formatting/libp2p/utils/future.html @@ -271,7 +271,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/utils/heartbeat.html b/formatting/libp2p/utils/heartbeat.html index 6147ff640..43b9a9af0 100644 --- a/formatting/libp2p/utils/heartbeat.html +++ b/formatting/libp2p/utils/heartbeat.html @@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/utils/offsettedseq.html b/formatting/libp2p/utils/offsettedseq.html index 3c29843b3..ab6f37590 100644 --- a/formatting/libp2p/utils/offsettedseq.html +++ b/formatting/libp2p/utils/offsettedseq.html @@ -512,7 +512,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/utils/semaphore.html b/formatting/libp2p/utils/semaphore.html index 5dcdff585..dc26490d3 100644 --- a/formatting/libp2p/utils/semaphore.html +++ b/formatting/libp2p/utils/semaphore.html @@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/varint.html b/formatting/libp2p/varint.html index bbe90493c..93ca6531c 100644 --- a/formatting/libp2p/varint.html +++ b/formatting/libp2p/varint.html @@ -337,9 +337,9 @@ class="link-seesrc" target="_blank">Source Signed integer types which will be encoded using simple cast.   Source -  Edit +  Edit @@ -349,9 +349,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -361,22 +361,21 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit
-
LP = object
-  
+
LP = object
Use this type to specify LibP2P varint encoding   Source -  Edit +  Edit
@@ -386,9 +385,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -398,15 +397,14 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit
-
PB = object
-  
+
PB = object
Use this type to specify Google ProtoBuf's varint encoding @@ -423,9 +421,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit
@@ -434,23 +432,23 @@ class="link-seesrc" target="_blank">Source
+  Source +  Edit + +
+ +
+
PBSomeVarint = PBSomeUVarint | PBSomeSVarint | PBZigVarint
+
+ +   Source   Edit -
-
-
-
PBSomeVarint = PBSomeUVarint | PBSomeSVarint | PBZigVarint
-
- - -  Source -  Edit -
@@ -459,9 +457,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit
@@ -471,9 +469,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -483,9 +481,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -520,9 +518,9 @@ class="link-seesrc" target="_blank">Source Signed integer types which will be encoded using zigzag encoding.   Source -  Edit +  Edit @@ -532,9 +530,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -544,9 +542,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -562,9 +560,9 @@ class="link-seesrc" target="_blank">Source Encode integer to LibP2P unsigned varint and returns sequence of bytes as buffer.   Source -  Edit +  Edit @@ -575,9 +573,9 @@ class="link-seesrc" target="_blank">Source Encode integer to Google ProtoBuf's signed/unsigned varint and returns sequence of bytes as buffer.   Source -  Edit +  Edit @@ -595,9 +593,9 @@ class="link-seesrc" target="_blank">Source

Note, when decoding 10th byte of 64bit integer only 1 bit from byte will be decoded, all other bits will be ignored. When decoding 5th byte of 32bit integer only 4 bits from byte will be decoded, all other bits will be ignored.

  Source -  Edit +  Edit @@ -615,9 +613,9 @@ class="link-seesrc" target="_blank">Source

LibP2P When decoding 5th byte of 32bit integer only 4 bits from byte will be decoded, all other bits will be ignored.

  Source -  Edit +  Edit @@ -629,9 +627,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -647,9 +645,9 @@ class="link-seesrc" target="_blank">Source

Maximum encoded length of 64bit integer is 10 octets. Maximum encoded length of 32bit integer is 5 octets.

  Source -  Edit +  Edit @@ -666,9 +664,9 @@ class="link-seesrc" target="_blank">Source

LibP2P Maximum encoded length of 63bit integer is 9 octets. Maximum encoded length of 32bit integer is 5 octets.

  Source -  Edit +  Edit @@ -680,9 +678,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -692,9 +690,9 @@ class="link-seesrc" target="_blank">Source Returns number of bytes required to encode integer x as varint.   Source -  Edit +  Edit @@ -709,9 +707,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -725,7 +723,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/vbuffer.html b/formatting/libp2p/vbuffer.html index 3bddb78ff..e6e5cfd9d 100644 --- a/formatting/libp2p/vbuffer.html +++ b/formatting/libp2p/vbuffer.html @@ -348,9 +348,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -365,9 +365,9 @@ class="link-seesrc" target="_blank">Source Return hexadecimal string representation of buffer vb.   Source -  Edit +  Edit @@ -377,9 +377,9 @@ class="link-seesrc" target="_blank">Source Finishes vb.   Source -  Edit +  Edit @@ -389,9 +389,9 @@ class="link-seesrc" target="_blank">Source Returns number of bytes left in buffer vb.   Source -  Edit +  Edit @@ -401,9 +401,9 @@ class="link-seesrc" target="_blank">Source Initialize empty VBuffer.   Source -  Edit +  Edit @@ -414,9 +414,9 @@ class="link-seesrc" target="_blank">Source Initialize VBuffer with copy of data.   Source -  Edit +  Edit @@ -426,9 +426,9 @@ class="link-seesrc" target="_blank">Source Initialize VBuffer with shallow copy of data.   Source -  Edit +  Edit @@ -438,9 +438,9 @@ class="link-seesrc" target="_blank">Source Returns number of bytes left in buffer vb.   Source -  Edit +  Edit @@ -470,9 +470,9 @@ class="link-seesrc" target="_blank">Source

Returns number of bytes peeked from vb or -1 on error.

  Source -  Edit +  Edit @@ -485,9 +485,9 @@ class="link-seesrc" target="_blank">Source

Returns number of bytes peeked from vb or -1 on error.

  Source -  Edit +  Edit @@ -500,9 +500,9 @@ class="link-seesrc" target="_blank">Source

Returns number of bytes consumed from vb or -1 on error.

  Source -  Edit +  Edit @@ -515,9 +515,9 @@ class="link-seesrc" target="_blank">Source

Returns number of bytes consumed from vb or -1 on error.

  Source -  Edit +  Edit @@ -530,9 +530,9 @@ class="link-seesrc" target="_blank">Source

Returns number of bytes consumed from vb or -1 on error.

  Source -  Edit +  Edit @@ -543,9 +543,9 @@ class="link-seesrc" target="_blank">Source Write array value to buffer vb, value will NOT be prefixed with varint length of the array.   Source -  Edit +  Edit @@ -555,9 +555,9 @@ class="link-seesrc" target="_blank">Source Write value as variable unsigned integer.   Source -  Edit +  Edit @@ -567,9 +567,9 @@ class="link-seesrc" target="_blank">Source Write value as variable unsigned integer.   Source -  Edit +  Edit @@ -579,9 +579,9 @@ class="link-seesrc" target="_blank">Source Write array value to buffer vb, value will be prefixed with varint length of the array.   Source -  Edit +  Edit @@ -591,9 +591,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -608,9 +608,9 @@ class="link-seesrc" target="_blank">Source Returns true if buffer vb is empty.   Source -  Edit +  Edit @@ -620,9 +620,9 @@ class="link-seesrc" target="_blank">Source Returns true if buffer vb holds at least length bytes.   Source -  Edit +  Edit @@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/libp2p/wire.html b/formatting/libp2p/wire.html index 2df96be14..c244e3d09 100644 --- a/formatting/libp2p/wire.html +++ b/formatting/libp2p/wire.html @@ -415,9 +415,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -464,9 +464,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -484,9 +484,9 @@ class="link-seesrc" target="_blank">Source

Note: This procedure only used in go-libp2p-daemon wrapper.

  Source -  Edit +  Edit @@ -500,9 +500,9 @@ class="link-seesrc" target="_blank">Source Open new connection to remote peer with address ma and create new transport object StreamTransport for established connection. bufferSize is size of internal buffer for transport.   Source -  Edit +  Edit @@ -516,9 +516,9 @@ class="link-seesrc" target="_blank">Source

Note: This procedure only used in go-libp2p-daemon wrapper.

  Source -  Edit +  Edit @@ -535,9 +535,9 @@ class="link-seesrc" target="_blank">Source Create new TCP stream server which bounds to ma address.   Source -  Edit +  Edit @@ -567,9 +567,9 @@ class="link-seesrc" target="_blank">Source

Note: This procedure only used in go-libp2p-daemon wrapper.

  Source -  Edit +  Edit @@ -582,9 +582,9 @@ class="link-seesrc" target="_blank">Source

MultiAddress must be wire address, e.g. {IP4, IP6, UNIX}/{TCP, UDP}.

  Source -  Edit +  Edit @@ -594,9 +594,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -615,7 +615,7 @@ class="link-seesrc" target="_blank">Source diff --git a/formatting/theindex.html b/formatting/theindex.html index 47237a9d5..a48dc158e 100644 --- a/formatting/theindex.html +++ b/formatting/theindex.html @@ -5436,7 +5436,7 @@ window.addEventListener('DOMContentLoaded', main);