update docs for p2p-research

This commit is contained in:
= 2024-05-06 11:25:00 +00:00
parent 9a0bc57c6b
commit 316fff32ad
83 changed files with 832 additions and 507 deletions

View File

@ -1,4 +1,4 @@
/* Generated by the Nim Compiler v1.6.18 */ /* Generated by the Nim Compiler v1.6.20 */
var framePtr = null; var framePtr = null;
var excHandler = 0; var excHandler = 0;
var lastJSError = null; var lastJSError = null;

View File

@ -260,7 +260,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:33:00 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:51 UTC</small>
</div> </div>
</div> </div>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -874,7 +874,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1621,7 +1621,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1450,7 +1450,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:54 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:54 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:54 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1195,7 +1195,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:54 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1029,7 +1029,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:54 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -908,7 +908,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:54 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -381,7 +381,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -450,7 +450,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -340,7 +340,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -2551,7 +2551,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:55 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:46 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -481,7 +481,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:55 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:46 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:55 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -226,11 +226,7 @@ window.addEventListener("DOMContentLoaded", main2);
<a class="reference reference-toplevel" href="#12" id="62">Procs</a> <a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section"> <ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">addHandler <ul class="simple nested-toc-section">addHandler
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtoHandler%2CMatcher" <li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"
title="addHandler(m: MultistreamSelect; codec: string; handler: LPProtoHandler;
matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codec: string; handler: LPProtoHandler;
matcher: Matcher = nil)</a></li>
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"
title="addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol; title="addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol; matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
matcher: Matcher = nil)</a></li> matcher: Matcher = nil)</a></li>
@ -238,6 +234,12 @@ window.addEventListener("DOMContentLoaded", main2);
title="addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol; title="addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol; matcher: Matcher = nil)">addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
matcher: Matcher = nil)</a></li> matcher: Matcher = nil)</a></li>
<li><a class="reference" href="#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher"
title="addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
matcher: Matcher = nil)">addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
matcher: Matcher = nil)</a></li>
</ul> </ul>
<ul class="simple nested-toc-section">handle <ul class="simple nested-toc-section">handle
@ -379,19 +381,6 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="12"> <div class="section" id="12">
<h1><a class="toc-backref" href="#12">Procs</a></h1> <h1><a class="toc-backref" href="#12">Procs</a></h1>
<dl class="item"> <dl class="item">
<div id="addHandler,MultistreamSelect,string,LPProtoHandler,Matcher" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtoHandler%2CMatcher"><span class="Identifier">addHandler</span></a><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span> <span class="Identifier">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a><span class="Other">;</span>
<span class="Identifier">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</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">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
helper to allow registering pure handlers
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/multistream.nim#L249"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L249" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="addHandler,MultistreamSelect,string,LPProtocol,Matcher" class="tohide"> <div id="addHandler,MultistreamSelect,string,LPProtocol,Matcher" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"><span class="Identifier">addHandler</span></a><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span> <span class="Identifier">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">protocol</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span> <dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher"><span class="Identifier">addHandler</span></a><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span> <span class="Identifier">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">protocol</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span>
<span class="Identifier">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</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">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">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</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">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
@ -416,6 +405,20 @@ href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/multistre
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L234" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L234" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="addHandler,MultistreamSelect,string,,Matcher" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher"><span class="Identifier">addHandler</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <a href="multistream.html#MultistreamSelect"><span class="Identifier">MultistreamSelect</span></a><span class="Other">;</span> <span class="Identifier">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <a href="protocols/protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Operator">|</span>
<span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">conn</span><span class="Other">:</span> <a href="stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">E</span><span class="Other">]</span><span class="Other">;</span>
<span class="Identifier">matcher</span><span class="Other">:</span> <a href="multistream.html#Matcher"><span class="Identifier">Matcher</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>.}</pre></dt>
<dd>
helper to allow registering pure handlers
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/multistream.nim#L249"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L249" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="handle,typeMultistreamSelect,Connection,seq[string],bool" class="tohide"> <div id="handle,typeMultistreamSelect,Connection,seq[string],bool" class="tohide">
@ -526,9 +529,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/multistream.nim#L263" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/multistream.nim#L267"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L263" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L267" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -540,9 +543,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/multistream.nim#L286" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/multistream.nim#L290"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L286" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multistream.nim#L290" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -556,7 +559,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -399,7 +399,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -455,7 +455,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -535,7 +535,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -606,7 +606,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -360,7 +360,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -806,7 +806,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -484,7 +484,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:52 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:44 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -508,7 +508,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -302,7 +302,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:58 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:58 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -722,7 +722,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:58 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -383,7 +383,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:58 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -568,7 +568,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:58 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:58 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -376,7 +376,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:58 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -535,7 +535,7 @@ class="link-seesrc" target="_blank">Source</a>
</dd> </dd>
</div> </div>
<div id="init,IdentifyPush" class="tohide"> <div id="init,IdentifyPush" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#init%2CIdentifyPush"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="identify.html#IdentifyPush"><span class="Identifier">IdentifyPush</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">proc</span> <a href="#init%2CIdentifyPush"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="identify.html#IdentifyPush"><span class="Identifier">IdentifyPush</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="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd> <dd>
@ -593,7 +593,7 @@ class="link-seesrc" target="_blank">Source</a>
<h1><a class="toc-backref" href="#14">Methods</a></h1> <h1><a class="toc-backref" href="#14">Methods</a></h1>
<dl class="item"> <dl class="item">
<div id="init.e,Identify" class="tohide"> <div id="init.e,Identify" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CIdentify"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="identify.html#Identify"><span class="Identifier">Identify</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">method</span> <a href="#init.e%2CIdentify"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="identify.html#Identify"><span class="Identifier">Identify</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="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd> <dd>
@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -388,7 +388,7 @@ class="link-seesrc" target="_blank">Source</a>
<h1><a class="toc-backref" href="#14">Methods</a></h1> <h1><a class="toc-backref" href="#14">Methods</a></h1>
<dl class="item"> <dl class="item">
<div id="init.e,Ping" class="tohide"> <div id="init.e,Ping" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CPing"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="ping.html#Ping"><span class="Identifier">Ping</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">method</span> <a href="#init.e%2CPing"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="ping.html#Ping"><span class="Identifier">Ping</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="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd> <dd>
@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -208,12 +208,11 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#LPProtocol" <li><a class="reference" href="#LPProtocol"
title="LPProtocol = ref object of RootObj title="LPProtocol = ref object of RootObj
codecs*: seq[string] codecs*: seq[string]
handler*: LPProtoHandler ## this handler gets invoked by the protocol negotiator handlerImpl: LPProtoHandler ## invoked by the protocol negotiator
started*: bool started*: bool
maxIncomingStreams: Opt[int]">LPProtocol</a></li> maxIncomingStreams: Opt[int]">LPProtocol</a></li>
<li><a class="reference" href="#LPProtoHandler" <li><a class="reference" href="#LPProtoHandler"
title="LPProtoHandler = proc (conn: Connection; proto: string): Future[void] {.gcsafe, title="LPProtoHandler = proc (conn: Connection; proto: string): Future[void] {.async.}">LPProtoHandler</a></li>
raises: [].}">LPProtoHandler</a></li>
</ul> </ul>
</li> </li>
@ -237,6 +236,15 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#codec%3D%2CLPProtocol%2Cstring" <li><a class="reference" href="#codec%3D%2CLPProtocol%2Cstring"
title="codec=(p: LPProtocol; codec: string)">codec=(p: LPProtocol; codec: string)</a></li> title="codec=(p: LPProtocol; codec: string)">codec=(p: LPProtocol; codec: string)</a></li>
</ul>
<ul class="simple nested-toc-section">handler=
<li><a class="reference" href="#handler%3D%2CLPProtocol%2CLPProtoHandler"
title="handler=(p: LPProtocol; handler: LPProtoHandler)">handler=(p: LPProtocol; handler: LPProtoHandler)</a></li>
<li><a class="reference" href="#handler%3D%2CLPProtocol%2Cproc%28Connection%2Cstring%29"
title="handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
void, E])">handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
void, E])</a></li>
</ul> </ul>
<ul class="simple nested-toc-section">maxIncomingStreams <ul class="simple nested-toc-section">maxIncomingStreams
<li><a class="reference" href="#maxIncomingStreams%2CLPProtocol" <li><a class="reference" href="#maxIncomingStreams%2CLPProtocol"
@ -253,6 +261,12 @@ window.addEventListener("DOMContentLoaded", main2);
title="new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler; title="new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type">new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler; maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type">new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li> maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
<li><a class="reference" href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2Cproc%28Connection%2Cstring%29"
title="new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
proto: string): InternalRaisesFuture[void, E];
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type">new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
proto: string): InternalRaisesFuture[void, E];
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
</ul> </ul>
@ -279,6 +293,19 @@ window.addEventListener("DOMContentLoaded", main2);
</ul> </ul>
</li> </li>
<li>
<a class="reference reference-toplevel" href="#18" id="68">Templates</a>
<ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">handler
<li><a class="reference" href="#handler.t%2CLPProtocol"
title="handler(p: LPProtocol): LPProtoHandler">handler(p: LPProtocol): LPProtoHandler</a></li>
<li><a class="reference" href="#handler.t%2CLPProtocol%2CConnection%2Cstring"
title="handler(p: LPProtocol; conn: Connection; proto: string): Future[void]">handler(p: LPProtocol; conn: Connection; proto: string): Future[void]</a></li>
</ul>
</ul>
</li>
</ul> </ul>
@ -303,7 +330,7 @@ class="link-seesrc" target="_blank">Source</a>
<div id="LPProtocol" class="tohide"> <div id="LPProtocol" class="tohide">
<dt><pre><a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <span class="Identifier">RootObj</span> <dt><pre><a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <span class="Identifier">RootObj</span>
<span class="Identifier">codecs</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span> <span class="Identifier">codecs</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span>
<span class="Identifier">handler</span><span class="Operator">*</span><span class="Other">:</span> <a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Comment">## this handler gets invoked by the protocol negotiator</span> <span class="Identifier">handlerImpl</span><span class="Other">:</span> <a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Comment">## invoked by the protocol negotiator</span>
<span class="Identifier">started</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Identifier">started</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">bool</span>
<span class="Identifier">maxIncomingStreams</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">int</span><span class="Other">]</span> <span class="Identifier">maxIncomingStreams</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">int</span><span class="Other">]</span>
</pre></dt> </pre></dt>
@ -311,15 +338,14 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L27" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L25"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L27" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L25" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="LPProtoHandler" class="tohide"> <div id="LPProtoHandler" class="tohide">
<dt><pre><a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Other">=</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><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><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <dt><pre><a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a> <span class="Other">=</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">conn</span><span class="Other">:</span> <span class="Identifier">Connection</span><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><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">async</span>.}</pre></dt>
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd> <dd>
@ -358,9 +384,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L54" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L52"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L54" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L52" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -370,9 +396,34 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L58" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L56"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L58" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L56" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="handler=,LPProtocol,LPProtoHandler" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#handler%3D%2CLPProtocol%2CLPProtoHandler"><span class="Identifier">handler=</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</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/p2p-research/libp2p/protocols/protocol.nim#L68"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L68" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="handler=,LPProtocol,proc(Connection,string)" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#handler%3D%2CLPProtocol%2Cproc%28Connection%2Cstring%29"><span class="Identifier">handler=</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span>
<span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">E</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>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L77"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L77" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -382,9 +433,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L48" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L46"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L48" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -394,9 +445,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L51" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L49"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L51" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L49" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -408,9 +459,24 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L63" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L86"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L63" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L86" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="new,typeLPProtocol,seq[string],proc(Connection,string)" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2Cproc%28Connection%2Cstring%29"><span class="Identifier">new</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Keyword">type</span> <span class="Identifier">LPProtocol</span><span class="Other">;</span> <span class="Identifier">codecs</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">handler</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span>
<span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">InternalRaisesFuture</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">,</span> <span class="Identifier">E</span><span class="Other">]</span><span class="Other">;</span>
<span class="Identifier">maxIncomingStreams</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">int</span><span class="Other">]</span> <span class="Operator">|</span> <span class="Identifier">int</span> <span class="Other">=</span> <span class="Identifier">Opt</span><span class="Other">.</span><span class="Identifier">none</span><span class="Other">(</span><span class="Identifier">int</span><span class="Other">)</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">T:type</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/p2p-research/libp2p/protocols/protocol.nim#L99"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L99" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -425,9 +491,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L33" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L31"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L33" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L31" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -439,9 +505,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L36" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L34"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L36" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -452,9 +518,38 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L42" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L40"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L42" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L40" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
</dl></div>
<div class="section" id="18">
<h1><a class="toc-backref" href="#18">Templates</a></h1>
<dl class="item">
<div id="handler.t,LPProtocol" class="tohide">
<dt><pre><span class="Keyword">template</span> <a href="#handler.t%2CLPProtocol"><span class="Identifier">handler</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">)</span><span class="Other">:</span> <a href="protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L61"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L61" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="handler.t,LPProtocol,Connection,string" class="tohide">
<dt><pre><span class="Keyword">template</span> <a href="#handler.t%2CLPProtocol%2CConnection%2Cstring"><span class="Identifier">handler</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a><span class="Other">;</span> <span class="Identifier">conn</span><span class="Other">:</span> <a href="../stream/connection.html#Connection"><span class="Identifier">Connection</span></a><span class="Other">;</span> <span class="Identifier">proto</span><span class="Other">:</span> <span class="Identifier">string</span><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></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/protocol.nim#L64"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/protocol.nim#L64" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -468,7 +563,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -208,8 +208,8 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#FloodSub" <li><a class="reference" href="#FloodSub"
title="FloodSub {.public.} = ref object of PubSub title="FloodSub {.public.} = ref object of PubSub
floodsub*: PeerTable floodsub*: PeerTable
seen*: TimedCache[MessageId] seen*: TimedCache[SaltedId]
seenSalt*: seq[byte]">FloodSub</a></li> seenSalt*: sha256">FloodSub</a></li>
</ul> </ul>
</li> </li>
@ -225,13 +225,13 @@ window.addEventListener("DOMContentLoaded", main2);
<a class="reference reference-toplevel" href="#12" id="62">Procs</a> <a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section"> <ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">addSeen <ul class="simple nested-toc-section">addSeen
<li><a class="reference" href="#addSeen%2CFloodSub%2CMessageId" <li><a class="reference" href="#addSeen%2CFloodSub%2CSaltedId"
title="addSeen(f: FloodSub; msgId: MessageId): bool">addSeen(f: FloodSub; msgId: MessageId): bool</a></li> title="addSeen(f: FloodSub; saltedId: SaltedId): bool">addSeen(f: FloodSub; saltedId: SaltedId): bool</a></li>
</ul> </ul>
<ul class="simple nested-toc-section">firstSeen <ul class="simple nested-toc-section">firstSeen
<li><a class="reference" href="#firstSeen%2CFloodSub%2CMessageId" <li><a class="reference" href="#firstSeen%2CFloodSub%2CSaltedId"
title="firstSeen(f: FloodSub; msgId: MessageId): Moment">firstSeen(f: FloodSub; msgId: MessageId): Moment</a></li> title="firstSeen(f: FloodSub; saltedId: SaltedId): Moment">firstSeen(f: FloodSub; saltedId: SaltedId): Moment</a></li>
</ul> </ul>
<ul class="simple nested-toc-section">handleSubscribe <ul class="simple nested-toc-section">handleSubscribe
@ -240,8 +240,13 @@ window.addEventListener("DOMContentLoaded", main2);
</ul> </ul>
<ul class="simple nested-toc-section">hasSeen <ul class="simple nested-toc-section">hasSeen
<li><a class="reference" href="#hasSeen%2CFloodSub%2CMessageId" <li><a class="reference" href="#hasSeen%2CFloodSub%2CSaltedId"
title="hasSeen(f: FloodSub; msgId: MessageId): bool">hasSeen(f: FloodSub; msgId: MessageId): bool</a></li> title="hasSeen(f: FloodSub; saltedId: SaltedId): bool">hasSeen(f: FloodSub; saltedId: SaltedId): bool</a></li>
</ul>
<ul class="simple nested-toc-section">salt
<li><a class="reference" href="#salt%2CFloodSub%2CMessageId"
title="salt(f: FloodSub; msgId: MessageId): SaltedId">salt(f: FloodSub; msgId: MessageId): SaltedId</a></li>
</ul> </ul>
@ -302,16 +307,16 @@ class="link-seesrc" target="_blank">Source</a>
<div id="FloodSub" class="tohide"> <div id="FloodSub" class="tohide">
<dt><pre><a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a> {.<span class="Identifier">public</span>.} <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <a href="pubsub.html#PubSub"><span class="Identifier">PubSub</span></a> <dt><pre><a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a> {.<span class="Identifier">public</span>.} <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <a href="pubsub.html#PubSub"><span class="Identifier">PubSub</span></a>
<span class="Identifier">floodsub</span><span class="Operator">*</span><span class="Other">:</span> <a href="peertable.html#PeerTable"><span class="Identifier">PeerTable</span></a> <span class="Identifier">floodsub</span><span class="Operator">*</span><span class="Other">:</span> <a href="peertable.html#PeerTable"><span class="Identifier">PeerTable</span></a>
<span class="Identifier">seen</span><span class="Operator">*</span><span class="Other">:</span> <a href="timedcache.html#TimedCache"><span class="Identifier">TimedCache</span></a><span class="Other">[</span><a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">]</span> <span class="Identifier">seen</span><span class="Operator">*</span><span class="Other">:</span> <a href="timedcache.html#TimedCache"><span class="Identifier">TimedCache</span></a><span class="Other">[</span><a href="rpc/messages.html#SaltedId"><span class="Identifier">SaltedId</span></a><span class="Other">]</span>
<span class="Identifier">seenSalt</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span> <span class="Identifier">seenSalt</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">sha256</span>
</pre></dt> </pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L33" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L34"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L33" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -326,9 +331,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L30" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L31"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L30" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L31" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -337,27 +342,27 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="12"> <div class="section" id="12">
<h1><a class="toc-backref" href="#12">Procs</a></h1> <h1><a class="toc-backref" href="#12">Procs</a></h1>
<dl class="item"> <dl class="item">
<div id="addSeen,FloodSub,MessageId" class="tohide"> <div id="addSeen,FloodSub,SaltedId" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#addSeen%2CFloodSub%2CMessageId"><span class="Identifier">addSeen</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">;</span> <span class="Identifier">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> <dt><pre><span class="Keyword">proc</span> <a href="#addSeen%2CFloodSub%2CSaltedId"><span class="Identifier">addSeen</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">;</span> <span class="Identifier">saltedId</span><span class="Other">:</span> <a href="rpc/messages.html#SaltedId"><span class="Identifier">SaltedId</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> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L41" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L53"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L41" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L53" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="firstSeen,FloodSub,MessageId" class="tohide"> <div id="firstSeen,FloodSub,SaltedId" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#firstSeen%2CFloodSub%2CMessageId"><span class="Identifier">firstSeen</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">;</span> <span class="Identifier">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">Moment</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">proc</span> <a href="#firstSeen%2CFloodSub%2CSaltedId"><span class="Identifier">firstSeen</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">;</span> <span class="Identifier">saltedId</span><span class="Other">:</span> <a href="rpc/messages.html#SaltedId"><span class="Identifier">SaltedId</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Moment</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> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L47" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L57"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.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/floodsub.nim#L57" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -368,6 +373,18 @@ class="link-seesrc" target="_blank">Source</a>
<dd> <dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L60"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L60" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="hasSeen,FloodSub,SaltedId" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#hasSeen%2CFloodSub%2CSaltedId"><span class="Identifier">hasSeen</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">;</span> <span class="Identifier">saltedId</span><span class="Other">:</span> <a href="rpc/messages.html#SaltedId"><span class="Identifier">SaltedId</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 &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L50" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L50"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
@ -375,15 +392,15 @@ class="link-seesrc" target="_blank">Source</a>
</dd> </dd>
</div> </div>
<div id="hasSeen,FloodSub,MessageId" class="tohide"> <div id="salt,FloodSub,MessageId" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#hasSeen%2CFloodSub%2CMessageId"><span class="Identifier">hasSeen</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">;</span> <span class="Identifier">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> <dt><pre><span class="Keyword">proc</span> <a href="#salt%2CFloodSub%2CMessageId"><span class="Identifier">salt</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">;</span> <span class="Identifier">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> <a href="rpc/messages.html#SaltedId"><span class="Identifier">SaltedId</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L38" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L45"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L38" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L45" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -393,27 +410,27 @@ class="link-seesrc" target="_blank">Source</a>
<h1><a class="toc-backref" href="#14">Methods</a></h1> <h1><a class="toc-backref" href="#14">Methods</a></h1>
<dl class="item"> <dl class="item">
<div id="init.e,FloodSub" class="tohide"> <div id="init.e,FloodSub" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CFloodSub"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">)</span> {.<span><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">method</span> <a href="#init.e%2CFloodSub"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">)</span> {.<span><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> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L165" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L180"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L165" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L180" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="initPubSub.e,FloodSub" class="tohide"> <div id="initPubSub.e,FloodSub" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#initPubSub.e%2CFloodSub"><span class="Identifier">initPubSub</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><a href="pubsub.html#InitializationError"><span class="Identifier">InitializationError</span></a><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> <dt><pre><span class="Keyword">method</span> <a href="#initPubSub.e%2CFloodSub"><span class="Identifier">initPubSub</span></a><span class="Other">(</span><span class="Identifier">f</span><span class="Other">:</span> <a href="floodsub.html#FloodSub"><span class="Identifier">FloodSub</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><a href="pubsub.html#InitializationError"><span class="Identifier">InitializationError</span></a><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">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L231" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L246"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L231" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L246" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -425,9 +442,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L185" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L200"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L185" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L200" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -439,9 +456,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L98" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L108"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.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/floodsub.nim#L108" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -452,9 +469,9 @@ class="link-seesrc" target="_blank">Source</a>
handle peer disconnects handle peer disconnects
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L83" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/floodsub.nim#L93"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L83" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L93" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -468,7 +485,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -311,9 +311,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L542" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L541"
class="link-seesrc" target="_blank">Source</a> 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#L542" 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#L541" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -324,9 +324,9 @@ class="link-seesrc" target="_blank">Source</a>
gossip iHave messages to peers gossip iHave messages to peers
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L571" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L570"
class="link-seesrc" target="_blank">Source</a> 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#L571" 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#L570" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -402,9 +402,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L275" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L274"
class="link-seesrc" target="_blank">Source</a> 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#L275" 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#L274" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -428,15 +428,15 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L700" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L699"
class="link-seesrc" target="_blank">Source</a> 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#L700" 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#L699" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="peerExchangeList,GossipSub,string" class="tohide"> <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> {. <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="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">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> <dd>
@ -467,9 +467,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L312" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L311"
class="link-seesrc" target="_blank">Source</a> 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#L312" 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#L311" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -480,9 +480,9 @@ class="link-seesrc" target="_blank">Source</a>
get fanout peers for a topic get fanout peers for a topic
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L555" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/behavior.nim#L554"
class="link-seesrc" target="_blank">Source</a> 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#L555" 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#L554" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -496,7 +496,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:33:00 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:51 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -244,10 +244,10 @@ window.addEventListener("DOMContentLoaded", main2);
</ul> </ul>
<ul class="simple nested-toc-section">rewardDelivered <ul class="simple nested-toc-section">rewardDelivered
<li><a class="reference" href="#rewardDelivered%2CGossipSub%2CPubSubPeer%2CopenArray%5Bstring%5D%2Cbool" <li><a class="reference" href="#rewardDelivered%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool"
title="rewardDelivered(g: GossipSub; peer: PubSubPeer; topics: openArray[string]; title="rewardDelivered(g: GossipSub; peer: PubSubPeer; topic: string; first: bool;
first: bool; delay = ZeroDuration)">rewardDelivered(g: GossipSub; peer: PubSubPeer; topics: openArray[string]; delay = ZeroDuration)">rewardDelivered(g: GossipSub; peer: PubSubPeer; topic: string; first: bool;
first: bool; delay = ZeroDuration)</a></li> delay = ZeroDuration)</a></li>
</ul> </ul>
<ul class="simple nested-toc-section">scoringHeartbeat <ul class="simple nested-toc-section">scoringHeartbeat
@ -314,9 +314,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L261"
class="link-seesrc" target="_blank">Source</a> 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#L261" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -383,17 +383,16 @@ class="link-seesrc" target="_blank">Source</a>
</dd> </dd>
</div> </div>
<div id="rewardDelivered,GossipSub,PubSubPeer,openArray[string],bool" class="tohide"> <div id="rewardDelivered,GossipSub,PubSubPeer,string,bool" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#rewardDelivered%2CGossipSub%2CPubSubPeer%2CopenArray%5Bstring%5D%2Cbool"><span class="Identifier">rewardDelivered</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">topics</span><span class="Other">:</span> <span class="Identifier">openArray</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span><span class="Other">;</span> <dt><pre><span class="Keyword">proc</span> <a href="#rewardDelivered%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool"><span class="Identifier">rewardDelivered</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">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">first</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">;</span>
<span class="Identifier">first</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">;</span> <span class="Identifier">delay</span> <span class="Other">=</span> <span class="Identifier">ZeroDuration</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">delay</span> <span class="Other">=</span> <span class="Identifier">ZeroDuration</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<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> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L267" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264"
class="link-seesrc" target="_blank">Source</a> 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#L267" 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#L264" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -447,7 +446,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -265,7 +265,8 @@ window.addEventListener("DOMContentLoaded", main2);
enablePX*: bool enablePX*: bool
bandwidthEstimatebps*: int bandwidthEstimatebps*: int
overheadRateLimit*: Opt[tuple[bytes: int, interval: Duration]] overheadRateLimit*: Opt[tuple[bytes: int, interval: Duration]]
disconnectPeerAboveRateLimit*: bool">GossipSubParams</a></li> disconnectPeerAboveRateLimit*: bool
maxNumElementsInNonPriorityQueue*: int">GossipSubParams</a></li>
<li><a class="reference" href="#MeshMetrics" <li><a class="reference" href="#MeshMetrics"
title="MeshMetrics = object title="MeshMetrics = object
otherPeersPerTopicMesh*: int64 otherPeersPerTopicMesh*: int64
@ -318,7 +319,7 @@ window.addEventListener("DOMContentLoaded", main2);
invalidMessageDeliveriesWeight*: float64 invalidMessageDeliveriesWeight*: float64
invalidMessageDeliveriesDecay*: float64">TopicParams</a></li> invalidMessageDeliveriesDecay*: float64">TopicParams</a></li>
<li><a class="reference" href="#ValidationSeenTable" <li><a class="reference" href="#ValidationSeenTable"
title="ValidationSeenTable = Table[MessageId, HashSet[PubSubPeer]]">ValidationSeenTable</a></li> title="ValidationSeenTable = Table[SaltedId, HashSet[PubSubPeer]]">ValidationSeenTable</a></li>
</ul> </ul>
</li> </li>
@ -383,9 +384,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L150" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L158"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L150" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L158" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -416,9 +417,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L160" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L168"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L160" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L168" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -459,6 +460,7 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">bandwidthEstimatebps</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span> <span class="Identifier">bandwidthEstimatebps</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span>
<span class="Identifier">overheadRateLimit</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Keyword">tuple</span><span class="Other">[</span><span class="Identifier">bytes</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">,</span> <span class="Identifier">interval</span><span class="Other">:</span> <span class="Identifier">Duration</span><span class="Other">]</span><span class="Other">]</span> <span class="Identifier">overheadRateLimit</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Keyword">tuple</span><span class="Other">[</span><span class="Identifier">bytes</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">,</span> <span class="Identifier">interval</span><span class="Other">:</span> <span class="Identifier">Duration</span><span class="Other">]</span><span class="Other">]</span>
<span class="Identifier">disconnectPeerAboveRateLimit</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Identifier">disconnectPeerAboveRateLimit</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">bool</span>
<span class="Identifier">maxNumElementsInNonPriorityQueue</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span>
</pre></dt> </pre></dt>
<dd> <dd>
@ -484,9 +486,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L184" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L192"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L184" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L192" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -516,9 +518,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L154" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L162"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L154" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L162" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -528,9 +530,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L153" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L161"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L153" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L161" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -586,14 +588,14 @@ class="link-seesrc" target="_blank">Source</a>
</dd> </dd>
</div> </div>
<div id="ValidationSeenTable" class="tohide"> <div id="ValidationSeenTable" class="tohide">
<dt><pre><a href="types.html#ValidationSeenTable"><span class="Identifier">ValidationSeenTable</span></a> <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> <span class="Identifier">HashSet</span><span class="Other">[</span><a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">]</span><span class="Other">]</span></pre></dt> <dt><pre><a href="types.html#ValidationSeenTable"><span class="Identifier">ValidationSeenTable</span></a> <span class="Other">=</span> <span class="Identifier">Table</span><span class="Other">[</span><a href="../rpc/messages.html#SaltedId"><span class="Identifier">SaltedId</span></a><span class="Other">,</span> <span class="Identifier">HashSet</span><span class="Other">[</span><a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">]</span><span class="Other">]</span></pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L151" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/gossipsub/types.nim#L159"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L151" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/types.nim#L159" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -780,7 +782,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -208,7 +208,7 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#CacheEntry" <li><a class="reference" href="#CacheEntry"
title="CacheEntry = object title="CacheEntry = object
mid*: MessageId mid*: MessageId
topicIds*: seq[string]">CacheEntry</a></li> topic*: string">CacheEntry</a></li>
<li><a class="reference" href="#MCache" <li><a class="reference" href="#MCache"
title="MCache = object of RootObj title="MCache = object of RootObj
msgs*: Table[MessageId, Message] msgs*: Table[MessageId, Message]
@ -283,7 +283,7 @@ class="link-seesrc" target="_blank">Source</a>
<div id="CacheEntry" class="tohide"> <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> <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">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">topicIds</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span> <span class="Identifier">topic</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
</pre></dt> </pre></dt>
<dd> <dd>
@ -346,9 +346,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L59" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L57"
class="link-seesrc" target="_blank">Source</a> 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#L59" 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#L57" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -370,9 +370,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L53" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/mcache.nim#L51"
class="link-seesrc" target="_blank">Source</a> 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#L53" 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#L51" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -393,7 +393,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="19"> <div class="section" id="19">
<h1><a class="toc-backref" href="#19">Exports</a></h1> <h1><a class="toc-backref" href="#19">Exports</a></h1>
<dl class="item"> <dl class="item">
<a href="rpc/messages.html#ControlIHave"><span class="Identifier">ControlIHave</span></a>, <a href="rpc/messages.html#shortLog,ControlIHave"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#ControlGraft"><span class="Identifier">ControlGraft</span></a>, <a href="rpc/messages.html#shortLog,Message"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a>, <a href="rpc/messages.html#shortLog,RPCMsg"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#byteSize,seq[ControlIHave]"><span class="Identifier">byteSize</span></a>, <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a>, <a href="rpc/messages.html#byteSize,Message"><span class="Identifier">byteSize</span></a>, <a href="rpc/messages.html#withSubs,typeRPCMsg,openArray[string],bool"><span class="Identifier">withSubs</span></a>, <a href="rpc/messages.html#shortLog,ControlGraft"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#shortLog,ControlPrune"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#PeerInfoMsg"><span class="Identifier">PeerInfoMsg</span></a>, <a href="rpc/messages.html#RPCMsg"><span class="Identifier">RPCMsg</span></a>, <a href="rpc/messages.html#ControlMessage"><span class="Identifier">ControlMessage</span></a>, <a href="rpc/messages.html#byteSize,RPCMsg"><span class="Identifier">byteSize</span></a>, <a href="rpc/messages.html#SubOpts"><span class="Identifier">SubOpts</span></a>, <a href="rpc/messages.html#byteSize,seq[ControlIWant]"><span class="Identifier">byteSize</span></a>, <a href="rpc/messages.html#ControlPrune"><span class="Identifier">ControlPrune</span></a>, <a href="rpc/messages.html#Message"><span class="Identifier">Message</span></a>, <a href="rpc/messages.html#byteSize,seq[Message]"><span class="Identifier">byteSize</span></a>, <a href="rpc/messages.html#shortLog,ControlIWant"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#shortLog,ControlMessage"><span class="Identifier">shortLog</span></a> <a href="rpc/messages.html#ControlIHave"><span class="Identifier">ControlIHave</span></a>, <a href="rpc/messages.html#shortLog,ControlIHave"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#ControlGraft"><span class="Identifier">ControlGraft</span></a>, <a href="rpc/messages.html#shortLog,Message"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a>, <a href="rpc/messages.html#shortLog,RPCMsg"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#byteSize,seq[ControlIHave]"><span class="Identifier">byteSize</span></a>, <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a>, <a href="rpc/messages.html#byteSize,seq[ControlIWant]"><span class="Identifier">byteSize</span></a>, <a href="rpc/messages.html#withSubs,typeRPCMsg,openArray[string],bool"><span class="Identifier">withSubs</span></a>, <a href="rpc/messages.html#shortLog,ControlGraft"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#shortLog,ControlPrune"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#PeerInfoMsg"><span class="Identifier">PeerInfoMsg</span></a>, <a href="rpc/messages.html#RPCMsg"><span class="Identifier">RPCMsg</span></a>, <a href="rpc/messages.html#ControlMessage"><span class="Identifier">ControlMessage</span></a>, <a href="rpc/messages.html#byteSize,RPCMsg"><span class="Identifier">byteSize</span></a>, <a href="rpc/messages.html#SubOpts"><span class="Identifier">SubOpts</span></a>, <a href="rpc/messages.html#byteSize,Message"><span class="Identifier">byteSize</span></a>, <a href="rpc/messages.html#SaltedId"><span class="Identifier">SaltedId</span></a>, <a href="rpc/messages.html#ControlPrune"><span class="Identifier">ControlPrune</span></a>, <a href="rpc/messages.html#Message"><span class="Identifier">Message</span></a>, <a href="rpc/messages.html#byteSize,seq[Message]"><span class="Identifier">byteSize</span></a>, <a href="rpc/messages.html#shortLog,ControlIWant"><span class="Identifier">shortLog</span></a>, <a href="rpc/messages.html#shortLog,ControlMessage"><span class="Identifier">shortLog</span></a>
</dl></div> </dl></div>
</div> </div>
@ -403,7 +403,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -810,9 +810,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L618" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L619"
class="link-seesrc" target="_blank">Source</a> 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#L618" 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#L619" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -844,9 +844,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L326" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L327"
class="link-seesrc" target="_blank">Source</a> 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#L326" 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#L327" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -865,9 +865,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L563" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L564"
class="link-seesrc" target="_blank">Source</a> 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#L563" 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#L564" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -878,9 +878,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L620" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L621"
class="link-seesrc" target="_blank">Source</a> 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#L620" 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#L621" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -931,9 +931,9 @@ class="link-seesrc" target="_blank">Source</a>
</dl> </dl>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L464" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L465"
class="link-seesrc" target="_blank">Source</a> 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#L464" 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#L465" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </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 unsubscribe from a <tt class="docutils literal"><span class="pre">topic</span></tt> string
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L433" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L434"
class="link-seesrc" target="_blank">Source</a> 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#L433" 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#L434" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </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 unsubscribe from a list of <tt class="docutils literal"><span class="pre">topic</span></tt> handlers
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L448" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L449"
class="link-seesrc" target="_blank">Source</a> 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#L448" 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#L449" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </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> 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 &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L453" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L454"
class="link-seesrc" target="_blank">Source</a> 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#L453" 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#L454" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </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) 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 &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L513" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L514"
class="link-seesrc" target="_blank">Source</a> 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#L513" 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#L514" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -1013,9 +1013,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L298" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L299"
class="link-seesrc" target="_blank">Source</a> 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#L298" 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#L299" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -1033,9 +1033,9 @@ class="link-seesrc" target="_blank">Source</a>
</ol> </ol>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L363" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L364"
class="link-seesrc" target="_blank">Source</a> 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#L363" 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#L364" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -1046,9 +1046,9 @@ class="link-seesrc" target="_blank">Source</a>
perform pubsub initialization perform pubsub initialization
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L506" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L507"
class="link-seesrc" target="_blank">Source</a> 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#L506" 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#L507" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -1059,9 +1059,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L289" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L287"
class="link-seesrc" target="_blank">Source</a> 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#L289" 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#L287" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -1072,9 +1072,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L416" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L417"
class="link-seesrc" target="_blank">Source</a> 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#L416" 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#L417" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </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> <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 &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L494" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L495"
class="link-seesrc" target="_blank">Source</a> 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#L494" 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#L495" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -1101,9 +1101,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L523" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L524"
class="link-seesrc" target="_blank">Source</a> 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#L523" 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#L524" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -1115,9 +1115,9 @@ class="link-seesrc" target="_blank">Source</a>
Handler that must be overridden by concrete implementation Handler that must be overridden by concrete implementation
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L283" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L281"
class="link-seesrc" target="_blank">Source</a> 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#L283" 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#L281" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -1128,9 +1128,9 @@ class="link-seesrc" target="_blank">Source</a>
subscribe to remote peer to receive/send pubsub messages subscribe to remote peer to receive/send pubsub messages
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L392" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L393"
class="link-seesrc" target="_blank">Source</a> 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#L392" 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#L393" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -1155,9 +1155,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L532" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L533"
class="link-seesrc" target="_blank">Source</a> 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#L532" 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#L533" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -1166,7 +1166,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="19"> <div class="section" id="19">
<h1><a class="toc-backref" href="#19">Exports</a></h1> <h1><a class="toc-backref" href="#19">Exports</a></h1>
<dl class="item"> <dl class="item">
<a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a>, <a href="pubsubpeer.html#PubSubObserver"><span class="Identifier">PubSubObserver</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>, <a href="errors.html#ValidationResult"><span class="Identifier">ValidationResult</span></a> <a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a>, <a href="pubsubpeer.html#PubSubObserver"><span class="Identifier">PubSubObserver</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],proc(Connection,string)"><span class="Identifier">new</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#handler.t,LPProtocol,Connection,string"><span class="Identifier">handler</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#handler=,LPProtocol,proc(Connection,string)"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#handler.t,LPProtocol"><span class="Identifier">handler</span></a>, <a href="../protocol.html#handler=,LPProtocol,LPProtoHandler"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>, <a href="errors.html#ValidationResult"><span class="Identifier">ValidationResult</span></a>
</dl></div> </dl></div>
</div> </div>
@ -1176,7 +1176,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -230,20 +230,24 @@ window.addEventListener("DOMContentLoaded", main2);
observers*: ref seq[PubSubObserver] observers*: ref seq[PubSubObserver]
score*: float64 score*: float64
sentIHaves*: Deque[HashSet[MessageId]] sentIHaves*: Deque[HashSet[MessageId]]
heDontWants*: Deque[HashSet[MessageId]] heDontWants*: Deque[HashSet[SaltedId]] ## IDONTWANT contains unvalidated message id:s which may be long and/or
## expensive to look up, so we apply the same salting to them as during
## unvalidated message processing
iHaveBudget*: int iHaveBudget*: int
pingBudget*: int pingBudget*: int
maxMessageSize: int maxMessageSize: int
appScore*: float64 appScore*: float64
behaviourPenalty*: float64 behaviourPenalty*: float64
overheadRateLimitOpt*: Opt[TokenBucket] overheadRateLimitOpt*: Opt[TokenBucket]
rpcmessagequeue: RpcMessageQueue">PubSubPeer</a></li> rpcmessagequeue: RpcMessageQueue
maxNumElementsInNonPriorityQueue*: int
disconnected: bool">PubSubPeer</a></li>
<li><a class="reference" href="#PubSubPeerEvent" <li><a class="reference" href="#PubSubPeerEvent"
title="PubSubPeerEvent = object title="PubSubPeerEvent = object
kind*: PubSubPeerEventKind">PubSubPeerEvent</a></li> kind*: PubSubPeerEventKind">PubSubPeerEvent</a></li>
<li><a class="reference" href="#PubSubPeerEventKind" <li><a class="reference" href="#PubSubPeerEventKind"
title="PubSubPeerEventKind {.pure.} = enum title="PubSubPeerEventKind {.pure.} = enum
Connected, Disconnected">PubSubPeerEventKind</a></li> StreamOpened, StreamClosed, DisconnectionRequested">PubSubPeerEventKind</a></li>
<li><a class="reference" href="#RPCHandler" <li><a class="reference" href="#RPCHandler"
title="RPCHandler = proc (peer: PubSubPeer; data: seq[byte]): Future[void] {.gcsafe, title="RPCHandler = proc (peer: PubSubPeer; data: seq[byte]): Future[void] {.gcsafe,
raises: [].}">RPCHandler</a></li> raises: [].}">RPCHandler</a></li>
@ -255,6 +259,14 @@ window.addEventListener("DOMContentLoaded", main2);
</ul> </ul>
</li> </li>
<li>
<a class="reference reference-toplevel" href="#10" id="60">Consts</a>
<ul class="simple simple-toc-section">
<li><a class="reference" href="#DefaultMaxNumElementsInNonPriorityQueue"
title="DefaultMaxNumElementsInNonPriorityQueue = 1024">DefaultMaxNumElementsInNonPriorityQueue</a></li>
</ul>
</li>
<li> <li>
<a class="reference reference-toplevel" href="#12" id="62">Procs</a> <a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section"> <ul class="simple simple-toc-section">
@ -304,11 +316,11 @@ window.addEventListener("DOMContentLoaded", main2);
</ul> </ul>
<ul class="simple nested-toc-section">new <ul class="simple nested-toc-section">new
<li><a class="reference" href="#new%2Ctypedesc%5BPubSubPeer%5D%2CPeerId%2CGetConn%2COnEvent%2Cstring%2Cint%2COpt%5BTokenBucket%5D" <li><a class="reference" href="#new%2Ctypedesc%5BPubSubPeer%5D%2CPeerId%2CGetConn%2COnEvent%2Cstring%2Cint%2Cint%2COpt%5BTokenBucket%5D"
title="new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent; title="new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent;
codec: string; maxMessageSize: int; codec: string; maxMessageSize: int; maxNumElementsInNonPriorityQueue: int = DefaultMaxNumElementsInNonPriorityQueue;
overheadRateLimitOpt: Opt[TokenBucket] = Opt.none(TokenBucket)): T:type">new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent; overheadRateLimitOpt: Opt[TokenBucket] = Opt.none(TokenBucket)): T:type">new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent;
codec: string; maxMessageSize: int; codec: string; maxMessageSize: int; maxNumElementsInNonPriorityQueue: int = DefaultMaxNumElementsInNonPriorityQueue;
overheadRateLimitOpt: Opt[TokenBucket] = Opt.none(TokenBucket)): T:type</a></li> overheadRateLimitOpt: Opt[TokenBucket] = Opt.none(TokenBucket)): T:type</a></li>
</ul> </ul>
@ -389,9 +401,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L53" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L59"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L53" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L59" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -401,9 +413,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L52" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L58"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L52" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L58" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -413,9 +425,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L54" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L60"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L54" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L60" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -425,9 +437,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L39" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L44"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L39" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L44" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -440,9 +452,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L41" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L46"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L41" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -459,7 +471,9 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">observers</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ref</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="pubsubpeer.html#PubSubObserver"><span class="Identifier">PubSubObserver</span></a><span class="Other">]</span> <span class="Identifier">observers</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ref</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="pubsubpeer.html#PubSubObserver"><span class="Identifier">PubSubObserver</span></a><span class="Other">]</span>
<span class="Identifier">score</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">float64</span> <span class="Identifier">score</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">float64</span>
<span class="Identifier">sentIHaves</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Deque</span><span class="Other">[</span><span class="Identifier">HashSet</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">sentIHaves</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Deque</span><span class="Other">[</span><span class="Identifier">HashSet</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">heDontWants</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Deque</span><span class="Other">[</span><span class="Identifier">HashSet</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">heDontWants</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Deque</span><span class="Other">[</span><span class="Identifier">HashSet</span><span class="Other">[</span><a href="rpc/messages.html#SaltedId"><span class="Identifier">SaltedId</span></a><span class="Other">]</span><span class="Other">]</span> <span class="Comment">## IDONTWANT contains unvalidated message id:s which may be long and/or</span>
<span class="Comment">## expensive to look up, so we apply the same salting to them as during</span>
<span class="Comment">## unvalidated message processing</span>
<span class="Identifier">iHaveBudget</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span> <span class="Identifier">iHaveBudget</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span>
<span class="Identifier">pingBudget</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span> <span class="Identifier">pingBudget</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span>
<span class="Identifier">maxMessageSize</span><span class="Other">:</span> <span class="Identifier">int</span> <span class="Identifier">maxMessageSize</span><span class="Other">:</span> <span class="Identifier">int</span>
@ -467,14 +481,16 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">behaviourPenalty</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">float64</span> <span class="Identifier">behaviourPenalty</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">float64</span>
<span class="Identifier">overheadRateLimitOpt</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">TokenBucket</span><span class="Other">]</span> <span class="Identifier">overheadRateLimitOpt</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">TokenBucket</span><span class="Other">]</span>
<span class="Identifier">rpcmessagequeue</span><span class="Other">:</span> <a href="pubsubpeer.html#RpcMessageQueue"><span class="Identifier">RpcMessageQueue</span></a> <span class="Identifier">rpcmessagequeue</span><span class="Other">:</span> <a href="pubsubpeer.html#RpcMessageQueue"><span class="Identifier">RpcMessageQueue</span></a>
<span class="Identifier">maxNumElementsInNonPriorityQueue</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span>
<span class="Identifier">disconnected</span><span class="Other">:</span> <span class="Identifier">bool</span>
</pre></dt> </pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L64" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L70"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L64" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L70" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -486,22 +502,22 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L49" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L55"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L49" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L55" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="PubSubPeerEventKind" class="tohide"> <div id="PubSubPeerEventKind" class="tohide">
<dt><pre><a href="pubsubpeer.html#PubSubPeerEventKind"><span class="Identifier">PubSubPeerEventKind</span></a> {.<span class="Identifier">pure</span>.} <span class="Other">=</span> <span class="Keyword">enum</span> <dt><pre><a href="pubsubpeer.html#PubSubPeerEventKind"><span class="Identifier">PubSubPeerEventKind</span></a> {.<span class="Identifier">pure</span>.} <span class="Other">=</span> <span class="Keyword">enum</span>
<span class="Identifier">Connected</span><span class="Other">,</span> <span class="Identifier">Disconnected</span></pre></dt> <span class="Identifier">StreamOpened</span><span class="Other">,</span> <span class="Identifier">StreamClosed</span><span class="Other">,</span> <span class="Identifier">DisconnectionRequested</span></pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L45" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L50"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L45" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L50" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -512,9 +528,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L87" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L98"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L87" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L98" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -528,9 +544,26 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L56" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L62"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L56" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L62" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
</dl></div>
<div class="section" id="10">
<h1><a class="toc-backref" href="#10">Consts</a></h1>
<dl class="item">
<div id="DefaultMaxNumElementsInNonPriorityQueue" class="tohide">
<dt><pre><a href="pubsubpeer.html#DefaultMaxNumElementsInNonPriorityQueue"><span class="Identifier">DefaultMaxNumElementsInNonPriorityQueue</span></a> <span class="Other">=</span> <span class="DecNumber">1024</span></pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L41"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L41" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -545,9 +578,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L112" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L123"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L112" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L123" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -557,9 +590,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L416" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L447"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L416" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L447" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -569,9 +602,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L238" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L255"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.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/pubsubpeer.nim#L255" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -581,9 +614,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L120" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L131"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L120" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L131" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -593,9 +626,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L99" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L110"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L99" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L110" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -606,9 +639,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L151" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L162"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L151" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L162" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -618,9 +651,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L109" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L120"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L109" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L120" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -630,9 +663,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L124" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L135"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L124" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L135" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -642,24 +675,25 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L244" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L261"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L244" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L261" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="new,typedesc[PubSubPeer],PeerId,GetConn,OnEvent,string,int,Opt[TokenBucket]" class="tohide"> <div id="new,typedesc[PubSubPeer],PeerId,GetConn,OnEvent,string,int,int,Opt[TokenBucket]" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#new%2Ctypedesc%5BPubSubPeer%5D%2CPeerId%2CGetConn%2COnEvent%2Cstring%2Cint%2COpt%5BTokenBucket%5D"><span class="Identifier">new</span></a><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Identifier">typedesc</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">peerId</span><span class="Other">:</span> <a href="../../peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">;</span> <span class="Identifier">getConn</span><span class="Other">:</span> <a href="pubsubpeer.html#GetConn"><span class="Identifier">GetConn</span></a><span class="Other">;</span> <dt><pre><span class="Keyword">proc</span> <a href="#new%2Ctypedesc%5BPubSubPeer%5D%2CPeerId%2CGetConn%2COnEvent%2Cstring%2Cint%2Cint%2COpt%5BTokenBucket%5D"><span class="Identifier">new</span></a><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Identifier">typedesc</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">peerId</span><span class="Other">:</span> <a href="../../peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">;</span> <span class="Identifier">getConn</span><span class="Other">:</span> <a href="pubsubpeer.html#GetConn"><span class="Identifier">GetConn</span></a><span class="Other">;</span>
<span class="Identifier">onEvent</span><span class="Other">:</span> <a href="pubsubpeer.html#OnEvent"><span class="Identifier">OnEvent</span></a><span class="Other">;</span> <span class="Identifier">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">maxMessageSize</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">onEvent</span><span class="Other">:</span> <a href="pubsubpeer.html#OnEvent"><span class="Identifier">OnEvent</span></a><span class="Other">;</span> <span class="Identifier">codec</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">maxMessageSize</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span>
<span class="Identifier">maxNumElementsInNonPriorityQueue</span><span class="Other">:</span> <span class="Identifier">int</span> <span class="Other">=</span> <span class="Identifier">DefaultMaxNumElementsInNonPriorityQueue</span><span class="Other">;</span>
<span class="Identifier">overheadRateLimitOpt</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">TokenBucket</span><span class="Other">]</span> <span class="Other">=</span> <span class="Identifier">Opt</span><span class="Other">.</span><span class="Identifier">none</span><span class="Other">(</span><span class="Identifier">TokenBucket</span><span class="Other">)</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">T:type</span> {. <span class="Identifier">overheadRateLimitOpt</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">TokenBucket</span><span class="Other">]</span> <span class="Other">=</span> <span class="Identifier">Opt</span><span class="Other">.</span><span class="Identifier">none</span><span class="Other">(</span><span class="Identifier">TokenBucket</span><span class="Other">)</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">T:type</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> <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> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L464" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L495"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L464" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L495" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -669,9 +703,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L127" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L138"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L127" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L138" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -682,9 +716,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L137" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L148"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L137" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L148" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -703,9 +737,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> <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 &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L381" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L412"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L381" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L412" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -723,9 +757,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> <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 &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L315" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L331"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L315" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L331" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -735,9 +769,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L115" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L126"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L115" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L126" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -748,9 +782,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L446" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L477"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L446" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L477" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -765,9 +799,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L118" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L129"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L118" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L129" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -786,7 +820,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -332,7 +332,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="19"> <div class="section" id="19">
<h1><a class="toc-backref" href="#19">Exports</a></h1> <h1><a class="toc-backref" href="#19">Exports</a></h1>
<dl class="item"> <dl class="item">
<a href="../errors.html#ValidationResult"><span class="Identifier">ValidationResult</span></a>, <a href="messages.html#ControlIHave"><span class="Identifier">ControlIHave</span></a>, <a href="messages.html#shortLog,ControlIHave"><span class="Identifier">shortLog</span></a>, <a href="messages.html#ControlGraft"><span class="Identifier">ControlGraft</span></a>, <a href="messages.html#shortLog,Message"><span class="Identifier">shortLog</span></a>, <a href="messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a>, <a href="messages.html#shortLog,RPCMsg"><span class="Identifier">shortLog</span></a>, <a href="messages.html#byteSize,seq[ControlIHave]"><span class="Identifier">byteSize</span></a>, <a href="messages.html#MessageId"><span class="Identifier">MessageId</span></a>, <a href="messages.html#byteSize,Message"><span class="Identifier">byteSize</span></a>, <a href="messages.html#withSubs,typeRPCMsg,openArray[string],bool"><span class="Identifier">withSubs</span></a>, <a href="messages.html#shortLog,ControlGraft"><span class="Identifier">shortLog</span></a>, <a href="messages.html#shortLog,ControlPrune"><span class="Identifier">shortLog</span></a>, <a href="messages.html#PeerInfoMsg"><span class="Identifier">PeerInfoMsg</span></a>, <a href="messages.html#RPCMsg"><span class="Identifier">RPCMsg</span></a>, <a href="messages.html#ControlMessage"><span class="Identifier">ControlMessage</span></a>, <a href="messages.html#byteSize,RPCMsg"><span class="Identifier">byteSize</span></a>, <a href="messages.html#SubOpts"><span class="Identifier">SubOpts</span></a>, <a href="messages.html#byteSize,seq[ControlIWant]"><span class="Identifier">byteSize</span></a>, <a href="messages.html#ControlPrune"><span class="Identifier">ControlPrune</span></a>, <a href="messages.html#Message"><span class="Identifier">Message</span></a>, <a href="messages.html#byteSize,seq[Message]"><span class="Identifier">byteSize</span></a>, <a href="messages.html#shortLog,ControlIWant"><span class="Identifier">shortLog</span></a>, <a href="messages.html#shortLog,ControlMessage"><span class="Identifier">shortLog</span></a> <a href="../errors.html#ValidationResult"><span class="Identifier">ValidationResult</span></a>, <a href="messages.html#ControlIHave"><span class="Identifier">ControlIHave</span></a>, <a href="messages.html#shortLog,ControlIHave"><span class="Identifier">shortLog</span></a>, <a href="messages.html#ControlGraft"><span class="Identifier">ControlGraft</span></a>, <a href="messages.html#shortLog,Message"><span class="Identifier">shortLog</span></a>, <a href="messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a>, <a href="messages.html#shortLog,RPCMsg"><span class="Identifier">shortLog</span></a>, <a href="messages.html#byteSize,seq[ControlIHave]"><span class="Identifier">byteSize</span></a>, <a href="messages.html#MessageId"><span class="Identifier">MessageId</span></a>, <a href="messages.html#byteSize,seq[ControlIWant]"><span class="Identifier">byteSize</span></a>, <a href="messages.html#withSubs,typeRPCMsg,openArray[string],bool"><span class="Identifier">withSubs</span></a>, <a href="messages.html#shortLog,ControlGraft"><span class="Identifier">shortLog</span></a>, <a href="messages.html#shortLog,ControlPrune"><span class="Identifier">shortLog</span></a>, <a href="messages.html#PeerInfoMsg"><span class="Identifier">PeerInfoMsg</span></a>, <a href="messages.html#RPCMsg"><span class="Identifier">RPCMsg</span></a>, <a href="messages.html#ControlMessage"><span class="Identifier">ControlMessage</span></a>, <a href="messages.html#byteSize,RPCMsg"><span class="Identifier">byteSize</span></a>, <a href="messages.html#SubOpts"><span class="Identifier">SubOpts</span></a>, <a href="messages.html#byteSize,Message"><span class="Identifier">byteSize</span></a>, <a href="messages.html#SaltedId"><span class="Identifier">SaltedId</span></a>, <a href="messages.html#ControlPrune"><span class="Identifier">ControlPrune</span></a>, <a href="messages.html#Message"><span class="Identifier">Message</span></a>, <a href="messages.html#byteSize,seq[Message]"><span class="Identifier">byteSize</span></a>, <a href="messages.html#shortLog,ControlIWant"><span class="Identifier">shortLog</span></a>, <a href="messages.html#shortLog,ControlMessage"><span class="Identifier">shortLog</span></a>
</dl></div> </dl></div>
</div> </div>
@ -342,7 +342,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -207,14 +207,14 @@ window.addEventListener("DOMContentLoaded", main2);
<ul class="simple simple-toc-section"> <ul class="simple simple-toc-section">
<li><a class="reference" href="#ControlGraft" <li><a class="reference" href="#ControlGraft"
title="ControlGraft = object title="ControlGraft = object
topicId*: string">ControlGraft</a></li> topicID*: string">ControlGraft</a></li>
<li><a class="reference" href="#ControlIHave" <li><a class="reference" href="#ControlIHave"
title="ControlIHave = object title="ControlIHave = object
topicId*: string topicID*: string
messageIds*: seq[MessageId]">ControlIHave</a></li> messageIDs*: seq[MessageId]">ControlIHave</a></li>
<li><a class="reference" href="#ControlIWant" <li><a class="reference" href="#ControlIWant"
title="ControlIWant = object title="ControlIWant = object
messageIds*: seq[MessageId]">ControlIWant</a></li> messageIDs*: seq[MessageId]">ControlIWant</a></li>
<li><a class="reference" href="#ControlMessage" <li><a class="reference" href="#ControlMessage"
title="ControlMessage = object title="ControlMessage = object
ihave*: seq[ControlIHave] ihave*: seq[ControlIHave]
@ -224,7 +224,7 @@ window.addEventListener("DOMContentLoaded", main2);
idontwant*: seq[ControlIWant]">ControlMessage</a></li> idontwant*: seq[ControlIWant]">ControlMessage</a></li>
<li><a class="reference" href="#ControlPrune" <li><a class="reference" href="#ControlPrune"
title="ControlPrune = object title="ControlPrune = object
topicId*: string topicID*: string
peers*: seq[PeerInfoMsg] peers*: seq[PeerInfoMsg]
backoff*: uint64">ControlPrune</a></li> backoff*: uint64">ControlPrune</a></li>
<li><a class="reference" href="#Message" <li><a class="reference" href="#Message"
@ -232,7 +232,7 @@ window.addEventListener("DOMContentLoaded", main2);
fromPeer*: PeerId fromPeer*: PeerId
data*: seq[byte] data*: seq[byte]
seqno*: seq[byte] seqno*: seq[byte]
topicIds*: seq[string] topic*: string
signature*: seq[byte] signature*: seq[byte]
key*: seq[byte]">Message</a></li> key*: seq[byte]">Message</a></li>
<li><a class="reference" href="#MessageId" <li><a class="reference" href="#MessageId"
@ -248,6 +248,9 @@ window.addEventListener("DOMContentLoaded", main2);
control*: Option[ControlMessage] control*: Option[ControlMessage]
ping*: seq[byte] ping*: seq[byte]
pong*: seq[byte]">RPCMsg</a></li> pong*: seq[byte]">RPCMsg</a></li>
<li><a class="reference" href="#SaltedId"
title="SaltedId = object
data*: MDigest[256]">SaltedId</a></li>
<li><a class="reference" href="#SubOpts" <li><a class="reference" href="#SubOpts"
title="SubOpts = object title="SubOpts = object
subscribe*: bool subscribe*: bool
@ -319,44 +322,44 @@ class="link-seesrc" target="_blank">Source</a>
<dl class="item"> <dl class="item">
<div id="ControlGraft" class="tohide"> <div id="ControlGraft" class="tohide">
<dt><pre><a href="messages.html#ControlGraft"><span class="Identifier">ControlGraft</span></a> <span class="Other">=</span> <span class="Keyword">object</span> <dt><pre><a href="messages.html#ControlGraft"><span class="Identifier">ControlGraft</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">topicId</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span> <span class="Identifier">topicID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
</pre></dt> </pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L62" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L68"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L62" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L68" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="ControlIHave" class="tohide"> <div id="ControlIHave" class="tohide">
<dt><pre><a href="messages.html#ControlIHave"><span class="Identifier">ControlIHave</span></a> <span class="Other">=</span> <span class="Keyword">object</span> <dt><pre><a href="messages.html#ControlIHave"><span class="Identifier">ControlIHave</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">topicId</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span> <span class="Identifier">topicID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
<span class="Identifier">messageIds</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">]</span> <span class="Identifier">messageIDs</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">]</span>
</pre></dt> </pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L55" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L61"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L55" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L61" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="ControlIWant" class="tohide"> <div id="ControlIWant" class="tohide">
<dt><pre><a href="messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a> <span class="Other">=</span> <span class="Keyword">object</span> <dt><pre><a href="messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">messageIds</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">]</span> <span class="Identifier">messageIDs</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">]</span>
</pre></dt> </pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L59" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L65"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L59" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L65" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -372,15 +375,15 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L48" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L54"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.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/rpc/messages.nim#L54" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="ControlPrune" class="tohide"> <div id="ControlPrune" class="tohide">
<dt><pre><a href="messages.html#ControlPrune"><span class="Identifier">ControlPrune</span></a> <span class="Other">=</span> <span class="Keyword">object</span> <dt><pre><a href="messages.html#ControlPrune"><span class="Identifier">ControlPrune</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">topicId</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span> <span class="Identifier">topicID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
<span class="Identifier">peers</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#PeerInfoMsg"><span class="Identifier">PeerInfoMsg</span></a><span class="Other">]</span> <span class="Identifier">peers</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="messages.html#PeerInfoMsg"><span class="Identifier">PeerInfoMsg</span></a><span class="Other">]</span>
<span class="Identifier">backoff</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint64</span> <span class="Identifier">backoff</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint64</span>
</pre></dt> </pre></dt>
@ -388,9 +391,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L65" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L71"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L65" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L71" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -399,7 +402,7 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">fromPeer</span><span class="Operator">*</span><span class="Other">:</span> <a href="../../../peerid.html#PeerId"><span class="Identifier">PeerId</span></a> <span class="Identifier">fromPeer</span><span class="Operator">*</span><span class="Other">:</span> <a href="../../../peerid.html#PeerId"><span class="Identifier">PeerId</span></a>
<span class="Identifier">data</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span> <span class="Identifier">data</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span>
<span class="Identifier">seqno</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span> <span class="Identifier">seqno</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span>
<span class="Identifier">topicIds</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span> <span class="Identifier">topic</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
<span class="Identifier">signature</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span> <span class="Identifier">signature</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span>
<span class="Identifier">key</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span> <span class="Identifier">key</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span>
</pre></dt> </pre></dt>
@ -407,9 +410,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L40" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L46"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L40" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -452,9 +455,23 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L70" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L76"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L70" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L76" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="SaltedId" class="tohide">
<dt><pre><a href="messages.html#SaltedId"><span class="Identifier">SaltedId</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
<span class="Identifier">data</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">MDigest</span><span class="Other">[</span><span class="DecNumber">256</span><span class="Other">]</span>
</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L40"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L40" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -484,9 +501,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L148" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L154"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L148" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L154" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -496,9 +513,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L155" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L161"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.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/rpc/messages.nim#L161" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -508,9 +525,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L137" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L143"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L137" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L143" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -520,9 +537,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L141" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L147"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.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/rpc/messages.nim#L147" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -532,9 +549,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L173" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L179"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L173" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L179" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -544,9 +561,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L103" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L109"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.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/rpc/messages.nim#L109" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -556,9 +573,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L121" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L127"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L121" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L127" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -568,9 +585,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L111" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L117"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L111" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L117" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -580,9 +597,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L93" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L99"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L93" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L99" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -591,23 +608,23 @@ class="link-seesrc" target="_blank">Source</a>
<dd> <dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L82"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L82" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="shortLog,ControlIWant" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#shortLog%2CControlIWant"><span class="Identifier">shortLog</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">auto</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 &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L88" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L88"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L88" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L88" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="shortLog,ControlIWant" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#shortLog%2CControlIWant"><span class="Identifier">shortLog</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">auto</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/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L94"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L94" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="shortLog,ControlPrune" class="tohide"> <div id="shortLog,ControlPrune" class="tohide">
@ -616,9 +633,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L98" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L104"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.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/rpc/messages.nim#L104" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -629,9 +646,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L77" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/messages.nim#L83"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L77" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/messages.nim#L83" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -645,7 +662,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -320,9 +320,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L204" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L203"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L204" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L203" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -333,9 +333,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L129" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L128"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L129" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L128" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -346,9 +346,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L175" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L174"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L175" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L174" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -359,9 +359,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L192" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L191"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L192" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L191" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -372,9 +372,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L271" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L270"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L271" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L270" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -398,9 +398,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L142" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L141"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L142" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L141" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -411,9 +411,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L156" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L155"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L156" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L155" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -437,9 +437,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L239" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L238"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L239" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L238" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -450,9 +450,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L257" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L256"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L257" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L256" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -554,9 +554,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L126" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/rpc/protobuf.nim#L125"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L126" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/rpc/protobuf.nim#L125" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -208,7 +208,7 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#TimedCache" <li><a class="reference" href="#TimedCache"
title="TimedCache[K] = object of RootObj title="TimedCache[K] = object of RootObj
head, tail: TimedEntry[K] head, tail: TimedEntry[K]
entries: Table[K, TimedEntry[K]] entries: HashSet[TimedEntry[K]]
timeout: Duration">TimedCache</a></li> timeout: Duration">TimedCache</a></li>
<li><a class="reference" href="#TimedEntry" <li><a class="reference" href="#TimedEntry"
title="TimedEntry[K] = ref object of RootObj title="TimedEntry[K] = ref object of RootObj
@ -230,9 +230,14 @@ window.addEventListener("DOMContentLoaded", main2);
<li> <li>
<a class="reference reference-toplevel" href="#12" id="62">Procs</a> <a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section"> <ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">addedAt <ul class="simple nested-toc-section">==
<li><a class="reference" href="#%3D%3D%2CTimedEntry%5BE%5D%2CTimedEntry%5BE%5D"
title="`==`[E](a, b: TimedEntry[E]): bool">`==`[E](a, b: TimedEntry[E]): bool</a></li>
</ul>
<ul class="simple nested-toc-section">addedAt
<li><a class="reference" href="#addedAt%2CTimedCache%5BK%5D%2CK" <li><a class="reference" href="#addedAt%2CTimedCache%5BK%5D%2CK"
title="addedAt[K](t: TimedCache[K]; k: K): Moment">addedAt[K](t: TimedCache[K]; k: K): Moment</a></li> title="addedAt[K](t: var TimedCache[K]; k: K): Moment">addedAt[K](t: var TimedCache[K]; k: K): Moment</a></li>
</ul> </ul>
<ul class="simple nested-toc-section">contains <ul class="simple nested-toc-section">contains
@ -249,6 +254,11 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#expire%2CTimedCache%2CMoment" <li><a class="reference" href="#expire%2CTimedCache%2CMoment"
title="expire(t: var TimedCache; now: Moment = Moment.now())">expire(t: var TimedCache; now: Moment = Moment.now())</a></li> title="expire(t: var TimedCache; now: Moment = Moment.now())">expire(t: var TimedCache; now: Moment = Moment.now())</a></li>
</ul>
<ul class="simple nested-toc-section">hash
<li><a class="reference" href="#hash%2CTimedEntry"
title="hash(a: TimedEntry): Hash">hash(a: TimedEntry): Hash</a></li>
</ul> </ul>
<ul class="simple nested-toc-section">init <ul class="simple nested-toc-section">init
<li><a class="reference" href="#init%2CtypeTimedCache%5BK%5D%2CDuration" <li><a class="reference" href="#init%2CtypeTimedCache%5BK%5D%2CDuration"
@ -287,16 +297,16 @@ class="link-seesrc" target="_blank">Source</a>
<div id="TimedCache" class="tohide"> <div id="TimedCache" class="tohide">
<dt><pre><a href="timedcache.html#TimedCache"><span class="Identifier">TimedCache</span></a><span class="Other">[</span><span class="Identifier">K</span><span class="Other">]</span> <span class="Other">=</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <span class="Identifier">RootObj</span> <dt><pre><a href="timedcache.html#TimedCache"><span class="Identifier">TimedCache</span></a><span class="Other">[</span><span class="Identifier">K</span><span class="Other">]</span> <span class="Other">=</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <span class="Identifier">RootObj</span>
<span class="Identifier">head</span><span class="Other">,</span> <span class="Identifier">tail</span><span class="Other">:</span> <a href="timedcache.html#TimedEntry"><span class="Identifier">TimedEntry</span></a><span class="Other">[</span><span class="Identifier">K</span><span class="Other">]</span> <span class="Identifier">head</span><span class="Other">,</span> <span class="Identifier">tail</span><span class="Other">:</span> <a href="timedcache.html#TimedEntry"><span class="Identifier">TimedEntry</span></a><span class="Other">[</span><span class="Identifier">K</span><span class="Other">]</span>
<span class="Identifier">entries</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><span class="Identifier">K</span><span class="Other">,</span> <a href="timedcache.html#TimedEntry"><span class="Identifier">TimedEntry</span></a><span class="Other">[</span><span class="Identifier">K</span><span class="Other">]</span><span class="Other">]</span> <span class="Identifier">entries</span><span class="Other">:</span> <span class="Identifier">HashSet</span><span class="Other">[</span><a href="timedcache.html#TimedEntry"><span class="Identifier">TimedEntry</span></a><span class="Other">[</span><span class="Identifier">K</span><span class="Other">]</span><span class="Other">]</span>
<span class="Identifier">timeout</span><span class="Other">:</span> <span class="Identifier">Duration</span> <span class="Identifier">timeout</span><span class="Other">:</span> <span class="Identifier">Duration</span>
</pre></dt> </pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L27" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L28"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.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/timedcache.nim#L28" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -311,9 +321,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L21" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L22"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L21" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L22" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -328,9 +338,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L18" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L19"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.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/timedcache.nim#L19" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -339,15 +349,27 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="12"> <div class="section" id="12">
<h1><a class="toc-backref" href="#12">Procs</a></h1> <h1><a class="toc-backref" href="#12">Procs</a></h1>
<dl class="item"> <dl class="item">
<div id="addedAt,TimedCache[K],K" class="tohide"> <div id="==,TimedEntry[E],TimedEntry[E]" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#addedAt%2CTimedCache%5BK%5D%2CK"><span class="Identifier">addedAt</span></a><span class="Other">[</span><span class="Identifier">K</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">t</span><span class="Other">:</span> <a href="timedcache.html#TimedCache"><span class="Identifier">TimedCache</span></a><span class="Other">[</span><span class="Identifier">K</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">k</span><span class="Other">:</span> <span class="Identifier">K</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Moment</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> <dt><pre><span class="Keyword">func</span> <a href="#%3D%3D%2CTimedEntry%5BE%5D%2CTimedEntry%5BE%5D"><span class="Identifier">`==`</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">a</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">:</span> <a href="timedcache.html#TimedEntry"><span class="Identifier">TimedEntry</span></a><span class="Other">[</span><span class="Identifier">E</span><span class="Other">]</span><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>.}</pre></dt>
<dd> <dd>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L93" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L33"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L93" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L33" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="addedAt,TimedCache[K],K" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#addedAt%2CTimedCache%5BK%5D%2CK"><span class="Identifier">addedAt</span></a><span class="Other">[</span><span class="Identifier">K</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">t</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="timedcache.html#TimedCache"><span class="Identifier">TimedCache</span></a><span class="Other">[</span><span class="Identifier">K</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">k</span><span class="Other">:</span> <span class="Identifier">K</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Moment</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/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L113"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L113" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -357,9 +379,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L90" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L109"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L90" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L109" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -368,23 +390,35 @@ class="link-seesrc" target="_blank">Source</a>
<dd> <dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L52"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L52" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="expire,TimedCache,Moment" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#expire%2CTimedCache%2CMoment"><span class="Identifier">expire</span></a><span class="Other">(</span><span class="Identifier">t</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="timedcache.html#TimedCache"><span class="Identifier">TimedCache</span></a><span class="Other">;</span> <span class="Identifier">now</span><span class="Other">:</span> <span class="Identifier">Moment</span> <span class="Other">=</span> <span class="Identifier">Moment</span><span class="Other">.</span><span class="Identifier">now</span><span class="Other">(</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>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L45"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L45" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="hash,TimedEntry" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#hash%2CTimedEntry"><span class="Identifier">hash</span></a><span class="Other">(</span><span class="Identifier">a</span><span class="Other">:</span> <a href="timedcache.html#TimedEntry"><span class="Identifier">TimedEntry</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Hash</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 &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L39" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L39"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L39" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L39" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="expire,TimedCache,Moment" class="tohide">
<dt><pre><span class="Keyword">func</span> <a href="#expire%2CTimedCache%2CMoment"><span class="Identifier">expire</span></a><span class="Other">(</span><span class="Identifier">t</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="timedcache.html#TimedCache"><span class="Identifier">TimedCache</span></a><span class="Other">;</span> <span class="Identifier">now</span><span class="Other">:</span> <span class="Identifier">Moment</span> <span class="Other">=</span> <span class="Identifier">Moment</span><span class="Other">.</span><span class="Identifier">now</span><span class="Other">(</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>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L32"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L32" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
<div id="init,typeTimedCache[K],Duration" class="tohide"> <div id="init,typeTimedCache[K],Duration" class="tohide">
@ -394,9 +428,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L97" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L124"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.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/timedcache.nim#L124" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -406,9 +440,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L52" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/timedcache.nim#L71"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L52" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L71" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -422,7 +456,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -532,7 +532,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:58 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
</dd> </dd>
</div> </div>
<div id="init.e,Noise" class="tohide"> <div id="init.e,Noise" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CNoise"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="noise.html#Noise"><span class="Identifier">Noise</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><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">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt> <dt><pre><span class="Keyword">method</span> <a href="#init.e%2CNoise"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="noise.html#Noise"><span class="Identifier">Noise</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><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">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd> <dd>
@ -570,7 +570,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -458,7 +458,7 @@ class="link-seesrc" target="_blank">Source</a>
</dd> </dd>
</div> </div>
<div id="init.e,Secure" class="tohide"> <div id="init.e,Secure" class="tohide">
<dt><pre><span class="Keyword">method</span> <a href="#init.e%2CSecure"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="secure.html#Secure"><span class="Identifier">Secure</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><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">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt> <dt><pre><span class="Keyword">method</span> <a href="#init.e%2CSecure"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <a href="secure.html#Secure"><span class="Identifier">Secure</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><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">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd> <dd>
@ -548,7 +548,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="section" id="19"> <div class="section" id="19">
<h1><a class="toc-backref" href="#19">Exports</a></h1> <h1><a class="toc-backref" href="#19">Exports</a></h1>
<dl class="item"> <dl class="item">
<a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a> <a href="../protocol.html#new,typeLPProtocol,seq[string],proc(Connection,string)"><span class="Identifier">new</span></a>, <a href="../protocol.html#init.e,LPProtocol"><span class="Identifier">init</span></a>, <a href="../protocol.html#maxIncomingStreams=,LPProtocol,int"><span class="Identifier">maxIncomingStreams=</span></a>, <a href="../protocol.html#codec=,LPProtocol,string"><span class="Identifier">codec=</span></a>, <a href="../protocol.html#DefaultMaxIncomingStreams"><span class="Identifier">DefaultMaxIncomingStreams</span></a>, <a href="../protocol.html#handler.t,LPProtocol,Connection,string"><span class="Identifier">handler</span></a>, <a href="../protocol.html#codec,LPProtocol"><span class="Identifier">codec</span></a>, <a href="../protocol.html#maxIncomingStreams,LPProtocol"><span class="Identifier">maxIncomingStreams</span></a>, <a href="../protocol.html#handler=,LPProtocol,proc(Connection,string)"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#handler.t,LPProtocol"><span class="Identifier">handler</span></a>, <a href="../protocol.html#handler=,LPProtocol,LPProtoHandler"><span class="Identifier">handler=</span></a>, <a href="../protocol.html#start.e,LPProtocol"><span class="Identifier">start</span></a>, <a href="../protocol.html#LPProtoHandler"><span class="Identifier">LPProtoHandler</span></a>, <a href="../protocol.html#new,typeLPProtocol,seq[string],LPProtoHandler"><span class="Identifier">new</span></a>, <a href="../protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>, <a href="../protocol.html#stop.e,LPProtocol"><span class="Identifier">stop</span></a>
</dl></div> </dl></div>
</div> </div>
@ -558,7 +558,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -524,7 +524,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -504,7 +504,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -502,7 +502,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1009,7 +1009,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -442,7 +442,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -266,7 +266,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:56 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:47 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -400,9 +400,9 @@ class="link-seesrc" target="_blank">Source</a>
accept a new TCP connection accept a new TCP connection
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/transports/tcptransport.nim#L199" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/transports/tcptransport.nim#L200"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/tcptransport.nim#L199" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/tcptransport.nim#L200" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -415,9 +415,9 @@ class="link-seesrc" target="_blank">Source</a>
dial a peer dial a peer
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/transports/tcptransport.nim#L249" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/transports/tcptransport.nim#L251"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/tcptransport.nim#L249" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/tcptransport.nim#L251" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -428,9 +428,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/transports/tcptransport.nim#L268" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/transports/tcptransport.nim#L270"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/tcptransport.nim#L268" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/transports/tcptransport.nim#L270" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -476,7 +476,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -491,7 +491,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -583,7 +583,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:59 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:50 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -334,7 +334,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:58 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -219,7 +219,7 @@ window.addEventListener("DOMContentLoaded", main2);
<ul class="simple simple-toc-section"> <ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">withValue <ul class="simple nested-toc-section">withValue
<li><a class="reference" href="#withValue.m%2C%2Cuntyped%2Cuntyped%2Cuntyped" <li><a class="reference" href="#withValue.m%2C%2Cuntyped%2Cuntyped%2Cuntyped"
title="withValue[T](self: Opt[T] | Option[T]; value, body, body2: untyped): untyped">withValue[T](self: Opt[T] | Option[T]; value, body, body2: untyped): untyped</a></li> title="withValue[T](self: Opt[T] | Option[T]; value, body, elseStmt: untyped): untyped">withValue[T](self: Opt[T] | Option[T]; value, body, elseStmt: untyped): untyped</a></li>
</ul> </ul>
@ -324,7 +324,7 @@ class="link-seesrc" target="_blank">Source</a>
<h1><a class="toc-backref" href="#17">Macros</a></h1> <h1><a class="toc-backref" href="#17">Macros</a></h1>
<dl class="item"> <dl class="item">
<div id="withValue.m,,untyped,untyped,untyped" class="tohide"> <div id="withValue.m,,untyped,untyped,untyped" class="tohide">
<dt><pre><span class="Keyword">macro</span> <a href="#withValue.m%2C%2Cuntyped%2Cuntyped%2Cuntyped"><span class="Identifier">withValue</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span> <span class="Operator">|</span> <span class="Identifier">Option</span><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">,</span> <span class="Identifier">body</span><span class="Other">,</span> <span class="Identifier">body2</span><span class="Other">:</span> <span class="Identifier">untyped</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">untyped</span> {. <dt><pre><span class="Keyword">macro</span> <a href="#withValue.m%2C%2Cuntyped%2Cuntyped%2Cuntyped"><span class="Identifier">withValue</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span> <span class="Operator">|</span> <span class="Identifier">Option</span><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">,</span> <span class="Identifier">body</span><span class="Other">,</span> <span class="Identifier">elseStmt</span><span class="Other">:</span> <span class="Identifier">untyped</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">untyped</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> <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> <dd>
@ -395,9 +395,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/utility.nim#L130" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/utility.nim#L132"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utility.nim#L130" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utility.nim#L132" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -407,9 +407,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a &nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/utility.nim#L124" href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/utility.nim#L125"
class="link-seesrc" target="_blank">Source</a> class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utility.nim#L124" class="link-seesrc" target="_blank" >Edit</a> &nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utility.nim#L125" class="link-seesrc" target="_blank" >Edit</a>
</dd> </dd>
</div> </div>
@ -444,7 +444,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:52 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:44 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -271,7 +271,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:58 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -512,7 +512,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:49 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:52 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:44 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:54 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:45 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -604,7 +604,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:32:57 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:48 UTC</small>
</div> </div>
</div> </div>
</div> </div>

View File

@ -200,6 +200,8 @@ window.addEventListener('DOMContentLoaded', main);
data-doc-search-tag="peerid: `==`(a, b: PeerId): bool" href="libp2p/peerid.html#%3D%3D.t%2CPeerId%2CPeerId">peerid: `==`(a, b: PeerId): bool</a></li> data-doc-search-tag="peerid: `==`(a, b: PeerId): bool" href="libp2p/peerid.html#%3D%3D.t%2CPeerId%2CPeerId">peerid: `==`(a, b: PeerId): bool</a></li>
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="pubsubpeer: `==`(a, b: PubSubPeer): bool" href="libp2p/protocols/pubsub/pubsubpeer.html#%3D%3D%2CPubSubPeer%2CPubSubPeer">pubsubpeer: `==`(a, b: PubSubPeer): bool</a></li> data-doc-search-tag="pubsubpeer: `==`(a, b: PubSubPeer): bool" href="libp2p/protocols/pubsub/pubsubpeer.html#%3D%3D%2CPubSubPeer%2CPubSubPeer">pubsubpeer: `==`(a, b: PubSubPeer): bool</a></li>
<li><a class="reference external"
data-doc-search-tag="timedcache: `==`[E](a, b: TimedEntry[E]): bool" href="libp2p/protocols/pubsub/timedcache.html#%3D%3D%2CTimedEntry%5BE%5D%2CTimedEntry%5BE%5D">timedcache: `==`[E](a, b: TimedEntry[E]): bool</a></li>
</ul></dd> </ul></dd>
<dt><a name="%60%5B%5D%60" href="#%60%5B%5D%60"><span>`[]`:</span></a></dt><dd><ul class="simple"> <dt><a name="%60%5B%5D%60" href="#%60%5B%5D%60"><span>`[]`:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
@ -249,7 +251,7 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd> </ul></dd>
<dt><a name="addedAt" href="#addedAt"><span>addedAt:</span></a></dt><dd><ul class="simple"> <dt><a name="addedAt" href="#addedAt"><span>addedAt:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="timedcache: addedAt[K](t: TimedCache[K]; k: K): Moment" href="libp2p/protocols/pubsub/timedcache.html#addedAt%2CTimedCache%5BK%5D%2CK">timedcache: addedAt[K](t: TimedCache[K]; k: K): Moment</a></li> data-doc-search-tag="timedcache: addedAt[K](t: var TimedCache[K]; k: K): Moment" href="libp2p/protocols/pubsub/timedcache.html#addedAt%2CTimedCache%5BK%5D%2CK">timedcache: addedAt[K](t: var TimedCache[K]; k: K): Moment</a></li>
</ul></dd> </ul></dd>
<dt><a name="addHandler" href="#addHandler"><span>addHandler:</span></a></dt><dd><ul class="simple"> <dt><a name="addHandler" href="#addHandler"><span>addHandler:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
@ -257,13 +259,15 @@ window.addEventListener('DOMContentLoaded', main);
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cseq%5Bstring%5D%2CLPProtocol%2CMatcher">multistream: addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol; matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cseq%5Bstring%5D%2CLPProtocol%2CMatcher">multistream: addHandler(m: MultistreamSelect; codecs: seq[string]; protocol: LPProtocol;
matcher: Matcher = nil)</a></li> matcher: Matcher = nil)</a></li>
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="multistream: addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2C%2CMatcher">multistream: addHandler[E](m: MultistreamSelect; codec: string; handler: LPProtoHandler |
proc (conn: Connection; proto: string): InternalRaisesFuture[void, E];
matcher: Matcher = nil)</a></li>
<li><a class="reference external"
data-doc-search-tag="multistream: addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol; data-doc-search-tag="multistream: addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher">multistream: addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol; matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2CLPProtocol%2CMatcher">multistream: addHandler(m: MultistreamSelect; codec: string; protocol: LPProtocol;
matcher: Matcher = nil)</a></li> matcher: Matcher = nil)</a></li>
<li><a class="reference external"
data-doc-search-tag="multistream: addHandler(m: MultistreamSelect; codec: string; handler: LPProtoHandler;
matcher: Matcher = nil)" href="libp2p/multistream.html#addHandler%2CMultistreamSelect%2Cstring%2CLPProtoHandler%2CMatcher">multistream: addHandler(m: MultistreamSelect; codec: string; handler: LPProtoHandler;
matcher: Matcher = nil)</a></li>
</ul></dd> </ul></dd>
<dt><a name="addObservation" href="#addObservation"><span>addObservation:</span></a></dt><dd><ul class="simple"> <dt><a name="addObservation" href="#addObservation"><span>addObservation:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
@ -303,7 +307,7 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd> </ul></dd>
<dt><a name="addSeen" href="#addSeen"><span>addSeen:</span></a></dt><dd><ul class="simple"> <dt><a name="addSeen" href="#addSeen"><span>addSeen:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="floodsub: addSeen(f: FloodSub; msgId: MessageId): bool" href="libp2p/protocols/pubsub/floodsub.html#addSeen%2CFloodSub%2CMessageId">floodsub: addSeen(f: FloodSub; msgId: MessageId): bool</a></li> data-doc-search-tag="floodsub: addSeen(f: FloodSub; saltedId: SaltedId): bool" href="libp2p/protocols/pubsub/floodsub.html#addSeen%2CFloodSub%2CSaltedId">floodsub: addSeen(f: FloodSub; saltedId: SaltedId): bool</a></li>
</ul></dd> </ul></dd>
<dt><a name="addTransport" href="#addTransport"><span>addTransport:</span></a></dt><dd><ul class="simple"> <dt><a name="addTransport" href="#addTransport"><span>addTransport:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
@ -1077,6 +1081,10 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="protocol: DefaultMaxIncomingStreams" href="libp2p/protocols/protocol.html#DefaultMaxIncomingStreams">protocol: DefaultMaxIncomingStreams</a></li> data-doc-search-tag="protocol: DefaultMaxIncomingStreams" href="libp2p/protocols/protocol.html#DefaultMaxIncomingStreams">protocol: DefaultMaxIncomingStreams</a></li>
</ul></dd> </ul></dd>
<dt><a name="DefaultMaxNumElementsInNonPriorityQueue" href="#DefaultMaxNumElementsInNonPriorityQueue"><span>DefaultMaxNumElementsInNonPriorityQueue:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="pubsubpeer: DefaultMaxNumElementsInNonPriorityQueue" href="libp2p/protocols/pubsub/pubsubpeer.html#DefaultMaxNumElementsInNonPriorityQueue">pubsubpeer: DefaultMaxNumElementsInNonPriorityQueue</a></li>
</ul></dd>
<dt><a name="defaultMsgIdProvider" href="#defaultMsgIdProvider"><span>defaultMsgIdProvider:</span></a></dt><dd><ul class="simple"> <dt><a name="defaultMsgIdProvider" href="#defaultMsgIdProvider"><span>defaultMsgIdProvider:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="message: defaultMsgIdProvider(m: Message): Result[MessageId, ValidationResult]" href="libp2p/protocols/pubsub/rpc/message.html#defaultMsgIdProvider%2CMessage">message: defaultMsgIdProvider(m: Message): Result[MessageId, ValidationResult]</a></li> data-doc-search-tag="message: defaultMsgIdProvider(m: Message): Result[MessageId, ValidationResult]" href="libp2p/protocols/pubsub/rpc/message.html#defaultMsgIdProvider%2CMessage">message: defaultMsgIdProvider(m: Message): Result[MessageId, ValidationResult]</a></li>
@ -1495,7 +1503,7 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd> </ul></dd>
<dt><a name="firstSeen" href="#firstSeen"><span>firstSeen:</span></a></dt><dd><ul class="simple"> <dt><a name="firstSeen" href="#firstSeen"><span>firstSeen:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="floodsub: firstSeen(f: FloodSub; msgId: MessageId): Moment" href="libp2p/protocols/pubsub/floodsub.html#firstSeen%2CFloodSub%2CMessageId">floodsub: firstSeen(f: FloodSub; msgId: MessageId): Moment</a></li> data-doc-search-tag="floodsub: firstSeen(f: FloodSub; saltedId: SaltedId): Moment" href="libp2p/protocols/pubsub/floodsub.html#firstSeen%2CFloodSub%2CSaltedId">floodsub: firstSeen(f: FloodSub; saltedId: SaltedId): Moment</a></li>
</ul></dd> </ul></dd>
<dt><a name="Fixed" href="#Fixed"><span>Fixed:</span></a></dt><dd><ul class="simple"> <dt><a name="Fixed" href="#Fixed"><span>Fixed:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
@ -1963,6 +1971,20 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="behavior: handlePrune(g: GossipSub; peer: PubSubPeer; prunes: seq[ControlPrune])" href="libp2p/protocols/pubsub/gossipsub/behavior.html#handlePrune%2CGossipSub%2CPubSubPeer%2Cseq%5BControlPrune%5D">behavior: handlePrune(g: GossipSub; peer: PubSubPeer; prunes: seq[ControlPrune])</a></li> data-doc-search-tag="behavior: handlePrune(g: GossipSub; peer: PubSubPeer; prunes: seq[ControlPrune])" href="libp2p/protocols/pubsub/gossipsub/behavior.html#handlePrune%2CGossipSub%2CPubSubPeer%2Cseq%5BControlPrune%5D">behavior: handlePrune(g: GossipSub; peer: PubSubPeer; prunes: seq[ControlPrune])</a></li>
</ul></dd> </ul></dd>
<dt><a name="handler" href="#handler"><span>handler:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="protocol: handler(p: LPProtocol): LPProtoHandler" href="libp2p/protocols/protocol.html#handler.t%2CLPProtocol">protocol: handler(p: LPProtocol): LPProtoHandler</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: handler(p: LPProtocol; conn: Connection; proto: string): Future[void]" href="libp2p/protocols/protocol.html#handler.t%2CLPProtocol%2CConnection%2Cstring">protocol: handler(p: LPProtocol; conn: Connection; proto: string): Future[void]</a></li>
</ul></dd>
<dt><a name="handler%3D" href="#handler%3D"><span>handler=:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="protocol: handler=(p: LPProtocol; handler: LPProtoHandler)" href="libp2p/protocols/protocol.html#handler%3D%2CLPProtocol%2CLPProtoHandler">protocol: handler=(p: LPProtocol; handler: LPProtoHandler)</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
void, E])" href="libp2p/protocols/protocol.html#handler%3D%2CLPProtocol%2Cproc%28Connection%2Cstring%29">protocol: handler=[E](p: LPProtocol; handler: proc (conn: Connection; proto: string): InternalRaisesFuture[
void, E])</a></li>
</ul></dd>
<dt><a name="HandlerHolder" href="#HandlerHolder"><span>HandlerHolder:</span></a></dt><dd><ul class="simple"> <dt><a name="HandlerHolder" href="#HandlerHolder"><span>HandlerHolder:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="multistream: HandlerHolder" href="libp2p/multistream.html#HandlerHolder">multistream: HandlerHolder</a></li> data-doc-search-tag="multistream: HandlerHolder" href="libp2p/multistream.html#HandlerHolder">multistream: HandlerHolder</a></li>
@ -2003,6 +2025,8 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="pubsubpeer: hash(p: PubSubPeer): Hash" href="libp2p/protocols/pubsub/pubsubpeer.html#hash%2CPubSubPeer">pubsubpeer: hash(p: PubSubPeer): Hash</a></li> data-doc-search-tag="pubsubpeer: hash(p: PubSubPeer): Hash" href="libp2p/protocols/pubsub/pubsubpeer.html#hash%2CPubSubPeer">pubsubpeer: hash(p: PubSubPeer): Hash</a></li>
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="timedcache: hash(a: TimedEntry): Hash" href="libp2p/protocols/pubsub/timedcache.html#hash%2CTimedEntry">timedcache: hash(a: TimedEntry): Hash</a></li>
<li><a class="reference external"
data-doc-search-tag="connection: hash(p: Connection): Hash" href="libp2p/stream/connection.html#hash%2CConnection">connection: hash(p: Connection): Hash</a></li> data-doc-search-tag="connection: hash(p: Connection): Hash" href="libp2p/stream/connection.html#hash%2CConnection">connection: hash(p: Connection): Hash</a></li>
</ul></dd> </ul></dd>
<dt><a name="HashError" href="#HashError"><span>HashError:</span></a></dt><dd><ul class="simple"> <dt><a name="HashError" href="#HashError"><span>HashError:</span></a></dt><dd><ul class="simple">
@ -2027,7 +2051,7 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd> </ul></dd>
<dt><a name="hasSeen" href="#hasSeen"><span>hasSeen:</span></a></dt><dd><ul class="simple"> <dt><a name="hasSeen" href="#hasSeen"><span>hasSeen:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="floodsub: hasSeen(f: FloodSub; msgId: MessageId): bool" href="libp2p/protocols/pubsub/floodsub.html#hasSeen%2CFloodSub%2CMessageId">floodsub: hasSeen(f: FloodSub; msgId: MessageId): bool</a></li> data-doc-search-tag="floodsub: hasSeen(f: FloodSub; saltedId: SaltedId): bool" href="libp2p/protocols/pubsub/floodsub.html#hasSeen%2CFloodSub%2CSaltedId">floodsub: hasSeen(f: FloodSub; saltedId: SaltedId): bool</a></li>
</ul></dd> </ul></dd>
<dt><a name="hasSendConn" href="#hasSendConn"><span>hasSendConn:</span></a></dt><dd><ul class="simple"> <dt><a name="hasSendConn" href="#hasSendConn"><span>hasSendConn:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
@ -2355,7 +2379,41 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="floodsub: init(f: FloodSub)" href="libp2p/protocols/pubsub/floodsub.html#init.e%2CFloodSub">floodsub: init(f: FloodSub)</a></li> data-doc-search-tag="floodsub: init(f: FloodSub)" href="libp2p/protocols/pubsub/floodsub.html#init.e%2CFloodSub">floodsub: init(f: FloodSub)</a></li>
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="gossipsub: init(_: type[GossipSubParams]): GossipSubParams" href="libp2p/protocols/pubsub/gossipsub.html#init%2Ctype%5BGossipSubParams%5D">gossipsub: init(_: type[GossipSubParams]): GossipSubParams</a></li> data-doc-search-tag="gossipsub: init(_: type[GossipSubParams]; pruneBackoff = 1.minutes;
unsubscribeBackoff = 5.seconds; floodPublish = true;
gossipFactor: float64 = 0.25; d = GossipSubD; dLow = GossipSubDlo;
dHigh = GossipSubDhi; dScore = GossipSubDlo; dOut = GossipSubDlo - 1;
dLazy = GossipSubD; heartbeatInterval = GossipSubHeartbeatInterval;
historyLength = GossipSubHistoryLength;
historyGossip = GossipSubHistoryGossip; fanoutTTL = GossipSubFanoutTTL;
seenTTL = 2.minutes; gossipThreshold = -100.0; publishThreshold = -1000.0;
graylistThreshold = -10000.0; opportunisticGraftThreshold = 0.0;
decayInterval = 1.seconds; decayToZero = 0.01; retainScore = 2.minutes;
appSpecificWeight = 0.0; ipColocationFactorWeight = 0.0;
ipColocationFactorThreshold = 1.0; behaviourPenaltyWeight = -1.0;
behaviourPenaltyDecay = 0.999; directPeers = initTable();
disconnectBadPeers = false; enablePX = false;
bandwidthEstimatebps = 100000000;
overheadRateLimit = Opt.none(tuple[bytes: int, interval: Duration]);
disconnectPeerAboveRateLimit = false;
maxNumElementsInNonPriorityQueue = DefaultMaxNumElementsInNonPriorityQueue): GossipSubParams" href="libp2p/protocols/pubsub/gossipsub.html#init%2Ctype%5BGossipSubParams%5D%2Cfloat64%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cfloat%2Cint">gossipsub: init(_: type[GossipSubParams]; pruneBackoff = 1.minutes;
unsubscribeBackoff = 5.seconds; floodPublish = true;
gossipFactor: float64 = 0.25; d = GossipSubD; dLow = GossipSubDlo;
dHigh = GossipSubDhi; dScore = GossipSubDlo; dOut = GossipSubDlo - 1;
dLazy = GossipSubD; heartbeatInterval = GossipSubHeartbeatInterval;
historyLength = GossipSubHistoryLength;
historyGossip = GossipSubHistoryGossip; fanoutTTL = GossipSubFanoutTTL;
seenTTL = 2.minutes; gossipThreshold = -100.0; publishThreshold = -1000.0;
graylistThreshold = -10000.0; opportunisticGraftThreshold = 0.0;
decayInterval = 1.seconds; decayToZero = 0.01; retainScore = 2.minutes;
appSpecificWeight = 0.0; ipColocationFactorWeight = 0.0;
ipColocationFactorThreshold = 1.0; behaviourPenaltyWeight = -1.0;
behaviourPenaltyDecay = 0.999; directPeers = initTable();
disconnectBadPeers = false; enablePX = false;
bandwidthEstimatebps = 100000000;
overheadRateLimit = Opt.none(tuple[bytes: int, interval: Duration]);
disconnectPeerAboveRateLimit = false;
maxNumElementsInNonPriorityQueue = DefaultMaxNumElementsInNonPriorityQueue): GossipSubParams</a></li>
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="gossipsub: init(g: GossipSub)" href="libp2p/protocols/pubsub/gossipsub.html#init.e%2CGossipSub">gossipsub: init(g: GossipSub)</a></li> data-doc-search-tag="gossipsub: init(g: GossipSub)" href="libp2p/protocols/pubsub/gossipsub.html#init.e%2CGossipSub">gossipsub: init(g: GossipSub)</a></li>
<li><a class="reference external" <li><a class="reference external"
@ -3142,11 +3200,17 @@ window.addEventListener('DOMContentLoaded', main);
data-doc-search-tag="protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler; data-doc-search-tag="protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type" href="libp2p/protocols/protocol.html#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtoHandler">protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler; maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type" href="libp2p/protocols/protocol.html#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2CLPProtoHandler">protocol: new(T: type LPProtocol; codecs: seq[string]; handler: LPProtoHandler;
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li> maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
<li><a class="reference external"
data-doc-search-tag="protocol: new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
proto: string): InternalRaisesFuture[void, E];
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type" href="libp2p/protocols/protocol.html#new%2CtypeLPProtocol%2Cseq%5Bstring%5D%2Cproc%28Connection%2Cstring%29">protocol: new[E](T: type LPProtocol; codecs: seq[string]; handler: proc (conn: Connection;
proto: string): InternalRaisesFuture[void, E];
maxIncomingStreams: Opt[int] | int = Opt.none(int)): T:type</a></li>
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="pubsubpeer: new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent; data-doc-search-tag="pubsubpeer: new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent;
codec: string; maxMessageSize: int; codec: string; maxMessageSize: int; maxNumElementsInNonPriorityQueue: int = DefaultMaxNumElementsInNonPriorityQueue;
overheadRateLimitOpt: Opt[TokenBucket] = Opt.none(TokenBucket)): T:type" href="libp2p/protocols/pubsub/pubsubpeer.html#new%2Ctypedesc%5BPubSubPeer%5D%2CPeerId%2CGetConn%2COnEvent%2Cstring%2Cint%2COpt%5BTokenBucket%5D">pubsubpeer: new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent; overheadRateLimitOpt: Opt[TokenBucket] = Opt.none(TokenBucket)): T:type" href="libp2p/protocols/pubsub/pubsubpeer.html#new%2Ctypedesc%5BPubSubPeer%5D%2CPeerId%2CGetConn%2COnEvent%2Cstring%2Cint%2Cint%2COpt%5BTokenBucket%5D">pubsubpeer: new(T: typedesc[PubSubPeer]; peerId: PeerId; getConn: GetConn; onEvent: OnEvent;
codec: string; maxMessageSize: int; codec: string; maxMessageSize: int; maxNumElementsInNonPriorityQueue: int = DefaultMaxNumElementsInNonPriorityQueue;
overheadRateLimitOpt: Opt[TokenBucket] = Opt.none(TokenBucket)): T:type</a></li> overheadRateLimitOpt: Opt[TokenBucket] = Opt.none(TokenBucket)): T:type</a></li>
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="rendezvous: new(T: typedesc[RendezVous]; rng: ref HmacDrbgContext = newRng()): T:type" href="libp2p/protocols/rendezvous.html#new%2Ctypedesc%5BRendezVous%5D%2Cref.HmacDrbgContext">rendezvous: new(T: typedesc[RendezVous]; rng: ref HmacDrbgContext = newRng()): T:type</a></li> data-doc-search-tag="rendezvous: new(T: typedesc[RendezVous]; rng: ref HmacDrbgContext = newRng()): T:type" href="libp2p/protocols/rendezvous.html#new%2Ctypedesc%5BRendezVous%5D%2Cref.HmacDrbgContext">rendezvous: new(T: typedesc[RendezVous]; rng: ref HmacDrbgContext = newRng()): T:type</a></li>
@ -4029,9 +4093,9 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd> </ul></dd>
<dt><a name="rewardDelivered" href="#rewardDelivered"><span>rewardDelivered:</span></a></dt><dd><ul class="simple"> <dt><a name="rewardDelivered" href="#rewardDelivered"><span>rewardDelivered:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="scoring: rewardDelivered(g: GossipSub; peer: PubSubPeer; topics: openArray[string]; data-doc-search-tag="scoring: rewardDelivered(g: GossipSub; peer: PubSubPeer; topic: string; first: bool;
first: bool; delay = ZeroDuration)" href="libp2p/protocols/pubsub/gossipsub/scoring.html#rewardDelivered%2CGossipSub%2CPubSubPeer%2CopenArray%5Bstring%5D%2Cbool">scoring: rewardDelivered(g: GossipSub; peer: PubSubPeer; topics: openArray[string]; delay = ZeroDuration)" href="libp2p/protocols/pubsub/gossipsub/scoring.html#rewardDelivered%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool">scoring: rewardDelivered(g: GossipSub; peer: PubSubPeer; topic: string; first: bool;
first: bool; delay = ZeroDuration)</a></li> delay = ZeroDuration)</a></li>
</ul></dd> </ul></dd>
<dt><a name="RoutingRecordsHandler" href="#RoutingRecordsHandler"><span>RoutingRecordsHandler:</span></a></dt><dd><ul class="simple"> <dt><a name="RoutingRecordsHandler" href="#RoutingRecordsHandler"><span>RoutingRecordsHandler:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
@ -4153,6 +4217,14 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="utility: safeConvert[T: SomeInteger; S: Ordinal](value: S): T" href="libp2p/utility.html#safeConvert.t%2CS">utility: safeConvert[T: SomeInteger; S: Ordinal](value: S): T</a></li> data-doc-search-tag="utility: safeConvert[T: SomeInteger; S: Ordinal](value: S): T" href="libp2p/utility.html#safeConvert.t%2CS">utility: safeConvert[T: SomeInteger; S: Ordinal](value: S): T</a></li>
</ul></dd> </ul></dd>
<dt><a name="salt" href="#salt"><span>salt:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="floodsub: salt(f: FloodSub; msgId: MessageId): SaltedId" href="libp2p/protocols/pubsub/floodsub.html#salt%2CFloodSub%2CMessageId">floodsub: salt(f: FloodSub; msgId: MessageId): SaltedId</a></li>
</ul></dd>
<dt><a name="SaltedId" href="#SaltedId"><span>SaltedId:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="messages: SaltedId" href="libp2p/protocols/pubsub/rpc/messages.html#SaltedId">messages: SaltedId</a></li>
</ul></dd>
<dt><a name="scalarMul" href="#scalarMul"><span>scalarMul:</span></a></dt><dd><ul class="simple"> <dt><a name="scalarMul" href="#scalarMul"><span>scalarMul:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="ecnist: scalarMul(pub: EcPublicKey; sec: EcPrivateKey): EcPublicKey" href="libp2p/crypto/ecnist.html#scalarMul%2CEcPublicKey%2CEcPrivateKey">ecnist: scalarMul(pub: EcPublicKey; sec: EcPrivateKey): EcPublicKey</a></li> data-doc-search-tag="ecnist: scalarMul(pub: EcPublicKey; sec: EcPrivateKey): EcPublicKey" href="libp2p/crypto/ecnist.html#scalarMul%2CEcPublicKey%2CEcPrivateKey">ecnist: scalarMul(pub: EcPublicKey; sec: EcPrivateKey): EcPublicKey</a></li>
@ -5135,7 +5207,7 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd> </ul></dd>
<dt><a name="withValue" href="#withValue"><span>withValue:</span></a></dt><dd><ul class="simple"> <dt><a name="withValue" href="#withValue"><span>withValue:</span></a></dt><dd><ul class="simple">
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="utility: withValue[T](self: Opt[T] | Option[T]; value, body, body2: untyped): untyped" href="libp2p/utility.html#withValue.m%2C%2Cuntyped%2Cuntyped%2Cuntyped">utility: withValue[T](self: Opt[T] | Option[T]; value, body, body2: untyped): untyped</a></li> data-doc-search-tag="utility: withValue[T](self: Opt[T] | Option[T]; value, body, elseStmt: untyped): untyped" href="libp2p/utility.html#withValue.m%2C%2Cuntyped%2Cuntyped%2Cuntyped">utility: withValue[T](self: Opt[T] | Option[T]; value, body, elseStmt: untyped): untyped</a></li>
<li><a class="reference external" <li><a class="reference external"
data-doc-search-tag="utility: withValue[T](self: Opt[T] | Option[T]; value, body: untyped): untyped" href="libp2p/utility.html#withValue.t%2C%2Cuntyped%2Cuntyped">utility: withValue[T](self: Opt[T] | Option[T]; value, body: untyped): untyped</a></li> data-doc-search-tag="utility: withValue[T](self: Opt[T] | Option[T]; value, body: untyped): untyped" href="libp2p/utility.html#withValue.t%2C%2Cuntyped%2Cuntyped">utility: withValue[T](self: Opt[T] | Option[T]; value, body: untyped): untyped</a></li>
</ul></dd> </ul></dd>
@ -5350,7 +5422,7 @@ window.addEventListener('DOMContentLoaded', main);
<div class="twelve-columns footer"> <div class="twelve-columns footer">
<span class="nim-sprite"></span> <span class="nim-sprite"></span>
<br/> <br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-03-22 20:33:00 UTC</small> <small style="color: var(--hint);">Made with Nim. Generated: 2024-05-06 11:24:51 UTC</small>
</div> </div>
</div> </div>
</div> </div>