mirror of https://github.com/waku-org/js-waku.git
3 lines
25 KiB
HTML
3 lines
25 KiB
HTML
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GossipOptions | js-waku</title><meta name="description" content="Documentation for js-waku"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">js-waku</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">js-waku</a></li><li><a href="../modules/waku_relay.html">waku_relay</a></li><li><a href="waku_relay.GossipOptions.html">GossipOptions</a></li></ul><h1>Interface GossipOptions</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>See constructor libp2p-gossipsub <a href="https://github.com/ChainSafe/js-libp2p-gossipsub#api">API</a>.</p>
|
|
</div></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">GossipOptions</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#D" class="tsd-kind-icon">D</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#Dhi" class="tsd-kind-icon">Dhi</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#Dlazy" class="tsd-kind-icon">Dlazy</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#Dlo" class="tsd-kind-icon">Dlo</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#Dout" class="tsd-kind-icon">Dout</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#Dscore" class="tsd-kind-icon">Dscore</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#directPeers" class="tsd-kind-icon">direct<wbr/>Peers</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#doPX" class="tsd-kind-icon">doPX</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#emitSelf" class="tsd-kind-icon">emit<wbr/>Self</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#fallbackToFloodsub" class="tsd-kind-icon">fallback<wbr/>To<wbr/>Floodsub</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#floodPublish" class="tsd-kind-icon">flood<wbr/>Publish</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#gossipIncoming" class="tsd-kind-icon">gossip<wbr/>Incoming</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#messageCache" class="tsd-kind-icon">message<wbr/>Cache</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#msgIdFn" class="tsd-kind-icon">msg<wbr/>Id<wbr/>Fn</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#scoreParams" class="tsd-kind-icon">score<wbr/>Params</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#scoreThresholds" class="tsd-kind-icon">score<wbr/>Thresholds</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="D" class="tsd-anchor"></a><h3 class="tsd-anchor-link">D<a href="#D" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">D<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L45">src/lib/waku_relay/index.ts:45</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="Dhi" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Dhi<a href="#Dhi" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Dhi<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L47">src/lib/waku_relay/index.ts:47</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="Dlazy" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Dlazy<a href="#Dlazy" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Dlazy<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L50">src/lib/waku_relay/index.ts:50</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="Dlo" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Dlo<a href="#Dlo" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Dlo<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L46">src/lib/waku_relay/index.ts:46</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="Dout" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Dout<a href="#Dout" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Dout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L49">src/lib/waku_relay/index.ts:49</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="Dscore" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Dscore<a href="#Dscore" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Dscore<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L48">src/lib/waku_relay/index.ts:48</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="directPeers" class="tsd-anchor"></a><h3 class="tsd-anchor-link">direct<wbr/>Peers<a href="#directPeers" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">direct<wbr/>Peers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AddrInfo</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L44">src/lib/waku_relay/index.ts:44</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="doPX" class="tsd-anchor"></a><h3 class="tsd-anchor-link">doPX<a href="#doPX" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">doPX<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L37">src/lib/waku_relay/index.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="emitSelf" class="tsd-anchor"></a><h3 class="tsd-anchor-link">emit<wbr/>Self<a href="#emitSelf" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">emit<wbr/>Self<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L33">src/lib/waku_relay/index.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="fallbackToFloodsub" class="tsd-anchor"></a><h3 class="tsd-anchor-link">fallback<wbr/>To<wbr/>Floodsub<a href="#fallbackToFloodsub" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">fallback<wbr/>To<wbr/>Floodsub<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L35">src/lib/waku_relay/index.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="floodPublish" class="tsd-anchor"></a><h3 class="tsd-anchor-link">flood<wbr/>Publish<a href="#floodPublish" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">flood<wbr/>Publish<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L36">src/lib/waku_relay/index.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="gossipIncoming" class="tsd-anchor"></a><h3 class="tsd-anchor-link">gossip<wbr/>Incoming<a href="#gossipIncoming" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">gossip<wbr/>Incoming<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L34">src/lib/waku_relay/index.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="messageCache" class="tsd-anchor"></a><h3 class="tsd-anchor-link">message<wbr/>Cache<a href="#messageCache" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">message<wbr/>Cache<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MessageCache</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L39">src/lib/waku_relay/index.ts:39</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="msgIdFn" class="tsd-anchor"></a><h3 class="tsd-anchor-link">msg<wbr/>Id<wbr/>Fn<a href="#msgIdFn" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">msg<wbr/>Id<wbr/>Fn<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MessageIdFunction</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L38">src/lib/waku_relay/index.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="scoreParams" class="tsd-anchor"></a><h3 class="tsd-anchor-link">score<wbr/>Params<a href="#scoreParams" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">score<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">PeerScoreParams</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L42">src/lib/waku_relay/index.ts:42</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="scoreThresholds" class="tsd-anchor"></a><h3 class="tsd-anchor-link">score<wbr/>Thresholds<a href="#scoreThresholds" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">score<wbr/>Thresholds<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">PeerScoreThresholds</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/status-im/js-waku/blob/b50e211/src/lib/waku_relay/index.ts#L43">src/lib/waku_relay/index.ts:43</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li><li class=" tsd-kind-namespace"><a href="../modules/discovery.html">discovery</a></li><li class=" tsd-kind-namespace"><a href="../modules/enr.html">enr</a></li><li class=" tsd-kind-namespace"><a href="../modules/proto.html">proto</a></li><li class=" tsd-kind-namespace"><a href="../modules/utf8.html">utf8</a></li><li class=" tsd-kind-namespace"><a href="../modules/utils.html">utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/waku.html">waku</a></li><li class=" tsd-kind-namespace"><a href="../modules/waku_light_push.html">waku_<wbr/>light_<wbr/>push</a></li><li class=" tsd-kind-namespace"><a href="../modules/waku_message.html">waku_<wbr/>message</a></li><li class="current tsd-kind-namespace"><a href="../modules/waku_relay.html">waku_<wbr/>relay</a></li><li class=" tsd-kind-namespace"><a href="../modules/waku_store.html">waku_<wbr/>store</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface tsd-parent-kind-namespace"><a href="waku_relay.GossipOptions.html" class="tsd-kind-icon">Gossip<wbr/>Options</a><ul><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#D" class="tsd-kind-icon">D</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#Dhi" class="tsd-kind-icon">Dhi</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#Dlazy" class="tsd-kind-icon">Dlazy</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#Dlo" class="tsd-kind-icon">Dlo</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#Dout" class="tsd-kind-icon">Dout</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#Dscore" class="tsd-kind-icon">Dscore</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#directPeers" class="tsd-kind-icon">direct<wbr/>Peers</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#doPX" class="tsd-kind-icon">doPX</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#emitSelf" class="tsd-kind-icon">emit<wbr/>Self</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#fallbackToFloodsub" class="tsd-kind-icon">fallback<wbr/>To<wbr/>Floodsub</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#floodPublish" class="tsd-kind-icon">flood<wbr/>Publish</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#gossipIncoming" class="tsd-kind-icon">gossip<wbr/>Incoming</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#messageCache" class="tsd-kind-icon">message<wbr/>Cache</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#msgIdFn" class="tsd-kind-icon">msg<wbr/>Id<wbr/>Fn</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#scoreParams" class="tsd-kind-icon">score<wbr/>Params</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="waku_relay.GossipOptions.html#scoreThresholds" class="tsd-kind-icon">score<wbr/>Thresholds</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html> |