docs.waku.org/assets/js/8eff6037.78b3ced4.js

1 line
32 KiB
JavaScript
Raw Normal View History

2025-09-25 09:32:27 +00:00
"use strict";(self.webpackChunkwaku_guide=self.webpackChunkwaku_guide||[]).push([[8610],{16660:(e,s,d)=>{d.r(s),d.d(s,{assets:()=>l,contentTitle:()=>c,default:()=>x,frontMatter:()=>t,metadata:()=>r,toc:()=>o});const r=JSON.parse('{"id":"guides/nwaku/config-options","title":"Node Configuration Options","description":"Here are the available node configuration options, along with their default values and descriptions:","source":"@site/docs/guides/nwaku/config-options.md","sourceDirName":"guides/nwaku","slug":"/guides/nwaku/config-options","permalink":"/guides/nwaku/config-options","draft":false,"unlisted":false,"editUrl":"https://github.com/waku-org/docs.waku.org/tree/develop/docs/guides/nwaku/config-options.md","tags":[],"version":"current","lastUpdatedAt":null,"frontMatter":{"title":"Node Configuration Options","hide_table_of_contents":true},"sidebar":"guides","previous":{"title":"Node Configuration Methods","permalink":"/guides/nwaku/config-methods"},"next":{"title":"Node Configuration Examples","permalink":"/guides/nwaku/configure-nwaku"}}');var n=d(74848),i=d(28453);const t={title:"Node Configuration Options",hide_table_of_contents:!0},c=void 0,l={},o=[{value:"Application-level config",id:"application-level-config",level:2},{value:"Log config",id:"log-config",level:2},{value:"General node config",id:"general-node-config",level:2},{value:"DNS addrs config",id:"dns-addrs-config",level:2},{value:"Relay config",id:"relay-config",level:2},{value:"Store and message store config",id:"store-and-message-store-config",level:2},{value:"Store Sync",id:"store-sync",level:2},{value:"Filter config",id:"filter-config",level:2},{value:"Light push config",id:"light-push-config",level:2},{value:"REST HTTP config",id:"rest-http-config",level:2},{value:"Metrics config",id:"metrics-config",level:2},{value:"DNS discovery config",id:"dns-discovery-config",level:2},{value:"Discv5 config",id:"discv5-config",level:2},{value:"Waku peer exchange config",id:"waku-peer-exchange-config",level:2},{value:"WebSocket config",id:"websocket-config",level:2},{value:"Non-relay, request-response protocol DOS protection configuration",id:"non-relay-request-response-protocol-dos-protection-configuration",level:2}];function h(e){const s={a:"a",admonition:"admonition",code:"code",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.p,{children:"Here are the available node configuration options, along with their default values and descriptions:"}),"\n",(0,n.jsx)(s.h2,{id:"application-level-config",children:"Application-level config"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{children:"Name"}),(0,n.jsx)(s.th,{children:"Default Value"}),(0,n.jsx)(s.th,{children:"Description"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"config-file"})}),(0,n.jsx)(s.td,{}),(0,n.jsx)(s.td,{children:"Loads configuration from a TOML file (cmd-line parameters take precedence)"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"protected-shard"})}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"newSeq[ProtectedShard](0)"})}),(0,n.jsxs)(s.td,{children:["Shards and its public keys to be used for message validation, shard",":pubkey",". Argument may be repeated"]})]})]})]}),"\n",(0,n.jsx)(s.h2,{id:"log-config",children:"Log config"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{children:"Name"}),(0,n.jsx)(s.th,{children:"Default Value"}),(0,n.jsx)(s.th,{children:"Description"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"log-level"})}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"logging.LogLevel.INFO"})}),(0,n.jsx)(s.td,{children:"Sets the log level for process. Supported levels: TRACE, DEBUG, INFO, NOTICE, WARN, ERROR or FATAL"})]}),(0,n.jsxs)(s.tr,{children