update docs for ping-test-error
This commit is contained in:
parent
53e7abbbfa
commit
76ac35cf6b
|
@ -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-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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-04-26 15:40:21 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:23 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -874,7 +874,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1621,7 +1621,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:20 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1450,7 +1450,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:19 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:16 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:18 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:19 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1195,7 +1195,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:16 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:18 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1029,7 +1029,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:16 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:18 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -908,7 +908,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:19 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -381,7 +381,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -450,7 +450,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -340,7 +340,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:20 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2551,7 +2551,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:19 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -481,7 +481,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:19 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:20 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -559,7 +559,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -399,7 +399,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -455,7 +455,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -535,7 +535,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -606,7 +606,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -360,7 +360,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -806,7 +806,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:20 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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-04-26 15:40:15 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -508,7 +508,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -302,7 +302,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -468,7 +468,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:23 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -722,7 +722,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -383,7 +383,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -568,7 +568,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:23 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:23 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -376,7 +376,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -414,7 +414,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:21 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -563,7 +563,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:21 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -208,8 +208,8 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
<li><a class="reference" href="#FloodSub"
|
||||
title="FloodSub {.public.} = ref object of PubSub
|
||||
floodsub*: PeerTable
|
||||
seen*: TimedCache[MessageId]
|
||||
seenSalt*: seq[byte]">FloodSub</a></li>
|
||||
seen*: TimedCache[SaltedId]
|
||||
seenSalt*: sha256">FloodSub</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -225,13 +225,13 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
<ul class="simple nested-toc-section">addSeen
|
||||
<li><a class="reference" href="#addSeen%2CFloodSub%2CMessageId"
|
||||
title="addSeen(f: FloodSub; msgId: MessageId): bool">addSeen(f: FloodSub; msgId: MessageId): bool</a></li>
|
||||
<li><a class="reference" href="#addSeen%2CFloodSub%2CSaltedId"
|
||||
title="addSeen(f: FloodSub; saltedId: SaltedId): bool">addSeen(f: FloodSub; saltedId: SaltedId): bool</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">firstSeen
|
||||
<li><a class="reference" href="#firstSeen%2CFloodSub%2CMessageId"
|
||||
title="firstSeen(f: FloodSub; msgId: MessageId): Moment">firstSeen(f: FloodSub; msgId: MessageId): Moment</a></li>
|
||||
<li><a class="reference" href="#firstSeen%2CFloodSub%2CSaltedId"
|
||||
title="firstSeen(f: FloodSub; saltedId: SaltedId): Moment">firstSeen(f: FloodSub; saltedId: SaltedId): Moment</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">handleSubscribe
|
||||
|
@ -240,8 +240,13 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">hasSeen
|
||||
<li><a class="reference" href="#hasSeen%2CFloodSub%2CMessageId"
|
||||
title="hasSeen(f: FloodSub; msgId: MessageId): bool">hasSeen(f: FloodSub; msgId: MessageId): bool</a></li>
|
||||
<li><a class="reference" href="#hasSeen%2CFloodSub%2CSaltedId"
|
||||
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>
|
||||
|
||||
|
@ -302,16 +307,16 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<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>
|
||||
<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">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">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">sha256</span>
|
||||
</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L33"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L34"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L33" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -326,9 +331,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L30"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L31"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L30" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -337,27 +342,27 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="section" id="12">
|
||||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||
<dl class="item">
|
||||
<div id="addSeen,FloodSub,MessageId" 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>
|
||||
<div id="addSeen,FloodSub,SaltedId" class="tohide">
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L41"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L53"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L41" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
<div id="firstSeen,FloodSub,MessageId" 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>
|
||||
<div id="firstSeen,FloodSub,SaltedId" class="tohide">
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L47"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L57"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L47" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L57" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -368,6 +373,18 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L60"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L60" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="hasSeen,FloodSub,SaltedId" class="tohide">
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L50"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
|
@ -375,15 +392,15 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="hasSeen,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>
|
||||
<div id="salt,FloodSub,MessageId" class="tohide">
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L38"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L45"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L38" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -398,9 +415,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L168"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L180"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L168" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L180" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -411,9 +428,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L234"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L246"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L234" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L246" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -425,9 +442,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L188"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L200"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L188" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L200" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -439,9 +456,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L98"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L108"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L98" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -452,9 +469,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
handle peer disconnects
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L83"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/floodsub.nim#L93"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/floodsub.nim#L83" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -468,7 +485,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -365,9 +365,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L726"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L725"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L726" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L725" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -422,9 +422,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L456"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L455"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L456" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L455" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -466,9 +466,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L787"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L786"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L787" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L786" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -491,9 +491,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L770"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L769"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L770" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L769" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -530,9 +530,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L576"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L575"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L576" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L575" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -544,9 +544,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L609"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L608"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L609" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L608" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -558,9 +558,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L467"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L466"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L467" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L466" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -572,9 +572,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L737"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L736"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L737" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L736" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -586,9 +586,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L753"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub.nim#L752"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L753" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub.nim#L752" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -620,7 +620,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -306,33 +306,33 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||
<dl class="item">
|
||||
<div id="dropFanoutPeers,GossipSub" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#dropFanoutPeers%2CGossipSub"><span class="Identifier">dropFanoutPeers</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#dropFanoutPeers%2CGossipSub"><span class="Identifier">dropFanoutPeers</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L542"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L541"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
<div id="getGossipPeers,GossipSub" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#getGossipPeers%2CGossipSub"><span class="Identifier">getGossipPeers</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">,</span> <a href="../rpc/messages.html#ControlMessage"><span class="Identifier">ControlMessage</span></a><span class="Other">]</span> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
gossip iHave messages to peers
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L571"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L570"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
<div id="grafted,GossipSub,PubSubPeer,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#grafted%2CGossipSub%2CPubSubPeer%2Cstring"><span class="Identifier">grafted</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">p</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
@ -344,8 +344,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
</dd>
|
||||
</div>
|
||||
<div id="handleBackingOff,BackoffTable,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handleBackingOff%2CBackoffTable%2Cstring"><span class="Identifier">handleBackingOff</span></a><span class="Other">(</span><span class="Identifier">t</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="types.html#BackoffTable"><span class="Identifier">BackoffTable</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handleBackingOff%2CBackoffTable%2Cstring"><span class="Identifier">handleBackingOff</span></a><span class="Other">(</span><span class="Identifier">t</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="types.html#BackoffTable"><span class="Identifier">BackoffTable</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
@ -384,7 +383,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
</div>
|
||||
<div id="handleIHave,GossipSub,PubSubPeer,seq[ControlIHave]" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handleIHave%2CGossipSub%2CPubSubPeer%2Cseq%5BControlIHave%5D"><span class="Identifier">handleIHave</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">ihaves</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../rpc/messages.html#ControlIHave"><span class="Identifier">ControlIHave</span></a><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <a href="../rpc/messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
@ -397,20 +396,20 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
</div>
|
||||
<div id="handleIWant,GossipSub,PubSubPeer,seq[ControlIWant]" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handleIWant%2CGossipSub%2CPubSubPeer%2Cseq%5BControlIWant%5D"><span class="Identifier">handleIWant</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">iwants</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../rpc/messages.html#ControlIWant"><span class="Identifier">ControlIWant</span></a><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span>
|
||||
<a href="../rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<a href="../rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L275"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L274"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
<div id="handlePrune,GossipSub,PubSubPeer,seq[ControlPrune]" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#handlePrune%2CGossipSub%2CPubSubPeer%2Cseq%5BControlPrune%5D"><span class="Identifier">handlePrune</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">prunes</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../rpc/messages.html#ControlPrune"><span class="Identifier">ControlPrune</span></a><span class="Other">]</span><span class="Other">)</span> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
@ -428,15 +427,15 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L700"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L696"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/behavior.nim#L696" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="peerExchangeList,GossipSub,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#peerExchangeList%2CGossipSub%2Cstring"><span class="Identifier">peerExchangeList</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../rpc/messages.html#PeerInfoMsg"><span class="Identifier">PeerInfoMsg</span></a><span class="Other">]</span> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
@ -449,7 +448,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
</div>
|
||||
<div id="pruned,GossipSub,PubSubPeer,string,bool" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#pruned%2CGossipSub%2CPubSubPeer%2Cstring%2Cbool"><span class="Identifier">pruned</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">p</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">setBackoff</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">true</span><span class="Other">;</span>
|
||||
<span class="Identifier">backoff</span> <span class="Other">=</span> <span class="Identifier">none</span><span class="Other">(</span><span class="Identifier">Duration</span><span class="Other">)</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span class="Identifier">backoff</span> <span class="Other">=</span> <span class="Identifier">none</span><span class="Other">(</span><span class="Identifier">Duration</span><span class="Other">)</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
@ -462,27 +461,26 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
</div>
|
||||
<div id="rebalanceMesh,GossipSub,string,ptr.MeshMetrics" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#rebalanceMesh%2CGossipSub%2Cstring%2Cptr.MeshMetrics"><span class="Identifier">rebalanceMesh</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">metrics</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="types.html#MeshMetrics"><span class="Identifier">MeshMetrics</span></a> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L312"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L311"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
<div id="replenishFanout,GossipSub,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#replenishFanout%2CGossipSub%2Cstring"><span class="Identifier">replenishFanout</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#replenishFanout%2CGossipSub%2Cstring"><span class="Identifier">replenishFanout</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">topic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
get fanout peers for a topic
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L555"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/behavior.nim#L554"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -496,7 +494,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -309,14 +309,14 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||
<dl class="item">
|
||||
<div id="addCapped,T,T,T" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#addCapped%2CT%2CT%2CT"><span class="Identifier">addCapped</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">stat</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">T</span><span class="Other">;</span> <span class="Identifier">diff</span><span class="Other">,</span> <span class="Identifier">cap</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span></pre></dt>
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#addCapped%2CT%2CT%2CT"><span class="Identifier">addCapped</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">stat</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">T</span><span class="Other">;</span> <span class="Identifier">diff</span><span class="Other">,</span> <span class="Identifier">cap</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L261"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L259"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L261" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L259" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -339,22 +339,23 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L98"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L96"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L98" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L96" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="disconnectPeer,GossipSub,PubSubPeer" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#disconnectPeer%2CGossipSub%2CPubSubPeer"><span class="Identifier">disconnectPeer</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.
|
||||
<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L92"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L90"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L92" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L90" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -372,14 +373,15 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
</div>
|
||||
<div id="punishInvalidMessage,GossipSub,PubSubPeer,Message" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#punishInvalidMessage%2CGossipSub%2CPubSubPeer%2CMessage"><span class="Identifier">punishInvalidMessage</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">;</span> <span class="Identifier">peer</span><span class="Other">:</span> <a href="../pubsubpeer.html#PubSubPeer"><span class="Identifier">PubSubPeer</span></a><span class="Other">;</span> <span class="Identifier">msg</span><span class="Other">:</span> <a href="../rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
|
||||
<span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L243"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L241"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L243" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L241" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -390,22 +392,22 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L262"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L264" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L262" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="scoringHeartbeat,GossipSub" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#scoringHeartbeat%2CGossipSub"><span class="Identifier">scoringHeartbeat</span></a><span class="Other">(</span><span class="Identifier">g</span><span class="Other">:</span> <a href="types.html#GossipSub"><span class="Identifier">GossipSub</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L238"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L236"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L238" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L236" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -416,9 +418,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
<a class="reference external" href="https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md#the-score-function">https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md#the-score-function</a>
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L105"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/gossipsub/scoring.nim#L103"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L105" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/gossipsub/scoring.nim#L103" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -446,7 +448,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -319,7 +319,7 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
invalidMessageDeliveriesWeight*: float64
|
||||
invalidMessageDeliveriesDecay*: float64">TopicParams</a></li>
|
||||
<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>
|
||||
</li>
|
||||
|
@ -588,7 +588,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
</dd>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
|
||||
|
@ -782,7 +782,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -207,12 +207,13 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
<ul class="simple simple-toc-section">
|
||||
<li><a class="reference" href="#CacheEntry"
|
||||
title="CacheEntry = object
|
||||
mid*: MessageId
|
||||
msgId*: MessageId
|
||||
topic*: string">CacheEntry</a></li>
|
||||
<li><a class="reference" href="#MCache"
|
||||
title="MCache = object of RootObj
|
||||
msgs*: Table[MessageId, Message]
|
||||
history*: seq[seq[CacheEntry]]
|
||||
pos*: int
|
||||
windowSize*: Natural">MCache</a></li>
|
||||
|
||||
</ul>
|
||||
|
@ -222,12 +223,12 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
<ul class="simple simple-toc-section">
|
||||
<ul class="simple nested-toc-section">contains
|
||||
<li><a class="reference" href="#contains%2CMCache%2CMessageId"
|
||||
title="contains(c: MCache; mid: MessageId): bool">contains(c: MCache; mid: MessageId): bool</a></li>
|
||||
title="contains(c: MCache; msgId: MessageId): bool">contains(c: MCache; msgId: MessageId): bool</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">get
|
||||
<li><a class="reference" href="#get%2CMCache%2CMessageId"
|
||||
title="get(c: MCache; mid: MessageId): Option[Message]">get(c: MCache; mid: MessageId): Option[Message]</a></li>
|
||||
title="get(c: MCache; msgId: MessageId): Opt[Message]">get(c: MCache; msgId: MessageId): Opt[Message]</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">init
|
||||
|
@ -282,16 +283,16 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<dl class="item">
|
||||
<div id="CacheEntry" class="tohide">
|
||||
<dt><pre><a href="mcache.html#CacheEntry"><span class="Identifier">CacheEntry</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
|
||||
<span class="Identifier">mid</span><span class="Operator">*</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a>
|
||||
<span class="Identifier">msgId</span><span class="Operator">*</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a>
|
||||
<span class="Identifier">topic</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span>
|
||||
</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L18"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L19"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L18" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L19" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -299,15 +300,16 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<dt><pre><a href="mcache.html#MCache"><span class="Identifier">MCache</span></a> <span class="Other">=</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <span class="Identifier">RootObj</span>
|
||||
<span class="Identifier">msgs</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">,</span> <a href="rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">]</span>
|
||||
<span class="Identifier">history</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">seq</span><span class="Other">[</span><a href="mcache.html#CacheEntry"><span class="Identifier">CacheEntry</span></a><span class="Other">]</span><span class="Other">]</span>
|
||||
<span class="Identifier">pos</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span>
|
||||
<span class="Identifier">windowSize</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Natural</span>
|
||||
</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L22"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L23"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L22" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L23" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -317,26 +319,26 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||
<dl class="item">
|
||||
<div id="contains,MCache,MessageId" class="tohide">
|
||||
<dt><pre><span class="Keyword">func</span> <a href="#contains%2CMCache%2CMessageId"><span class="Identifier">contains</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="mcache.html#MCache"><span class="Identifier">MCache</span></a><span class="Other">;</span> <span class="Identifier">mid</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dt><pre><span class="Keyword">func</span> <a href="#contains%2CMCache%2CMessageId"><span class="Identifier">contains</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="mcache.html#MCache"><span class="Identifier">MCache</span></a><span class="Other">;</span> <span class="Identifier">msgId</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L34"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L36"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L36" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="get,MCache,MessageId" class="tohide">
|
||||
<dt><pre><span class="Keyword">func</span> <a href="#get%2CMCache%2CMessageId"><span class="Identifier">get</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="mcache.html#MCache"><span class="Identifier">MCache</span></a><span class="Other">;</span> <span class="Identifier">mid</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Option</span><span class="Other">[</span><a href="rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dt><pre><span class="Keyword">func</span> <a href="#get%2CMCache%2CMessageId"><span class="Identifier">get</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="mcache.html#MCache"><span class="Identifier">MCache</span></a><span class="Other">;</span> <span class="Identifier">msgId</span><span class="Other">:</span> <a href="rpc/messages.html#MessageId"><span class="Identifier">MessageId</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Opt</span><span class="Other">[</span><a href="rpc/messages.html#Message"><span class="Identifier">Message</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L27"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L29"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L27" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L29" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -346,9 +348,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L57"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L64"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L57" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L64" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -358,9 +360,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L37"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L39"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L37" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L39" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -370,9 +372,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L51"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L54"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L51" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L54" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -382,9 +384,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L42"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/mcache.nim#L44"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/mcache.nim#L44" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -393,7 +395,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="section" id="19">
|
||||
<h1><a class="toc-backref" href="#19">Exports</a></h1>
|
||||
<dl class="item">
|
||||
<a href="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>
|
||||
|
||||
</div>
|
||||
|
@ -403,7 +405,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -370,7 +370,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -470,9 +470,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L84"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L83"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L84" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L83" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -675,9 +675,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L94"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L93"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L94" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L93" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -712,9 +712,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L103"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L102"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L103" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L102" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -725,9 +725,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
Every time a peer send us a subscription (even to an unknown topic), we have to store it, which may be an attack vector. This callback can be used to reject topic we're not interested in
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L97"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L96"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L97" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L96" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -738,9 +738,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L86"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L85"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L86" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L85" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -750,9 +750,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L92"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L91"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L92" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L91" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -763,9 +763,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L89"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L88"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L89" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L88" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -780,9 +780,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L47"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L46"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L47" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -792,9 +792,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L48"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L47"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L48" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L47" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -810,9 +810,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L619"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L618"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L619" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L618" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -831,9 +831,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L155"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L154"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L155" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L154" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -844,9 +844,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L327"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L326"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L327" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L326" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -865,9 +865,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L564"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L563"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L564" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L563" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -878,9 +878,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L621"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L620"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L621" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L620" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -899,9 +899,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<p>High priority messages are sent immediately, while low priority messages are queued and sent only after all high priority messages have been sent.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L141"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L140"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L141" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L140" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -913,9 +913,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
send subscriptions to remote peer
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L221"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L220"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L221" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L220" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -931,9 +931,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
</dl>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L465"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L464"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L465" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L464" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -944,9 +944,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
unsubscribe from a <tt class="docutils literal"><span class="pre">topic</span></tt> string
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L434"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L433"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L434" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L433" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -957,9 +957,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
unsubscribe from a list of <tt class="docutils literal"><span class="pre">topic</span></tt> handlers
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L449"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L448"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L449" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L448" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -970,9 +970,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
unsubscribe every <tt class="docutils literal"><span class="pre"><span class="Identifier">handler</span></span></tt> from <tt class="docutils literal"><span class="pre"><span class="Identifier">topic</span></span></tt>
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L454"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L453"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L454" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L453" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -982,9 +982,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L240"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L239"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L240" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L239" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1000,9 +1000,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
Add a validator to a <tt class="docutils literal"><span class="pre"><span class="Identifier">topic</span></span></tt>. Each new message received in this will be sent to <tt class="docutils literal"><span class="pre"><span class="Identifier">hook</span></span></tt>. <tt class="docutils literal"><span class="pre"><span class="Identifier">hook</span></span></tt> can return either <tt class="docutils literal"><span class="pre"><span class="Identifier">Accept</span></span></tt>, <tt class="docutils literal"><span class="pre"><span class="Identifier">Ignore</span></span></tt> or <tt class="docutils literal"><span class="pre"><span class="Identifier">Reject</span></span></tt> (which can descore the peer)
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L514"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L513"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L514" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L513" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1013,9 +1013,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L299"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L298"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L299" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L298" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1033,9 +1033,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
</ol>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L364"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L363"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L364" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L363" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1046,9 +1046,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
perform pubsub initialization
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L507"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L506"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L507" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L506" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1059,9 +1059,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L287"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L286"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L287" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L286" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1072,9 +1072,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L417"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L416"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L417" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L416" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1088,9 +1088,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<p>The return value is the number of neighbours that we attempted to send the message to, excluding self. Note that this is an optimistic number of attempts - the number of peers that actually receive the message might be lower.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L495"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L494"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L495" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L494" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1101,9 +1101,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L524"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L523"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L524" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L523" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1115,9 +1115,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
Handler that must be overridden by concrete implementation
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L281"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L280"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L281" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L280" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1128,9 +1128,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
subscribe to remote peer to receive/send pubsub messages
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L393"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L392"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L393" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L392" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1141,9 +1141,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
handle peer disconnects
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L132"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L131"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L132" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L131" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1155,9 +1155,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L533"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsub.nim#L532"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L533" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsub.nim#L532" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
@ -1176,7 +1176,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -230,7 +230,9 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
observers*: ref seq[PubSubObserver]
|
||||
score*: float64
|
||||
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
|
||||
pingBudget*: int
|
||||
maxMessageSize: int
|
||||
|
@ -469,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">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">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">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>
|
||||
|
@ -524,9 +528,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L95"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L98"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L95" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
|
@ -574,9 +578,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L120"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L123"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L120" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
|
@ -586,9 +590,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L437"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L447"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L437" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -598,9 +602,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L252"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L255"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L252" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -610,9 +614,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L128"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L131"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L128" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -622,9 +626,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L107"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L110"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L107" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -635,9 +639,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L159"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L162"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L159" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -647,9 +651,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L117"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L120"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L117" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -659,9 +663,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L132"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L135"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L132" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -671,9 +675,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L258"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L261"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L258" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -687,9 +691,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L485"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L495"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L485" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -699,9 +703,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L135"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L138"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L135" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -712,9 +716,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L145"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L148"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L145" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -733,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>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L402"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L412"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L402" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -753,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>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L328"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L331"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L328" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -765,9 +769,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L123"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L126"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L123" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
|
@ -778,9 +782,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L467"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L477"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L467" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -795,9 +799,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L126"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/pubsubpeer.nim#L129"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/pubsubpeer.nim#L126" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -816,7 +820,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -332,7 +332,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="section" id="19">
|
||||
<h1><a class="toc-backref" href="#19">Exports</a></h1>
|
||||
<dl class="item">
|
||||
<a href="../errors.html#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>
|
||||
|
||||
</div>
|
||||
|
@ -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-04-26 15:40:21 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -248,6 +248,9 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
control*: Option[ControlMessage]
|
||||
ping*: seq[byte]
|
||||
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"
|
||||
title="SubOpts = object
|
||||
subscribe*: bool
|
||||
|
@ -325,9 +328,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L62"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L68"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -340,9 +343,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L55"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L61"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -354,9 +357,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L59"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L65"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -372,9 +375,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L48"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L54"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -388,9 +391,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L65"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L71"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -407,9 +410,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L40"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L46"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -452,9 +455,23 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L70"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L76"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L40"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -484,9 +501,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L148"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L154"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -496,9 +513,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L155"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L161"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -508,9 +525,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L137"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L143"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -520,9 +537,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L141"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L147"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -532,9 +549,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L173"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L179"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -544,9 +561,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L103"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L109"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -556,9 +573,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L121"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L127"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -568,9 +585,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L111"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L117"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -580,9 +597,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L93"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L99"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -591,23 +608,23 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L82"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L88"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L94"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
</div>
|
||||
<div id="shortLog,ControlPrune" class="tohide">
|
||||
|
@ -616,9 +633,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L98"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L104"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -629,9 +646,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L77"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/rpc/messages.nim#L83"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -645,7 +662,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:21 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:21 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -208,7 +208,7 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
<li><a class="reference" href="#TimedCache"
|
||||
title="TimedCache[K] = object of RootObj
|
||||
head, tail: TimedEntry[K]
|
||||
entries: Table[K, TimedEntry[K]]
|
||||
entries: HashSet[TimedEntry[K]]
|
||||
timeout: Duration">TimedCache</a></li>
|
||||
<li><a class="reference" href="#TimedEntry"
|
||||
title="TimedEntry[K] = ref object of RootObj
|
||||
|
@ -230,9 +230,14 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
<li>
|
||||
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
|
||||
<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"
|
||||
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 class="simple nested-toc-section">contains
|
||||
|
@ -249,6 +254,11 @@ window.addEventListener("DOMContentLoaded", main2);
|
|||
<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>
|
||||
|
||||
</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 class="simple nested-toc-section">init
|
||||
<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">
|
||||
<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">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>
|
||||
</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L27"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L28"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L27" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -311,9 +321,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L21"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L22"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L21" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -328,9 +338,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L18"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L19"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L18" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -339,15 +349,27 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="section" id="12">
|
||||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||
<dl class="item">
|
||||
<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> <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>
|
||||
<div id="==,TimedEntry[E],TimedEntry[E]" class="tohide">
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L93"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L33"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L93" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L113"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -357,9 +379,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L90"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L109"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L90" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -368,23 +390,35 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L52"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L45"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L39"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L32"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<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>
|
||||
</div>
|
||||
<div id="init,typeTimedCache[K],Duration" class="tohide">
|
||||
|
@ -394,9 +428,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L97"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L124"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L97" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -406,9 +440,9 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L52"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/ping-test-error/libp2p/protocols/pubsub/timedcache.nim#L71"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/pubsub/timedcache.nim#L52" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<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>
|
||||
</div>
|
||||
|
@ -422,7 +456,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -532,7 +532,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -570,7 +570,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -558,7 +558,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -422,7 +422,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -524,7 +524,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -504,7 +504,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -502,7 +502,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1009,7 +1009,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -442,7 +442,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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-04-26 15:40:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:20 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -476,7 +476,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -491,7 +491,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -583,7 +583,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:21 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -334,7 +334,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:21 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:23 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -376,7 +376,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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-04-26 15:40:15 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -271,7 +271,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -512,7 +512,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:21 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:15 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:19 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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-04-26 15:40:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:22 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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>
|
||||
<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>
|
||||
<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>
|
||||
<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"
|
||||
|
@ -249,7 +251,7 @@ window.addEventListener('DOMContentLoaded', main);
|
|||
</ul></dd>
|
||||
<dt><a name="addedAt" href="#addedAt"><span>addedAt:</span></a></dt><dd><ul class="simple">
|
||||
<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>
|
||||
<dt><a name="addHandler" href="#addHandler"><span>addHandler:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
|
@ -305,7 +307,7 @@ window.addEventListener('DOMContentLoaded', main);
|
|||
</ul></dd>
|
||||
<dt><a name="addSeen" href="#addSeen"><span>addSeen:</span></a></dt><dd><ul class="simple">
|
||||
<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>
|
||||
<dt><a name="addTransport" href="#addTransport"><span>addTransport:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
|
@ -843,7 +845,7 @@ window.addEventListener('DOMContentLoaded', main);
|
|||
<li><a class="reference external"
|
||||
data-doc-search-tag="multiaddress: contains(ma: MultiAddress; codec: MultiCodec): MaResult[bool]" href="libp2p/multiaddress.html#contains%2CMultiAddress%2CMultiCodec">multiaddress: contains(ma: MultiAddress; codec: MultiCodec): MaResult[bool]</a></li>
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="mcache: contains(c: MCache; mid: MessageId): bool" href="libp2p/protocols/pubsub/mcache.html#contains%2CMCache%2CMessageId">mcache: contains(c: MCache; mid: MessageId): bool</a></li>
|
||||
data-doc-search-tag="mcache: contains(c: MCache; msgId: MessageId): bool" href="libp2p/protocols/pubsub/mcache.html#contains%2CMCache%2CMessageId">mcache: contains(c: MCache; msgId: MessageId): bool</a></li>
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="timedcache: contains[K](t: TimedCache[K]; k: K): bool" href="libp2p/protocols/pubsub/timedcache.html#contains%2CTimedCache%5BK%5D%2CK">timedcache: contains[K](t: TimedCache[K]; k: K): bool</a></li>
|
||||
</ul></dd>
|
||||
|
@ -1501,7 +1503,7 @@ window.addEventListener('DOMContentLoaded', main);
|
|||
</ul></dd>
|
||||
<dt><a name="firstSeen" href="#firstSeen"><span>firstSeen:</span></a></dt><dd><ul class="simple">
|
||||
<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>
|
||||
<dt><a name="Fixed" href="#Fixed"><span>Fixed:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
|
@ -1585,7 +1587,7 @@ window.addEventListener('DOMContentLoaded', main);
|
|||
</ul></dd>
|
||||
<dt><a name="get" href="#get"><span>get:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
data-doc-search-tag="mcache: get(c: MCache; mid: MessageId): Option[Message]" href="libp2p/protocols/pubsub/mcache.html#get%2CMCache%2CMessageId">mcache: get(c: MCache; mid: MessageId): Option[Message]</a></li>
|
||||
data-doc-search-tag="mcache: get(c: MCache; msgId: MessageId): Opt[Message]" href="libp2p/protocols/pubsub/mcache.html#get%2CMCache%2CMessageId">mcache: get(c: MCache; msgId: MessageId): Opt[Message]</a></li>
|
||||
</ul></dd>
|
||||
<dt><a name="getAgent" href="#getAgent"><span>getAgent:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
|
@ -2023,6 +2025,8 @@ window.addEventListener('DOMContentLoaded', main);
|
|||
<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>
|
||||
<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>
|
||||
</ul></dd>
|
||||
<dt><a name="HashError" href="#HashError"><span>HashError:</span></a></dt><dd><ul class="simple">
|
||||
|
@ -2047,7 +2051,7 @@ window.addEventListener('DOMContentLoaded', main);
|
|||
</ul></dd>
|
||||
<dt><a name="hasSeen" href="#hasSeen"><span>hasSeen:</span></a></dt><dd><ul class="simple">
|
||||
<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>
|
||||
<dt><a name="hasSendConn" href="#hasSendConn"><span>hasSendConn:</span></a></dt><dd><ul class="simple">
|
||||
<li><a class="reference external"
|
||||
|
@ -4213,6 +4217,14 @@ window.addEventListener('DOMContentLoaded', main);
|
|||
<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>
|
||||
</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">
|
||||
<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>
|
||||
|
@ -5410,7 +5422,7 @@ window.addEventListener('DOMContentLoaded', main);
|
|||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-04-26 15:40:22 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2024-05-09 19:22:24 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue