update docs for p2p-research

This commit is contained in:
= 2024-02-19 08:51:58 +00:00
parent ba41ba799d
commit 5098c17917
82 changed files with 312 additions and 226 deletions

View File

@ -260,7 +260,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:06 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -801,7 +801,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -857,7 +857,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -1703,7 +1703,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:49 UTC</small>
</div>
</div>
</div>

View File

@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -1450,7 +1450,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:01 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:48 UTC</small>
</div>
</div>
</div>

View File

@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:01 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:47 UTC</small>
</div>
</div>
</div>

View File

@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:01 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:48 UTC</small>
</div>
</div>
</div>

View File

@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -1195,7 +1195,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:01 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:47 UTC</small>
</div>
</div>
</div>

View File

@ -1029,7 +1029,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:01 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:47 UTC</small>
</div>
</div>
</div>

View File

@ -908,7 +908,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:01 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:48 UTC</small>
</div>
</div>
</div>

View File

@ -381,7 +381,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -450,7 +450,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -357,7 +357,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:49 UTC</small>
</div>
</div>
</div>

View File

@ -2551,7 +2551,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:49 UTC</small>
</div>
</div>
</div>

View File

@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:02 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:48 UTC</small>
</div>
</div>
</div>

View File

@ -481,7 +481,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:02 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:48 UTC</small>
</div>
</div>
</div>

View File

@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:02 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:49 UTC</small>
</div>
</div>
</div>

View File

@ -539,7 +539,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -415,7 +415,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -533,7 +533,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -590,7 +590,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -360,7 +360,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -806,7 +806,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:49 UTC</small>
</div>
</div>
</div>

View File

@ -484,7 +484,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:26:59 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:46 UTC</small>
</div>
</div>
</div>

View File

