<titledata-rh="true">Research | Waku Documentation</title><metadata-rh="true"name="viewport"content="width=device-width,initial-scale=1"><metadata-rh="true"name="twitter:card"content="summary_large_image"><metadata-rh="true"property="og:url"content="https://docs.waku.org/learn/research"><metadata-rh="true"property="og:locale"content="en_GB"><metadata-rh="true"name="docusaurus_locale"content="en-GB"><metadata-rh="true"name="docsearch:language"content="en-GB"><metadata-rh="true"name="keywords"content="waku, web3"><metadata-rh="true"name="image"content="https://docs.waku.org/_og/ef303dc3a908207d7d94f27c6374b35f3cdf00cd.png"><metadata-rh="true"name="docusaurus_version"content="current"><metadata-rh="true"name="docusaurus_tag"content="docs-default-current"><metadata-rh="true"name="docsearch:version"content="current"><metadata-rh="true"name="docsearch:docusaurus_tag"content="docs-default-current"><metadata-rh="true"property="og:title"content="Research | Waku Documentation"><metadata-rh="true"name="description"content="The following features are currently experimental and under research and initial implementation:"><metadata-rh="true"property="og:description"content="The following features are currently experimental and under research and initial implementation:"><linkdata-rh="true"rel="icon"href="/theme/image/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://docs.waku.org/learn/research"><linkdata-rh="true"rel="alternate"href="https://docs.waku.org/learn/research"hreflang="en-GB"><linkdata-rh="true"rel="alternate"href="https://docs.waku.org/learn/research"hreflang="x-default"><linkrel="alternate icon"type="image/png"href="/theme/image/favicon.png">
<h2class="anchor anchorWithHideOnScrollNavbar_WYt5"id="economic-spam-resistance">Economic spam resistance<ahref="#economic-spam-resistance"class="hash-link"aria-label="Direct link to Economic spam resistance"title="Direct link to Economic spam resistance"></a></h2>
<p>We aim to enable an incentivised spam protection technique to enhance <code>Relay</code> by using <ahref="https://rfc.vac.dev/vac/32/rln-v1/"target="_blank"rel="noopener noreferrer">Rate Limit Nullifiers (RLN)</a>. In this advanced method, peers are limited to a certain messaging rate per epoch, and an immediate financial penalty is enforced for spammers who break this rate. You can find more details in the <ahref="https://vac.dev/rln-relay"target="_blank"rel="noopener noreferrer">RLN Relay blog post</a>.</p>
<p>We have prepared a PoC implementation of this method in JS: <ahref="https://examples.waku.org/rln-js/"target="_blank"rel="noopener noreferrer">https://examples.waku.org/rln-js/</a></p>
<h2class="anchor anchorWithHideOnScrollNavbar_WYt5"id="prevention-of-denial-of-service-dos-and-node-incentivisation">Prevention of denial of service (DoS) and node incentivisation<ahref="#prevention-of-denial-of-service-dos-and-node-incentivisation"class="hash-link"aria-label="Direct link to Prevention of denial of service (DoS) and node incentivisation"title="Direct link to Prevention of denial of service (DoS) and node incentivisation"></a></h2>
<p>Denial of service signifies the case where an adversarial peer exhausts another node's service capacity (e.g., by making a large number of requests) and makes it unavailable to the rest of the system. RnD on DoS attack mitigation can be tracked from here: <ahref="https://github.com/vacp2p/research/issues/148"target="_blank"rel="noopener noreferrer">https://github.com/vacp2p/research/issues/148</a>.</p>
<p>In a nutshell, peers have to pay for the service they obtain from each other. In addition to incentivising the service provider, accounting also makes DoS attacks costly for malicious peers. The accounting model can be used in <code>Store</code> and <code>Filter</code> to protect against DoS attacks.</p>
<p>Additionally, along with RLN, this gives node operators who provide a useful service to the network an incentive to perform that service. Read more here: <ahref="https://vac.dev/building-privacy-protecting-infrastructure"target="_blank"rel="noopener noreferrer">https://vac.dev/building-privacy-protecting-infrastructure</a></p>
<p>You can also read more about the ongoing challenges the Waku team is working on here: <ahref="https://github.com/waku-org/research"target="_blank"rel="noopener noreferrer">https://github.com/waku-org/research</a></p></div><footerclass="theme-doc-footer docusaurus-mt-lg"><divclass="row margin-top--sm theme-doc-footer-edit-meta-row"><divclass="col"><ahref="https://github.com/waku-org/docs.waku.org/tree/develop/docs/learn/research.md"target="_blank"rel="noreferrer noopener"class="theme-edit-this-page"><divclass="icon_S7Kx m_thRi"><svgxmlns="http://www.w3.org/2000/svg"width="16"height="16"fill="none"viewBox="0 0 16 16"><pathfill="#fff"fill-rule="evenodd"d="m12.707 2.393.9.9c.526.52.526 1.367 0 1.887L4.787 14H2v-2.787l6.933-6.94 1.887-1.88c.52-.52 1.367-.52 1.887 0M3.333 12.667l.94.04 6.547-6.554-.94-.94-6.547 6.547z"clip-rule="evenodd"></path></svg></div><spanclass="lsd-typography lsd-typography--body2">Edit this page</span></a></div><divclass="col lastUpdated_JAkA"></div></div></footer></article><navclass="docusaurus-mt-lg pagination-nav"aria-label="Docs pages"><aclass="pagination-nav__link pagination-nav__link--prev"href="/learn/security-features"><divclass="icon_S7Kx m_thRi"><svgxmlns="http://www.w3.org/2000/svg"width="14"height="14"fill="none"viewBox="0 0 14 14"><pathfill="#fff"d="M11.667 6.417h-7.1L7.83 3.156 7 2.333 2.334 7 7 11.667l.823-.823-3.255-3.26h7.099z"></path></svg></div><spanclass="lsd-typography lsd-typography--body2 pagination-nav__label">Security Features</span></a><aclass="pagination-nav__link pagination-nav__link--next"href="/learn/waku-vs-libp2p"><spanclass="lsd-typography lsd-typography--body2 pagination-nav__label">Comparing Waku and libp2p</span><divclass="icon_S7Kx m_thRi"><svgxmlns="http://www.w3.org/2000/svg"width="14"height="14"fill="none"viewBox="0 0 14 14"><pathfill="#fff"d="m7 2.334-.823.822 3.255 3.26H2.333v1.167h7.1l-3.256 3.261.823.823L11.667 7z"></path></svg></div></a></nav></div></div><divclass="gap1_XuuQ"></div></div></div></main></div></div></div><footerclass="footer"><divclass="container container-fluid firstRow_ar1q"><divclass="footer__bottom text--center"><divclass="margin-bottom--sm"><aclass="footerLogoLink_BH7S"href="/"><imgsrc="/theme/image/logo.svg"alt="Waku"class="themedImage_kfRS themedImage--light_BL8e footer__logo"width="22"><imgsrc="/theme/image/logo.svg"alt="Waku"class="themedImage_kfRS themedImage--dark_OvIx footer__logo"width="22"></a></div><divclass="footer__copyright">Waku</div></div><divclass="row footer__links"><divclass="theme-layout-footer-column col footer__col"><divclass="footer__title">Guides</div><ulclass="footer__items clean-list"><liclass="footer__item"><aclass="footer__link-item"href="/guides/nwaku/run-docker-compose">Run a Nwaku Node</a></li><liclass="footer__item"><aclass="footer__link-item"href="/guides/js-waku/">JavaScript Waku SDK</a></li></ul></div><divclass="theme-layout-footer-column col footer__col"><divclass="footer__title">Community</div><ulclass="footer__items clean-list"><liclass="footer__item"><ahref="https://twitter.com/waku_org/"target="_blank"rel="noopener noreferrer"class="footer__link-item">X<svgwidth="13.5"height="13.5"aria-hidden="true"class="iconExternalLink_nPIU"><usehref="#theme-svg-external-link"></use></svg></a></li><liclass="footer__item"><ahref="https://discord.waku.org/"target="_blank"rel="noopener noreferrer"class="footer__link-item">Discord<svgwidth="13.5"height="13.5"aria-hidden="true"class="iconExternalLink_nPIU"><usehref="#theme-svg-external-link"></use></svg></a></li><liclass="footer__item"><ahref="https://github.com/waku-org/"target="_blank"rel="noopener noreferrer"class="footer__link-item">GitHub<svgwidth="13.5"height="13.5"aria-hidden="true"class="iconExternalLink_nPIU"><usehref="#theme-svg-external-link"></use></svg></a></li><liclass="footer__item"><ahref="https://www.youtube.com/@wakuorg"target="_blank"rel="noopener noreferrer"class="footer__link-item">YouTube<svgwidth="13.5"height="13.5"aria-hidden="true