mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-11 13:34:26 +00:00
update docs for p2p-research
This commit is contained in:
parent
d1533c5134
commit
1dbcda6311
@ -260,7 +260,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:51 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:42 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -874,7 +874,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1621,7 +1621,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1450,7 +1450,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:37 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:36 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:36 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1195,7 +1195,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:36 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1029,7 +1029,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:36 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -908,7 +908,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:36 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -381,7 +381,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -344,9 +344,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L338"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L340"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L338" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L340" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -361,9 +361,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L335"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L337"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L335" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L337" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -374,9 +374,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Connects to a peer and retrieve its PeerId
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L229"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L231"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L229" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L231" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -388,9 +388,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
connect remote peer without negotiating a protocol
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L216"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L218"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L216" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L218" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -402,9 +402,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
create a protocol stream and establish a connection if one doesn't exist already
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L299"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L301"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L299" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L301" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -415,9 +415,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
create a protocol stream over an existing connection
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L282"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L284"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L282" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L284" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -429,9 +429,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Create a protocol stream in order to check if a connection is possible. Doesn't use the Connection Manager to save it.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L261"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/dialer.nim#L263"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L261" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/dialer.nim#L263" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -440,7 +440,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="section" id="19">
|
||||
<h1><a class="toc-backref" href="#19">Exports</a></h1>
|
||||
<dl class="item">
|
||||
<a href="dial.html#dial.e,Dial,PeerId,seq[string]"><span class="Identifier">dial</span></a>, <a href="dial.html#dial.e,Dial,PeerId,seq[MultiAddress],seq[string]"><span class="Identifier">dial</span></a>, <a href="dial.html#connect.e,Dial,PeerId,seq[MultiAddress]"><span class="Identifier">connect</span></a>, <a href="dial.html#tryDial.e,Dial,PeerId,seq[MultiAddress]"><span class="Identifier">tryDial</span></a>, <a href="dial.html#addTransport.e,Dial,Transport"><span class="Identifier">addTransport</span></a>, <a href="dial.html#Dial"><span class="Identifier">Dial</span></a>, <a href="dial.html#connect.e,Dial,MultiAddress"><span class="Identifier">connect</span></a>, <a href="errors.html#toException,cstring"><span class="Identifier">toException</span></a>, <a href="errors.html#toException,string"><span class="Identifier">toException</span></a>, <a href="errors.html#tryAndWarn.t,static[string],untyped"><span class="Identifier">tryAndWarn</span></a>, <a href="errors.html#checkFutures.m,seq[F],untyped"><span class="Identifier">checkFutures</span></a>, <a href="errors.html#LPError"><span class="Identifier">LPError</span></a>
|
||||
<a href="dial.html#dial.e,Dial,PeerId,seq[string]"><span class="Identifier">dial</span></a>, <a href="dial.html#dial.e,Dial,PeerId,seq[MultiAddress],seq[string]"><span class="Identifier">dial</span></a>, <a href="dial.html#connect.e,Dial,PeerId,seq[MultiAddress]"><span class="Identifier">connect</span></a>, <a href="dial.html#tryDial.e,Dial,PeerId,seq[MultiAddress]"><span class="Identifier">tryDial</span></a>, <a href="dial.html#addTransport.e,Dial,Transport"><span class="Identifier">addTransport</span></a>, <a href="dial.html#Dial"><span class="Identifier">Dial</span></a>, <a href="dial.html#connect.e,Dial,MultiAddress"><span class="Identifier">connect</span></a>, <a href="errors.html#toException,cstring"><span class="Identifier">toException</span></a>, <a href="errors.html#toException,string"><span class="Identifier">toException</span></a>, <a href="errors.html#checkFutures.m,seq[F],untyped"><span class="Identifier">checkFutures</span></a>, <a href="errors.html#LPError"><span class="Identifier">LPError</span></a>
|
||||
</dl></div>
|
||||
|
||||
</div>
|
||||
@ -450,7 +450,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -228,17 +228,6 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a class="reference reference-toplevel" href="#18" id="68">Templates</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
<ul class="simple nested-toc-section">tryAndWarn
|
||||
<li><a class="reference" href="#tryAndWarn.t%2Cstatic%5Bstring%5D%2Cuntyped"
|
||||
title="tryAndWarn(message: static[string]; body: untyped): untyped">tryAndWarn(message: static[string]; body: untyped): untyped</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
@ -314,23 +303,6 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
</dl></div>
|
||||
<div class="section" id="18">
|
||||
<h1><a class="toc-backref" href="#18">Templates</a></h1>
|
||||
<dl class="item">
|
||||
<div id="tryAndWarn.t,static[string],untyped" class="tohide">
|
||||
<dt><pre><span class="Keyword">template</span> <a href="#tryAndWarn.t%2Cstatic%5Bstring%5D%2Cuntyped"><span class="Identifier">tryAndWarn</span></a><span class="Other">(</span><span class="Identifier">message</span><span class="Other">:</span> <span class="Identifier">static</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">body</span><span class="Other">:</span> <span class="Identifier">untyped</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">untyped</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/errors.nim#L48"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/errors.nim#L48" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
</dl></div>
|
||||
|
||||
</div>
|
||||
@ -340,7 +312,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2551,7 +2551,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:46 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:37 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -481,7 +481,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:46 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:37 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -559,7 +559,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -399,7 +399,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -455,7 +455,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -535,7 +535,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -606,7 +606,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -360,7 +360,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -806,7 +806,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:44 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:35 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -508,7 +508,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -302,7 +302,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -722,7 +722,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -383,7 +383,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -568,7 +568,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -376,7 +376,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -563,7 +563,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:41 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -233,11 +233,6 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||
<li><a class="reference" href="#firstSeen%2CFloodSub%2CSaltedId"
|
||||
title="firstSeen(f: FloodSub; saltedId: SaltedId): Moment">firstSeen(f: FloodSub; saltedId: SaltedId): Moment</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">handleSubscribe
|
||||
<li><a class="reference" href="#handleSubscribe%2CFloodSub%2CPubSubPeer%2Cstring%2Cbool"
|
||||
title="handleSubscribe(f: FloodSub; peer: PubSubPeer; topic: string; subscribe: bool)">handleSubscribe(f: FloodSub; peer: PubSubPeer; topic: string; subscribe: bool)</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">hasSeen
|
||||
<li><a class="reference" href="#hasSeen%2CFloodSub%2CSaltedId"
|
||||
@ -364,20 +359,6 @@ href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L57" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="handleSubscribe,FloodSub,PubSubPeer,string,bool" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handleSubscribe%2CFloodSub%2CPubSubPeer%2Cstring%2Cbool"><span class="Identifier">handleSubscribe</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span>
|
||||
<span class="Identifier">subscribe</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
|
||||
<span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L60"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L60" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="hasSeen,FloodSub,SaltedId" class="tohide">
|
||||
@ -415,9 +396,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L180"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L179"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L180" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L179" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -428,9 +409,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L246"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L245"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L246" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L245" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -442,9 +423,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L200"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L199"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L200" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L199" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -485,7 +466,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:41 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -209,11 +209,6 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||
<li><a class="reference" href="#addDirectPeer%2CGossipSub%2CPeerId%2Cseq%5BMultiAddress%5D"
|
||||
title="addDirectPeer(g: GossipSub; id: PeerId; addrs: seq[MultiAddress]): Future[void]">addDirectPeer(g: GossipSub; id: PeerId; addrs: seq[MultiAddress]): Future[void]</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">handleSubscribe
|
||||
<li><a class="reference" href="#handleSubscribe%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool"
|
||||
title="handleSubscribe(g: GossipSub; peer: PubSubPeer; topic: string; subscribe: bool)">handleSubscribe(g: GossipSub; peer: PubSubPeer; topic: string; subscribe: bool)</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">init
|
||||
<li><a class="reference" href="#init%2Ctype%5BGossipSubParams%5D%2Cfloat64%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cint"
|
||||
@ -365,22 +360,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L725"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L729"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L725" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="handleSubscribe,GossipSub,PubSubPeer,string,bool" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handleSubscribe%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool"><span class="Identifier">handleSubscribe</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="gossipsub/types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span>
|
||||
<span class="Identifier">subscribe</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L269"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L269" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L729" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -422,9 +404,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L455"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L453"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L455" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L453" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -466,9 +448,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L786"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L790"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L786" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L790" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -491,9 +473,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L769"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L773"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L769" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L773" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -530,9 +512,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L575"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L577"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L575" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L577" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -544,9 +526,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L608"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L609"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L608" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L609" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -558,9 +540,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L466"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L464"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L466" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L464" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -572,9 +554,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L736"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L740"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L736" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L740" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -586,9 +568,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L752"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub.nim#L756"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L752" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L756" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -620,7 +602,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:51 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:42 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -306,33 +306,33 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||
<dl class="item">
|
||||
<div id="dropFanoutPeers,GossipSub" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#dropFanoutPeers%2CGossipSub"><span class="Identifier">dropFanoutPeers</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#dropFanoutPeers%2CGossipSub"><span class="Identifier">dropFanoutPeers</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L541"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L540"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L541" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L540" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="getGossipPeers,GossipSub" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#getGossipPeers%2CGossipSub"><span class="Identifier">getGossipPeers</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">,</span> <a href="../rpc/messages.html#ControlMessage"><span class="Identifier">ControlMessage</span></a><span class="Other">]</span> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
gossip iHave messages to peers
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L570"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L569"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L570" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L569" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="grafted,GossipSub,PubSubPeer,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#grafted%2CGossipSub%2CPubSubPeer%2Cstring"><span class="Identifier">grafted</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">p</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
@ -344,8 +344,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
</dd>
|
||||
</div>
|
||||
<div id="handleBackingOff,BackoffTable,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handleBackingOff%2CBackoffTable%2Cstring"><span class="Identifier">handleBackingOff</span></a><span class="Other">(</span><span class="Identifier">t</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="types.html#BackoffTable"><span class="Identifier">BackoffTable</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handleBackingOff%2CBackoffTable%2Cstring"><span class="Identifier">handleBackingOff</span></a><span class="Other">(</span><span class="Identifier">t</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="types.html#BackoffTable"><span class="Identifier">BackoffTable</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
@ -376,48 +375,48 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L266"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L265"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L266" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L265" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="handleIHave,GossipSub,PubSubPeer,seq[ControlIHave]" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handleIHave%2CGossipSub%2CPubSubPeer%2Cseq%5BControlIHave%5D"><span class="Identifier">handleIHave</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">ihaves</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../rpc/messages.html#ControlIHave"><span class="Identifier">ControlIHave</span></a><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <a href="../rpc/messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L240"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L239"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L240" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L239" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="handleIWant,GossipSub,PubSubPeer,seq[ControlIWant]" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handleIWant%2CGossipSub%2CPubSubPeer%2Cseq%5BControlIWant%5D"><span class="Identifier">handleIWant</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">iwants</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../rpc/messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span>
|
||||
<a href="../rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<a href="../rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L274"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L273"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L274" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L273" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="handlePrune,GossipSub,PubSubPeer,seq[ControlPrune]" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handlePrune%2CGossipSub%2CPubSubPeer%2Cseq%5BControlPrune%5D"><span class="Identifier">handlePrune</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">prunes</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../rpc/messages.html#ControlPrune"><span class="Identifier">ControlPrune</span></a><span class="Other">]</span><span class="Other">)</span> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L208"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L207"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L208" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L207" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -428,15 +427,15 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L699"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L695"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L699" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L695" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="peerExchangeList,GossipSub,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#peerExchangeList%2CGossipSub%2Cstring"><span class="Identifier">peerExchangeList</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../rpc/messages.html#PeerInfoMsg"><span class="Identifier">PeerInfoMsg</span></a><span class="Other">]</span> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
@ -449,7 +448,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
</div>
|
||||
<div id="pruned,GossipSub,PubSubPeer,string,bool" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#pruned%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool"><span class="Identifier">pruned</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">p</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">setBackoff</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">true</span><span class="Other">;</span>
|
||||
<span class="Identifier">backoff</span> <span class="Other">=</span> <span class="Identifier">none</span><span class="Other">(</span><span class="Identifier">Duration</span><span class="Other">)</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span class="Identifier">backoff</span> <span class="Other">=</span> <span class="Identifier">none</span><span class="Other">(</span><span class="Identifier">Duration</span><span class="Other">)</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
@ -462,27 +461,26 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
</div>
|
||||
<div id="rebalanceMesh,GossipSub,string,ptr.MeshMetrics" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#rebalanceMesh%2CGossipSub%2Cstring%2Cptr.MeshMetrics"><span class="Identifier">rebalanceMesh</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">metrics</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="types.html#MeshMetrics"><span class="Identifier">MeshMetrics</span></a> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L311"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L310"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L311" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L310" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="replenishFanout,GossipSub,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#replenishFanout%2CGossipSub%2Cstring"><span class="Identifier">replenishFanout</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#replenishFanout%2CGossipSub%2Cstring"><span class="Identifier">replenishFanout</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
get fanout peers for a topic
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L554"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L553"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L554" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L553" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -496,7 +494,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:51 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:42 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -309,14 +309,14 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||
<dl class="item">
|
||||
<div id="addCapped,T,T,T" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#addCapped%2CT%2CT%2CT"><span class="Identifier">addCapped</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">stat</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">T</span><span class="Other">;</span> <span class="Identifier">diff</span><span class="Other">,</span> <span class="Identifier">cap</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span></pre></dt>
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#addCapped%2CT%2CT%2CT"><span class="Identifier">addCapped</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">stat</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">T</span><span class="Other">;</span> <span class="Identifier">diff</span><span class="Other">,</span> <span class="Identifier">cap</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L261"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L259"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L261" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L259" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -339,22 +339,23 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L98"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L96"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L98" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L96" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="disconnectPeer,GossipSub,PubSubPeer" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#disconnectPeer%2CGossipSub%2CPubSubPeer"><span class="Identifier">disconnectPeer</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.
|
||||
<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L92"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L90"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L92" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L90" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -372,14 +373,15 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
</div>
|
||||
<div id="punishInvalidMessage,GossipSub,PubSubPeer,Message" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#punishInvalidMessage%2CGossipSub%2CPubSubPeer%2CMessage"><span class="Identifier">punishInvalidMessage</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">msg</span><span class="Other">:</span> <a href="../rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
|
||||
<span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L243"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L241"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L243" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L241" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -390,22 +392,22 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L262"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L262" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="scoringHeartbeat,GossipSub" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#scoringHeartbeat%2CGossipSub"><span class="Identifier">scoringHeartbeat</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L238"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L236"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L238" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L236" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -416,9 +418,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
<a class="reference external" href="https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md#the-score-function">https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md#the-score-function</a>
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L105"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L103"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L105" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L103" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -446,7 +448,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:42 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -215,8 +215,6 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||
subscribedDirectPeers*: PeerTable
|
||||
backingOff*: BackoffTable
|
||||
lastFanoutPubSub*: Table[string, Moment]
|
||||
gossip*: Table[string, seq[ControlIHave]]
|
||||
control*: Table[string, ControlMessage]
|
||||
mcache*: MCache
|
||||
validationSeen*: ValidationSeenTable
|
||||
heartbeatFut*: Future[void]
|
||||
@ -398,8 +396,6 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<span class="Identifier">subscribedDirectPeers</span><span class="Operator">*</span><span class="Other">:</span> <a href="../peertable.html#PeerTable"><span class="Identifier">PeerTable</span></a>
|
||||
<span class="Identifier">backingOff</span><span class="Operator">*</span><span class="Other">:</span> <a href="types.html#BackoffTable"><span class="Identifier">BackoffTable</span></a>
|
||||
<span class="Identifier">lastFanoutPubSub</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">Moment</span><span class="Other">]</span>
|
||||
<span class="Identifier">gossip</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../rpc/messages.html#ControlIHave"><span class="Identifier">ControlIHave</span></a><span class="Other">]</span><span class="Other">]</span>
|
||||
<span class="Identifier">control</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">,</span> <a href="../rpc/messages.html#ControlMessage"><span class="Identifier">ControlMessage</span></a><span class="Other">]</span>
|
||||
<span class="Identifier">mcache</span><span class="Operator">*</span><span class="Other">:</span> <a href="../mcache.html#MCache"><span class="Identifier">MCache</span></a>
|
||||
<span class="Identifier">validationSeen</span><span class="Operator">*</span><span class="Other">:</span> <a href="types.html#ValidationSeenTable"><span class="Identifier">ValidationSeenTable</span></a>
|
||||
<span class="Identifier">heartbeatFut</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span>
|
||||
@ -486,9 +482,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L192"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L190"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L192" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L190" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -782,7 +778,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:42 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -207,12 +207,13 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||
<ul class="simple simple-toc-section">
|
||||
<li><a class="reference" href="#CacheEntry"
|
||||
title="CacheEntry = object
|
||||
mid*: MessageId
|
||||
msgId*: MessageId
|
||||
topic*: string">CacheEntry</a></li>
|
||||
<li><a class="reference" href="#MCache"
|
||||
title="MCache = object of RootObj
|
||||
msgs*: Table[MessageId, Message]
|
||||
history*: seq[seq[CacheEntry]]
|
||||
pos*: int
|
||||
windowSize*: Natural">MCache</a></li>
|
||||
|
||||
</ul>
|
||||
@ -222,12 +223,12 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||
<ul class="simple simple-toc-section">
|
||||
<ul class="simple nested-toc-section">contains
|
||||
<li><a class="reference" href="#contains%2CMCache%2CMessageId"
|
||||
title="contains(c: MCache; mid: MessageId): bool">contains(c: MCache; mid: MessageId): bool</a></li>
|
||||
title="contains(c: MCache; msgId: MessageId): bool">contains(c: MCache; msgId: MessageId): bool</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">get
|
||||
<li><a class="reference" href="#get%2CMCache%2CMessageId"
|
||||
title="get(c: MCache; mid: MessageId): Option[Message]">get(c: MCache; mid: MessageId): Option[Message]</a></li>
|
||||
title="get(c: MCache; msgId: MessageId): Opt[Message]">get(c: MCache; msgId: MessageId): Opt[Message]</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">init
|
||||
@ -282,16 +283,16 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<dl class="item">
|
||||
<div id="CacheEntry" class="tohide">
|
||||
<dt><pre><a href="mcache.html#CacheEntry"><span class="Identifier">CacheEntry</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
|
||||
<span class="Identifier">mid</span><span class="Operator">*</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a>
|
||||
<span class="Identifier">msgId</span><span class="Operator">*</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a>
|
||||
<span class="Identifier">topic</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
|
||||
</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L18"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L19"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L18" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L19" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -299,15 +300,16 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<dt><pre><a href="mcache.html#MCache"><span class="Identifier">MCache</span></a> <span class="Other">=</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <span class="Identifier">RootObj</span>
|
||||
<span class="Identifier">msgs</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">,</span> <a href="rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">]</span>
|
||||
<span class="Identifier">history</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">seq</span><span class="Other">[</span><a href="mcache.html#CacheEntry"><span class="Identifier">CacheEntry</span></a><span class="Other">]</span><span class="Other">]</span>
|
||||
<span class="Identifier">pos</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span>
|
||||
<span class="Identifier">windowSize</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Natural</span>
|
||||
</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L22"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L23"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L22" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L23" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -317,26 +319,26 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||
<dl class="item">
|
||||
<div id="contains,MCache,MessageId" class="tohide">
|
||||
<dt><pre><span class="Keyword">func</span> <a href="#contains%2CMCache%2CMessageId"><span class="Identifier">contains</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="mcache.html#MCache"><span class="Identifier">MCache</span></a><span class="Other">;</span> <span class="Identifier">mid</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dt><pre><span class="Keyword">func</span> <a href="#contains%2CMCache%2CMessageId"><span class="Identifier">contains</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="mcache.html#MCache"><span class="Identifier">MCache</span></a><span class="Other">;</span> <span class="Identifier">msgId</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L34"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L36"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L36" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="get,MCache,MessageId" class="tohide">
|
||||
<dt><pre><span class="Keyword">func</span> <a href="#get%2CMCache%2CMessageId"><span class="Identifier">get</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="mcache.html#MCache"><span class="Identifier">MCache</span></a><span class="Other">;</span> <span class="Identifier">mid</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Option</span><span class="Other">[</span><a href="rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dt><pre><span class="Keyword">func</span> <a href="#get%2CMCache%2CMessageId"><span class="Identifier">get</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="mcache.html#MCache"><span class="Identifier">MCache</span></a><span class="Other">;</span> <span class="Identifier">msgId</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><a href="rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L27"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L29"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L27" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L29" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -346,9 +348,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L57"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L64"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L57" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L64" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -358,9 +360,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L37"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L39"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L37" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L39" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -370,9 +372,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L51"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L54"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L51" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L54" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -382,9 +384,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L42"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L44"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L44" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -403,7 +405,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:42 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:41 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -470,9 +470,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L84"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L83"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L84" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L83" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -675,9 +675,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L94"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L93"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L94" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L93" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -712,9 +712,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L103"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L102"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L103" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L102" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -725,9 +725,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Every time a peer send us a subscription (even to an unknown topic), we have to store it, which may be an attack vector. This callback can be used to reject topic we're not interested in
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L97"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L96"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L97" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L96" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -738,9 +738,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L86"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L85"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L86" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L85" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -750,9 +750,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L92"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L91"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L92" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L91" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -763,9 +763,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L89"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L88"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L89" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L88" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -780,9 +780,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L47"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L46"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L47" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -792,9 +792,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L48"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L47"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L48" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L47" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -810,9 +810,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L619"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L618"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L619" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L618" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -831,9 +831,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L155"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L154"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L155" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L154" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -844,9 +844,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L327"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L326"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L327" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L326" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -865,9 +865,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L564"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L563"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L564" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L563" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -878,9 +878,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L621"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L620"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L621" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L620" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -899,9 +899,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L141"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L140"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L141" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L140" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -913,9 +913,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
send subscriptions to remote peer
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L221"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L220"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L221" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L220" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -931,9 +931,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
</dl>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L465"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L464"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L465" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L464" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -944,9 +944,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
unsubscribe from a <tt class="docutils literal"><span class="pre">topic</span></tt> string
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L434"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L433"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L434" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L433" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -957,9 +957,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
unsubscribe from a list of <tt class="docutils literal"><span class="pre">topic</span></tt> handlers
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L449"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L448"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L449" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L448" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -970,9 +970,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
unsubscribe every <tt class="docutils literal"><span class="pre"><span class="Identifier">handler</span></span></tt> from <tt class="docutils literal"><span class="pre"><span class="Identifier">topic</span></span></tt>
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L454"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L453"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L454" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L453" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -982,9 +982,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L240"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L239"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L240" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L239" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1000,9 +1000,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Add a validator to a <tt class="docutils literal"><span class="pre"><span class="Identifier">topic</span></span></tt>. Each new message received in this will be sent to <tt class="docutils literal"><span class="pre"><span class="Identifier">hook</span></span></tt>. <tt class="docutils literal"><span class="pre"><span class="Identifier">hook</span></span></tt> can return either <tt class="docutils literal"><span class="pre"><span class="Identifier">Accept</span></span></tt>, <tt class="docutils literal"><span class="pre"><span class="Identifier">Ignore</span></span></tt> or <tt class="docutils literal"><span class="pre"><span class="Identifier">Reject</span></span></tt> (which can descore the peer)
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L514"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L513"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L514" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L513" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1013,9 +1013,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L299"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L298"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L299" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L298" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1033,9 +1033,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
</ol>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L364"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L363"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L364" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L363" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1046,9 +1046,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
perform pubsub initialization
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L507"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L506"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L507" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L506" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1059,9 +1059,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L287"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L286"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L287" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L286" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1072,9 +1072,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L417"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L416"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L417" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L416" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1088,9 +1088,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>The return value is the number of neighbours that we attempted to send the message to, excluding self. Note that this is an optimistic number of attempts - the number of peers that actually receive the message might be lower.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L495"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L494"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L495" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L494" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1101,9 +1101,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L524"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L523"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L524" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L523" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1115,9 +1115,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Handler that must be overridden by concrete implementation
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L281"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L280"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L281" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L280" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1128,9 +1128,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
subscribe to remote peer to receive/send pubsub messages
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L393"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L392"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L393" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L392" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1141,9 +1141,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
handle peer disconnects
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L132"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L131"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L132" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L131" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1155,9 +1155,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L533"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L532"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L533" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L532" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1176,7 +1176,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:41 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -342,7 +342,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:41 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -662,7 +662,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:41 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:41 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -456,7 +456,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:41 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -532,7 +532,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -570,7 +570,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -558,7 +558,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -504,7 +504,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -999,7 +999,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="section" id="19">
|
||||
<h1><a class="toc-backref" href="#19">Exports</a></h1>
|
||||
<dl class="item">
|
||||
<a href="../errors.html#toException,cstring"><span class="Identifier">toException</span></a>, <a href="../errors.html#toException,string"><span class="Identifier">toException</span></a>, <a href="../errors.html#tryAndWarn.t,static[string],untyped"><span class="Identifier">tryAndWarn</span></a>, <a href="../errors.html#checkFutures.m,seq[F],untyped"><span class="Identifier">checkFutures</span></a>, <a href="../errors.html#LPError"><span class="Identifier">LPError</span></a>
|
||||
<a href="../errors.html#toException,cstring"><span class="Identifier">toException</span></a>, <a href="../errors.html#toException,string"><span class="Identifier">toException</span></a>, <a href="../errors.html#checkFutures.m,seq[F],untyped"><span class="Identifier">checkFutures</span></a>, <a href="../errors.html#LPError"><span class="Identifier">LPError</span></a>
|
||||
</dl></div>
|
||||
|
||||
</div>
|
||||
@ -1009,7 +1009,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -442,7 +442,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -266,7 +266,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:38 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -232,7 +232,7 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">newTransportClosedError
|
||||
<li><a class="reference" href="#newTransportClosedError%2Cref.Exception"
|
||||
title="newTransportClosedError(parent: ref Exception = nil): ref LPError">newTransportClosedError(parent: ref Exception = nil): ref LPError</a></li>
|
||||
title="newTransportClosedError(parent: ref Exception = nil): ref TransportError">newTransportClosedError(parent: ref Exception = nil): ref TransportError</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
@ -378,7 +378,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
</dd>
|
||||
</div>
|
||||
<div id="newTransportClosedError,ref.Exception" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#newTransportClosedError%2Cref.Exception"><span class="Identifier">newTransportClosedError</span></a><span class="Other">(</span><span class="Identifier">parent</span><span class="Other">:</span> <span class="Keyword">ref</span> <span class="Identifier">Exception</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span><span class="Other">:</span> <span class="Keyword">ref</span> <a href="../errors.html#LPError"><span class="Identifier">LPError</span></a> {.
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#newTransportClosedError%2Cref.Exception"><span class="Identifier">newTransportClosedError</span></a><span class="Other">(</span><span class="Identifier">parent</span><span class="Other">:</span> <span class="Keyword">ref</span> <span class="Identifier">Exception</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span><span class="Other">:</span> <span class="Keyword">ref</span> <a href="../upgrademngrs/upgrade.html#TransportError"><span class="Identifier">TransportError</span></a> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
@ -491,7 +491,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -583,7 +583,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:41 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -334,7 +334,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -444,7 +444,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:44 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:35 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -271,7 +271,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -512,7 +512,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:40 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:39 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:44 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:35 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:37 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -822,8 +822,8 @@ window.addEventListener('DOMContentLoaded', main);
|
||||
<dt><a name="connHandler" href="#connHandler"><span>connHandler:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="tcptransport: connHandler(self: TcpTransport; client: StreamTransport;
|
||||
observedAddr: Opt[MultiAddress]; dir: Direction): Future[Connection]" href="libp2p/transports/tcptransport.html#connHandler%2CTcpTransport%2CStreamTransport%2COpt%5BMultiAddress%5D%2CDirection">tcptransport: connHandler(self: TcpTransport; client: StreamTransport;
|
||||
observedAddr: Opt[MultiAddress]; dir: Direction): Future[Connection]</a></li>
|
||||
observedAddr: Opt[MultiAddress]; dir: Direction): Connection" href="libp2p/transports/tcptransport.html#connHandler%2CTcpTransport%2CStreamTransport%2COpt%5BMultiAddress%5D%2CDirection">tcptransport: connHandler(self: TcpTransport; client: StreamTransport;
|
||||
observedAddr: Opt[MultiAddress]; dir: Direction): Connection</a></li>
|
||||
</ul></dd>
|
||||
<dt><a name="ConnManager" href="#ConnManager"><span>ConnManager:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
@ -845,7 +845,7 @@ window.addEventListener('DOMContentLoaded', main);
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="multiaddress: contains(ma: MultiAddress; codec: MultiCodec): MaResult[bool]" href="libp2p/multiaddress.html#contains%2CMultiAddress%2CMultiCodec">multiaddress: contains(ma: MultiAddress; codec: MultiCodec): MaResult[bool]</a></li>
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="mcache: contains(c: MCache; mid: MessageId): bool" href="libp2p/protocols/pubsub/mcache.html#contains%2CMCache%2CMessageId">mcache: contains(c: MCache; mid: MessageId): bool</a></li>
|
||||
data-doc-search-tag="mcache: contains(c: MCache; msgId: MessageId): bool" href="libp2p/protocols/pubsub/mcache.html#contains%2CMCache%2CMessageId">mcache: contains(c: MCache; msgId: MessageId): bool</a></li>
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="timedcache: contains[K](t: TimedCache[K]; k: K): bool" href="libp2p/protocols/pubsub/timedcache.html#contains%2CTimedCache%5BK%5D%2CK">timedcache: contains[K](t: TimedCache[K]; k: K): bool</a></li>
|
||||
</ul></dd>
|
||||
@ -1587,7 +1587,7 @@ window.addEventListener('DOMContentLoaded', main);
|
||||
</ul></dd>
|
||||
<dt><a name="get" href="#get"><span>get:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="mcache: get(c: MCache; mid: MessageId): Option[Message]" href="libp2p/protocols/pubsub/mcache.html#get%2CMCache%2CMessageId">mcache: get(c: MCache; mid: MessageId): Option[Message]</a></li>
|
||||
data-doc-search-tag="mcache: get(c: MCache; msgId: MessageId): Opt[Message]" href="libp2p/protocols/pubsub/mcache.html#get%2CMCache%2CMessageId">mcache: get(c: MCache; msgId: MessageId): Opt[Message]</a></li>
|
||||
</ul></dd>
|
||||
<dt><a name="getAgent" href="#getAgent"><span>getAgent:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
@ -1999,12 +1999,6 @@ window.addEventListener('DOMContentLoaded', main);
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="wstransport: handles(t: WsTransport; address: MultiAddress): bool" href="libp2p/transports/wstransport.html#handles.e%2CWsTransport%2CMultiAddress">wstransport: handles(t: WsTransport; address: MultiAddress): bool</a></li>
|
||||
</ul></dd>
|
||||
<dt><a name="handleSubscribe" href="#handleSubscribe"><span>handleSubscribe:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="floodsub: handleSubscribe(f: FloodSub; peer: PubSubPeer; topic: string; subscribe: bool)" href="libp2p/protocols/pubsub/floodsub.html#handleSubscribe%2CFloodSub%2CPubSubPeer%2Cstring%2Cbool">floodsub: handleSubscribe(f: FloodSub; peer: PubSubPeer; topic: string; subscribe: bool)</a></li>
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="gossipsub: handleSubscribe(g: GossipSub; peer: PubSubPeer; topic: string; subscribe: bool)" href="libp2p/protocols/pubsub/gossipsub.html#handleSubscribe%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool">gossipsub: handleSubscribe(g: GossipSub; peer: PubSubPeer; topic: string; subscribe: bool)</a></li>
|
||||
</ul></dd>
|
||||
<dt><a name="handshake" href="#handshake"><span>handshake:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="noise: handshake(p: Noise; conn: Connection; initiator: bool; peerId: Opt[PeerId]): InternalRaisesFuture[
|
||||
@ -3351,7 +3345,7 @@ window.addEventListener('DOMContentLoaded', main);
|
||||
</ul></dd>
|
||||
<dt><a name="newTransportClosedError" href="#newTransportClosedError"><span>newTransportClosedError:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="transport: newTransportClosedError(parent: ref Exception = nil): ref LPError" href="libp2p/transports/transport.html#newTransportClosedError%2Cref.Exception">transport: newTransportClosedError(parent: ref Exception = nil): ref LPError</a></li>
|
||||
data-doc-search-tag="transport: newTransportClosedError(parent: ref Exception = nil): ref TransportError" href="libp2p/transports/transport.html#newTransportClosedError%2Cref.Exception">transport: newTransportClosedError(parent: ref Exception = nil): ref TransportError</a></li>
|
||||
</ul></dd>
|
||||
<dt><a name="Noise" href="#Noise"><span>Noise:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
@ -4899,10 +4893,6 @@ window.addEventListener('DOMContentLoaded', main);
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="semaphore: tryAcquire(s: AsyncSemaphore): bool" href="libp2p/utils/semaphore.html#tryAcquire%2CAsyncSemaphore">semaphore: tryAcquire(s: AsyncSemaphore): bool</a></li>
|
||||
</ul></dd>
|
||||
<dt><a name="tryAndWarn" href="#tryAndWarn"><span>tryAndWarn:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="errors: tryAndWarn(message: static[string]; body: untyped): untyped" href="libp2p/errors.html#tryAndWarn.t%2Cstatic%5Bstring%5D%2Cuntyped">errors: tryAndWarn(message: static[string]; body: untyped): untyped</a></li>
|
||||
</ul></dd>
|
||||
<dt><a name="tryDial" href="#tryDial"><span>tryDial:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="dial: tryDial(self: Dial; peerId: PeerId; addrs: seq[MultiAddress]): Future[
|
||||
@ -5422,7 +5412,7 @@ window.addEventListener('DOMContentLoaded', main);
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:51 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-20 14:47:42 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user