@ -508,7 +508,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -302,7 +302,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -722,7 +722,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -377,7 +377,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -567,7 +567,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -368,7 +368,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -467,7 +467,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</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">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:52 UTC</small>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -496,7 +496,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -447,7 +447,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -780,7 +780,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -403,7 +403,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -301,8 +301,8 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">broadcast
<li><a class="reference" href="#broadcast%2CPubSub%2Cauto%2CRPCMsg"
title="broadcast(p: PubSub; sendPeers: auto; msg: RPCMsg)">broadcast(p: PubSub; sendPeers: auto; msg: RPCMsg)</a></li>
<li><a class="reference" href="#broadcast%2CPubSub%2Cauto%2CRPCMsg%2Cbool"
title="broadcast(p: PubSub; sendPeers: auto; msg: RPCMsg; isHighPriority: bool)">broadcast(p: PubSub; sendPeers: auto; msg: RPCMsg; isHighPriority: bool)</a></li>
</ul>
<ul class="simple nested-toc-section">handleData
@ -335,8 +335,8 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">send
<li><a class="reference" href="#send%2CPubSub%2CPubSubPeer%2CRPCMsg"
title="send(p: PubSub; peer: PubSubPeer; msg: RPCMsg)">send(p: PubSub; peer: PubSubPeer; msg: RPCMsg)</a></li>
<li><a class="reference" href="#send%2CPubSub%2CPubSubPeer%2CRPCMsg%2Cbool"
title="send(p: PubSub; peer: PubSubPeer; msg: RPCMsg; isHighPriority: bool)">send(p: PubSub; peer: PubSubPeer; msg: RPCMsg; isHighPriority: bool)</a></li>
</ul>
<ul class="simple nested-toc-section">sendSubs
@ -810,21 +810,30 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L602"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L618"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L602" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L618" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="broadcast,PubSub,auto,RPCMsg" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#broadcast%2CPubSub%2Cauto%2CRPCMsg"><span class="Identifier">broadcast</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="pubsub.html#PubSub"><span class="Identifier">PubSub</span></a><span class="Other">;</span> <span class="Identifier">sendPeers</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">;</span> <span class="Identifier">msg</span><span class="Other">:</span> <a href="rpc/messages.html#RPCMsg"><span class="Identifier">RPCMsg</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>.}</pre></dt>
<div id="broadcast,PubSub,auto,RPCMsg,bool" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#broadcast%2CPubSub%2Cauto%2CRPCMsg%2Cbool"><span class="Identifier">broadcast</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="pubsub.html#PubSub"><span class="Identifier">PubSub</span></a><span class="Other">;</span> <span class="Identifier">sendPeers</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">;</span> <span class="Identifier">msg</span><span class="Other">:</span> <a href="rpc/messages.html#RPCMsg"><span class="Identifier">RPCMsg</span></a><span class="Other">;</span> <span class="Identifier">isHighPriority</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
Attempt to send <tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt> to the given peers
<p>This procedure attempts to send a <tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt> (of type <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt>) to a specified group of peers in the PubSub network.</p>
<p>Parameters:</p>
<ul class="simple"><li><tt class="docutils literal"><span class="pre"><span class="Identifier">p</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSub</span></span></tt> instance.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">sendPeers</span></span></tt>: An iterable of <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt> instances representing the peers to whom the message should be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt> instance that contains the message to be broadcast.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">isHighPriority</span></span></tt>: A boolean indicating whether the message should be treated as high priority.</li>
</ul>
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L148"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L155"
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#L148" 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#L155" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -835,9 +844,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L310"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L326"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L310" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L326" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -856,9 +865,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L547"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L563"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L547" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L563" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -869,18 +878,26 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L604"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L620"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L604" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L620" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="send,PubSub,PubSubPeer,RPCMsg" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#send%2CPubSub%2CPubSubPeer%2CRPCMsg"><span class="Identifier">send</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="pubsub.html#PubSub"><span class="Identifier">PubSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">msg</span><span class="Other">:</span> <a href="rpc/messages.html#RPCMsg"><span class="Identifier">RPCMsg</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<div id="send,PubSub,PubSubPeer,RPCMsg,bool" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#send%2CPubSub%2CPubSubPeer%2CRPCMsg%2Cbool"><span class="Identifier">send</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="pubsub.html#PubSub"><span class="Identifier">PubSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">msg</span><span class="Other">:</span> <a href="rpc/messages.html#RPCMsg"><span class="Identifier">RPCMsg</span></a><span class="Other">;</span> <span class="Identifier">isHighPriority</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">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>
Attempt to send <tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt> to remote peer
<p>This procedure attempts to send a <tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt> (of type <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt>) to the specified remote peer in the PubSub network.</p>
<p>Parameters:</p>
<ul class="simple"><li><tt class="docutils literal"><span class="pre"><span class="Identifier">p</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSub</span></span></tt> instance.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">peer</span></span></tt>: An instance of <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt> representing the peer to whom the message should be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt> instance that contains the message to be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">isHighPriority</span></span></tt>: A boolean indicating whether the message should be treated as high priority.</li>
</ul>
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L141"
class="link-seesrc" target="_blank">Source</a>
@ -895,9 +912,9 @@ class="link-seesrc" target="_blank">Source</a>
send subscriptions to remote peer
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L205"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L221"
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#L205" 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#L221" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -913,9 +930,9 @@ class="link-seesrc" target="_blank">Source</a>
</dl>
&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#L464"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#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#L464" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -926,9 +943,9 @@ class="link-seesrc" target="_blank">Source</a>
unsubscribe from a <tt class="docutils literal"><span class="pre">topic</span></tt> string
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L417"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L433"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L417" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L433" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -939,9 +956,9 @@ class="link-seesrc" target="_blank">Source</a>
unsubscribe from a list of <tt class="docutils literal"><span class="pre">topic</span></tt> handlers
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L432"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L448"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L432" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L448" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -952,9 +969,9 @@ class="link-seesrc" target="_blank">Source</a>
unsubscribe every <tt class="docutils literal"><span class="pre"><span class="Identifier">handler</span></span></tt> from <tt class="docutils literal"><span class="pre"><span class="Identifier">topic</span></span></tt>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L437"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L453"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L437" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L453" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -964,9 +981,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L224"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L240"
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#L224" 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#L240" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -982,9 +999,9 @@ class="link-seesrc" target="_blank">Source</a>
Add a validator to a <tt class="docutils literal"><span class="pre"><span class="Identifier">topic</span></span></tt>. Each new message received in this will be sent to <tt class="docutils literal"><span class="pre"><span class="Identifier">hook</span></span></tt>. <tt class="docutils literal"><span class="pre"><span class="Identifier">hook</span></span></tt> can return either <tt class="docutils literal"><span class="pre"><span class="Identifier">Accept</span></span></tt>, <tt class="docutils literal"><span class="pre"><span class="Identifier">Ignore</span></span></tt> or <tt class="docutils literal"><span class="pre"><span class="Identifier">Reject</span></span></tt> (which can descore the peer)
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L497"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L513"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L497" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L513" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -995,9 +1012,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L282"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L298"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L282" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L298" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1015,9 +1032,9 @@ class="link-seesrc" target="_blank">Source</a>
</ol>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L347"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L363"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L347" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L363" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1028,9 +1045,9 @@ class="link-seesrc" target="_blank">Source</a>
perform pubsub initialization
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L490"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L506"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L490" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L506" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1041,9 +1058,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L273"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L289"
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#L273" 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#L289" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1054,9 +1071,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L400"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L416"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L400" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L416" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1070,9 +1087,9 @@ class="link-seesrc" target="_blank">Source</a>
<p>The return value is the number of neighbours that we attempted to send the message to, excluding self. Note that this is an optimistic number of attempts - the number of peers that actually receive the message might be lower.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L478"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L494"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L478" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L494" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1083,9 +1100,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L507"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L523"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L507" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L523" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1097,9 +1114,9 @@ class="link-seesrc" target="_blank">Source</a>
Handler that must be overridden by concrete implementation
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L267"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L283"
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#L267" 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#L283" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1110,9 +1127,9 @@ class="link-seesrc" target="_blank">Source</a>
subscribe to remote peer to receive/send pubsub messages
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L376"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L392"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L376" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L392" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1137,9 +1154,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L516"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsub.nim#L532"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L516" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L532" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -1158,7 +1175,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -236,7 +236,8 @@ window.addEventListener("DOMContentLoaded", main2);
maxMessageSize: int
appScore*: float64
behaviourPenalty*: float64
overheadRateLimitOpt*: Opt[TokenBucket]">PubSubPeer</a></li>
overheadRateLimitOpt*: Opt[TokenBucket]
rpcmessagequeue: RpcMessageQueue">PubSubPeer</a></li>
<li><a class="reference" href="#PubSubPeerEvent"
title="PubSubPeerEvent = object
kind*: PubSubPeerEventKind">PubSubPeerEvent</a></li>
@ -246,6 +247,11 @@ window.addEventListener("DOMContentLoaded", main2);
<li><a class="reference" href="#RPCHandler"
title="RPCHandler = proc (peer: PubSubPeer; data: seq[byte]): Future[void] {.gcsafe,
raises: [].}">RPCHandler</a></li>
<li><a class="reference" href="#RpcMessageQueue"
title="RpcMessageQueue = ref object
sendPriorityQueue: Deque[Future[void]]
nonPriorityQueue: AsyncQueue[seq[byte]]
sendNonPriorityTask: Future[void]">RpcMessageQueue</a></li>
</ul>
</li>
@ -317,19 +323,26 @@ window.addEventListener("DOMContentLoaded", main2);
</ul>
<ul class="simple nested-toc-section">send
<li><a class="reference" href="#send%2CPubSubPeer%2CRPCMsg%2Cbool"
title="send(p: PubSubPeer; msg: RPCMsg; anonymize: bool)">send(p: PubSubPeer; msg: RPCMsg; anonymize: bool)</a></li>
<li><a class="reference" href="#send%2CPubSubPeer%2CRPCMsg%2Cbool%2Cbool"
title="send(p: PubSubPeer; msg: RPCMsg; anonymize: bool; isHighPriority: bool): Future[
void]">send(p: PubSubPeer; msg: RPCMsg; anonymize: bool; isHighPriority: bool): Future[
void]</a></li>
</ul>
<ul class="simple nested-toc-section">sendEncoded
<li><a class="reference" href="#sendEncoded%2CPubSubPeer%2Cseq%5Bbyte%5D"
title="sendEncoded(p: PubSubPeer; msg: seq[byte]): Future[void]">sendEncoded(p: PubSubPeer; msg: seq[byte]): Future[void]</a></li>
<li><a class="reference" href="#sendEncoded%2CPubSubPeer%2Cseq%5Bbyte%5D%2Cbool"
title="sendEncoded(p: PubSubPeer; msg: seq[byte]; isHighPriority: bool): Future[void]">sendEncoded(p: PubSubPeer; msg: seq[byte]; isHighPriority: bool): Future[void]</a></li>
</ul>
<ul class="simple nested-toc-section">shortLog
<li><a class="reference" href="#shortLog%2CPubSubPeer"
title="shortLog(p: PubSubPeer): string">shortLog(p: PubSubPeer): string</a></li>
</ul>
<ul class="simple nested-toc-section">stopSendNonPriorityTask
<li><a class="reference" href="#stopSendNonPriorityTask%2CPubSubPeer"
title="stopSendNonPriorityTask(p: PubSubPeer)">stopSendNonPriorityTask(p: PubSubPeer)</a></li>
</ul>
</ul>
@ -378,9 +391,9 @@ class="link-seesrc" target="_blank">Source</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#L52"
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#L52" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -390,9 +403,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L48"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L51"
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#L48" 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#L51" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -402,9 +415,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L50"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L53"
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#L50" 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#L53" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -414,9 +427,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L35"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L38"
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#L35" 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#L38" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -429,9 +442,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L37"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.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/pubsubpeer.nim#L37" class="link-seesrc" target="_blank" >Edit</a>
&nbsp;&nbsp;<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L40" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -455,14 +468,15 @@ class="link-seesrc" target="_blank">Source</a>
<span class="Identifier">appScore</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">rpcmessagequeue</span><span class="Other">:</span> <a href="pubsubpeer.html#RpcMessageQueue"><span class="Identifier">RpcMessageQueue</span></a>
</pre></dt>
<dd>
&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#L63"
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#L63" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -474,9 +488,9 @@ class="link-seesrc" target="_blank">Source</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#L48"
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#L48" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -487,9 +501,9 @@ class="link-seesrc" target="_blank">Source</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#L44"
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#L44" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -500,9 +514,25 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L73"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L86"
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#L73" 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#L86" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="RpcMessageQueue" class="tohide">
<dt><pre><a href="pubsubpeer.html#RpcMessageQueue"><span class="Identifier">RpcMessageQueue</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span>
<span class="Identifier">sendPriorityQueue</span><span class="Other">:</span> <span class="Identifier">Deque</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="Other">]</span>
<span class="Identifier">nonPriorityQueue</span><span class="Other">:</span> <span class="Identifier">AsyncQueue</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="Other">]</span>
<span class="Identifier">sendNonPriorityTask</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/pubsub/pubsubpeer.nim#L55"
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#L55" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -517,9 +547,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L88"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L111"
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#L88" 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#L111" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -529,9 +559,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L326"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L386"
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#L326" 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#L386" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -541,9 +571,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L214"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L237"
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#L214" 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#L237" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -553,9 +583,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L96"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L119"
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#L96" 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#L119" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -565,9 +595,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L354"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L98"
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#L354" 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>
</div>
@ -578,9 +608,9 @@ class="link-seesrc" target="_blank">Source</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#L150"
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#L150" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -590,9 +620,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L85"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L108"
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#L85" 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#L108" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -602,9 +632,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L100"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L123"
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#L100" 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>
</div>
@ -614,9 +644,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L220"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L243"
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#L220" 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#L243" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -629,9 +659,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L333"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L430"
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#L333" 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#L430" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -641,9 +671,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L103"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L126"
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#L103" 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>
</div>
@ -654,36 +684,52 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L113"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L136"
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#L113" 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#L136" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="send,PubSubPeer,RPCMsg,bool" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#send%2CPubSubPeer%2CRPCMsg%2Cbool"><span class="Identifier">send</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">msg</span><span class="Other">:</span> <a href="rpc/messages.html#RPCMsg"><span class="Identifier">RPCMsg</span></a><span class="Other">;</span> <span class="Identifier">anonymize</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">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>
<div id="send,PubSubPeer,RPCMsg,bool,bool" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#send%2CPubSubPeer%2CRPCMsg%2Cbool%2Cbool"><span class="Identifier">send</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">msg</span><span class="Other">:</span> <a href="rpc/messages.html#RPCMsg"><span class="Identifier">RPCMsg</span></a><span class="Other">;</span> <span class="Identifier">anonymize</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">;</span> <span class="Identifier">isHighPriority</span><span class="Other">:</span> <span class="Identifier">bool</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">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">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>
<p>Asynchronously sends an <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt> to a specified <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt> with an option for anonymization.</p>
<p>Parameters:</p>
<ul class="simple"><li><tt class="docutils literal"><span class="pre"><span class="Identifier">p</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt> instance to which the message is to be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">RPCMsg</span></span></tt> instance representing the message to be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">anonymize</span></span></tt>: A boolean flag indicating whether the message should be sent with anonymization.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">isHighPriority</span></span></tt>: A boolean flag indicating whether the message should be treated as high priority.</li>
</ul>
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L300"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L351"
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#L300" 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#L351" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="sendEncoded,PubSubPeer,seq[byte]" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#sendEncoded%2CPubSubPeer%2Cseq%5Bbyte%5D"><span class="Identifier">sendEncoded</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">msg</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="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.
<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">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>
<div id="sendEncoded,PubSubPeer,seq[byte],bool" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#sendEncoded%2CPubSubPeer%2Cseq%5Bbyte%5D%2Cbool"><span class="Identifier">sendEncoded</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">msg</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="Other">;</span> <span class="Identifier">isHighPriority</span><span class="Other">:</span> <span class="Identifier">bool</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">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">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>
<p>Asynchronously sends an encoded message to a specified <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt>.</p>
<p>Parameters:</p>
<ul class="simple"><li><tt class="docutils literal"><span class="pre"><span class="Identifier">p</span></span></tt>: The <tt class="docutils literal"><span class="pre"><span class="Identifier">PubSubPeer</span></span></tt> instance to which the message is to be sent.</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">msg</span></span></tt>: The message to be sent, encoded as a sequence of bytes (<tt class="docutils literal"><span class="pre"><span class="Identifier">seq</span><span class="Punctuation">[</span><span class="Identifier">byte</span><span class="Punctuation">]</span></span></tt>).</li>
<li><tt class="docutils literal"><span class="pre"><span class="Identifier">isHighPriority</span></span></tt>: A boolean indicating whether the message should be treated as high priority.</li>
</ul>
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L230"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L284"
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#L230" 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#L284" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -693,9 +739,22 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L91"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L114"
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#L91" 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#L114" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
<div id="stopSendNonPriorityTask,PubSubPeer" class="tohide">
<dt><pre><span class="Keyword">proc</span> <a href="#stopSendNonPriorityTask%2CPubSubPeer"><span class="Identifier">stopSendNonPriorityTask</span></a><span class="Other">(</span><span class="Identifier">p</span><span class="Other">:</span> <a href="pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">)</span> {.<span><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">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L413"
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#L413" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -710,9 +769,9 @@ class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L94"
href="https://github.com/status-im/nim-libp2p/tree/p2p-research/libp2p/protocols/pubsub/pubsubpeer.nim#L117"
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#L94" 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#L117" class="link-seesrc" target="_blank" >Edit</a>
</dd>
</div>
@ -731,7 +790,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -342,7 +342,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -645,7 +645,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:52 UTC</small>
</div>
</div>
</div>

View File

@ -530,7 +530,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -561,7 +561,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -547,7 +547,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -513,7 +513,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -497,7 +497,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -500,7 +500,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -1113,7 +1113,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -442,7 +442,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -750,7 +750,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -266,7 +266,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:49 UTC</small>
</div>
</div>
</div>

View File

@ -477,7 +477,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -488,7 +488,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -554,7 +554,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:05 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -350,7 +350,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -444,7 +444,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:26:59 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:46 UTC</small>
</div>
</div>
</div>

View File

@ -271,7 +271,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:51 UTC</small>
</div>
</div>
</div>

View File

@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -512,7 +512,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:03 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:26:59 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:46 UTC</small>
</div>
</div>
</div>

View File

@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:01 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:48 UTC</small>
</div>
</div>
</div>

View File

@ -604,7 +604,7 @@ class="link-seesrc" target="_blank">Source</a>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:04 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:50 UTC</small>
</div>
</div>
</div>

View File

@ -553,7 +553,7 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="broadcast" href="#broadcast"><span>broadcast:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="pubsub: broadcast(p: PubSub; sendPeers: auto; msg: RPCMsg)" href="libp2p/protocols/pubsub/pubsub.html#broadcast%2CPubSub%2Cauto%2CRPCMsg">pubsub: broadcast(p: PubSub; sendPeers: auto; msg: RPCMsg)</a></li>
data-doc-search-tag="pubsub: broadcast(p: PubSub; sendPeers: auto; msg: RPCMsg; isHighPriority: bool)" href="libp2p/protocols/pubsub/pubsub.html#broadcast%2CPubSub%2Cauto%2CRPCMsg%2Cbool">pubsub: broadcast(p: PubSub; sendPeers: auto; msg: RPCMsg; isHighPriority: bool)</a></li>
</ul></dd>
<dt><a name="BufferStream" href="#BufferStream"><span>BufferStream:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4047,6 +4047,10 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="pubsubpeer: RPCHandler" href="libp2p/protocols/pubsub/pubsubpeer.html#RPCHandler">pubsubpeer: RPCHandler</a></li>
</ul></dd>
<dt><a name="RpcMessageQueue" href="#RpcMessageQueue"><span>RpcMessageQueue:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="pubsubpeer: RpcMessageQueue" href="libp2p/protocols/pubsub/pubsubpeer.html#RpcMessageQueue">pubsubpeer: RpcMessageQueue</a></li>
</ul></dd>
<dt><a name="RPCMsg" href="#RPCMsg"><span>RPCMsg:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="messages: RPCMsg" href="libp2p/protocols/pubsub/rpc/messages.html#RPCMsg">messages: RPCMsg</a></li>
@ -4251,13 +4255,15 @@ window.addEventListener('DOMContentLoaded', main);
</ul></dd>
<dt><a name="send" href="#send"><span>send:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="pubsub: send(p: PubSub; peer: PubSubPeer; msg: RPCMsg)" href="libp2p/protocols/pubsub/pubsub.html#send%2CPubSub%2CPubSubPeer%2CRPCMsg">pubsub: send(p: PubSub; peer: PubSubPeer; msg: RPCMsg)</a></li>
data-doc-search-tag="pubsub: send(p: PubSub; peer: PubSubPeer; msg: RPCMsg; isHighPriority: bool)" href="libp2p/protocols/pubsub/pubsub.html#send%2CPubSub%2CPubSubPeer%2CRPCMsg%2Cbool">pubsub: send(p: PubSub; peer: PubSubPeer; msg: RPCMsg; isHighPriority: bool)</a></li>
<li><a class="reference external"
data-doc-search-tag="pubsubpeer: send(p: PubSubPeer; msg: RPCMsg; anonymize: bool)" href="libp2p/protocols/pubsub/pubsubpeer.html#send%2CPubSubPeer%2CRPCMsg%2Cbool">pubsubpeer: send(p: PubSubPeer; msg: RPCMsg; anonymize: bool)</a></li>
data-doc-search-tag="pubsubpeer: send(p: PubSubPeer; msg: RPCMsg; anonymize: bool; isHighPriority: bool): Future[
void]" href="libp2p/protocols/pubsub/pubsubpeer.html#send%2CPubSubPeer%2CRPCMsg%2Cbool%2Cbool">pubsubpeer: send(p: PubSubPeer; msg: RPCMsg; anonymize: bool; isHighPriority: bool): Future[
void]</a></li>
</ul></dd>
<dt><a name="sendEncoded" href="#sendEncoded"><span>sendEncoded:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="pubsubpeer: sendEncoded(p: PubSubPeer; msg: seq[byte]): Future[void]" href="libp2p/protocols/pubsub/pubsubpeer.html#sendEncoded%2CPubSubPeer%2Cseq%5Bbyte%5D">pubsubpeer: sendEncoded(p: PubSubPeer; msg: seq[byte]): Future[void]</a></li>
data-doc-search-tag="pubsubpeer: sendEncoded(p: PubSubPeer; msg: seq[byte]; isHighPriority: bool): Future[void]" href="libp2p/protocols/pubsub/pubsubpeer.html#sendEncoded%2CPubSubPeer%2Cseq%5Bbyte%5D%2Cbool">pubsubpeer: sendEncoded(p: PubSubPeer; msg: seq[byte]; isHighPriority: bool): Future[void]</a></li>
</ul></dd>
<dt><a name="sendHopStatus" href="#sendHopStatus"><span>sendHopStatus:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
@ -4511,6 +4517,10 @@ window.addEventListener('DOMContentLoaded', main);
<li><a class="reference external"
data-doc-search-tag="messages: StopMessageType" href="libp2p/protocols/connectivity/relay/messages.html#StopMessageType">messages: StopMessageType</a></li>
</ul></dd>
<dt><a name="stopSendNonPriorityTask" href="#stopSendNonPriorityTask"><span>stopSendNonPriorityTask:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="pubsubpeer: stopSendNonPriorityTask(p: PubSubPeer)" href="libp2p/protocols/pubsub/pubsubpeer.html#stopSendNonPriorityTask%2CPubSubPeer">pubsubpeer: stopSendNonPriorityTask(p: PubSubPeer)</a></li>
</ul></dd>
<dt><a name="storeMuxer" href="#storeMuxer"><span>storeMuxer:</span></a></dt><dd><ul class="simple">
<li><a class="reference external"
data-doc-search-tag="connmanager: storeMuxer(c: ConnManager; muxer: Muxer)" href="libp2p/connmanager.html#storeMuxer%2CConnManager%2CMuxer">connmanager: storeMuxer(c: ConnManager; muxer: Muxer)</a></li>
@ -5306,7 +5316,7 @@ window.addEventListener('DOMContentLoaded', main);
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-12 08:27:06 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-02-19 08:51:52 UTC</small>
</div>
</div>
</div>