update docs for master

This commit is contained in:
= 2024-05-08 12:35:02 +00:00
parent 66bea9b414
commit 3ed14b2eb2
82 changed files with 207 additions and 205 deletions

View File

@ -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-07 13:45:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -801,7 +801,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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:52 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:48 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:48 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:48 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:47 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:47 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:48 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -340,7 +340,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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:46 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:49 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:46 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:49 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:49 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -484,7 +484,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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:46 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:52 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:52 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:52 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -239,7 +239,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-07 13:45:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -485,7 +485,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-07 13:45:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -620,7 +620,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-07 13:45:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -306,7 +306,7 @@ 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>
@ -319,7 +319,7 @@ class="link-seesrc" target="_blank">Source</a>
</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
@ -332,7 +332,7 @@ class="link-seesrc" target="_blank">Source</a>
</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>
@ -384,7 +383,7 @@ class="link-seesrc" target="_blank">Source</a>
</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>
@ -397,7 +396,7 @@ class="link-seesrc" target="_blank">Source</a>
</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>
@ -410,7 +409,7 @@ class="link-seesrc" target="_blank">Source</a>
</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>
@ -428,15 +427,15 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/behavior.nim#L699"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/behavior.nim#L696"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L696" 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,7 +461,7 @@ 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>
@ -474,8 +473,7 @@ class="link-seesrc" target="_blank">Source</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
@ -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-07 13:45:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L261"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L259"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L98"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L96"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L92"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L90"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L243"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L241"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L262"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L238"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L236"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L105"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/gossipsub/scoring.nim#L103"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<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-07 13:45:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -782,7 +782,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-07 13:45:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L18"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L19"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L18" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L22"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L23"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L22" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L34"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L36"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L27"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L29"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L27" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L57"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L64"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L57" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L37"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L39"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L37" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L51"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L54"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L51" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L42"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/mcache.nim#L44"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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-07 13:45:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -470,9 +470,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L84"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L83"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L84" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L94"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L93"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L94" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L103"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L102"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L103" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L97"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L96"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L97" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L86"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L85"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L86" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L92"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L91"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L92" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L89"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L88"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L89" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L47"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L46"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L47" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L48"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L47"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L48" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L619"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L618"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L619" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L155"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L154"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L155" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L327"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L326"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L327" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L564"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L563"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L564" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L621"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L620"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L621" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L141"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L140"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L141" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L221"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L220"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L221" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L465"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L464"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L465" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L434"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L433"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L434" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L449"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L448"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L449" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L454"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L453"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L454" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L240"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L239"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L240" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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)
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L514"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L513"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L514" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L299"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L298"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L299" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L364"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L363"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L364" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L507"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L506"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L507" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L287"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L286"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L287" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L417"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L416"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L417" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L495"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L494"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L495" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L524"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L523"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L524" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L281"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L280"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L281" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L393"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L392"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L393" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L132"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L131"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L132" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L533"
href="https://github.com/status-im/nim-libp2p/tree/master/libp2p/protocols/pubsub/pubsub.nim#L532"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L533" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<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-07 13:45:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -820,7 +820,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-07 13:45:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -524,7 +524,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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -502,7 +502,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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -750,7 +750,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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:47 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -476,7 +476,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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:50 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:52 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:46 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:49 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:50 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:44 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:46 UTC</small>
</div>
</div>
</div>

View File

@ -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-07 13:45:45 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:48 UTC</small>
</div>
</div>
</div>

View File

@ -604,7 +604,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-07 13:45:48 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:51 UTC</small>
</div>
</div>
</div>

View File

@ -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"
@ -5422,7 +5422,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-07 13:45:51 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-08 12:34:53 UTC</small>
</div>
</div>
</div>