2022-01-24 10:13:20 +00:00
|
|
|
<!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>
|
2022-03-23 04:13:45 +00:00
|
|
|
</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/e91dc7b/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"
|