docs.waku.org/assets/js/d2dbb70e.8697010b.js

1 line
33 KiB
JavaScript
Raw Permalink Normal View History

2025-10-13 04:00:43 +00:00
"use strict";(self.webpackChunkwaku_guide=self.webpackChunkwaku_guide||[]).push([[5039],{28453:(e,d,s)=>{s.d(d,{R:()=>t,x:()=>c});var r=s(96540);const n={},i=r.createContext(n);function t(e){const d=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(d):{...d,...e}},[d,e])}function c(e){let d;return d=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:t(e.components),r.createElement(i.Provider,{value:d},e.children)}},78021:(e,d,s)=>{s.r(d),s.d(d,{assets:()=>l,contentTitle:()=>c,default:()=>x,frontMatter:()=>t,metadata:()=>r,toc:()=>o});const r=JSON.parse('{"id":"run-node/config-options","title":"Node Configuration Options","description":"Here are the available node configuration options, along with their default values and descriptions:","source":"@site/docs/run-node/config-options.md","sourceDirName":"run-node","slug":"/run-node/config-options","permalink":"/run-node/config-options","draft":false,"unlisted":false,"editUrl":"https://github.com/waku-org/docs.waku.org/tree/develop/docs/run-node/config-options.md","tags":[],"version":"current","lastUpdatedAt":null,"frontMatter":{"title":"Node Configuration Options","hide_table_of_contents":true,"displayed_sidebar":"runNode"},"sidebar":"runNode","previous":{"title":"Node Configuration Methods","permalink":"/run-node/config-methods"},"next":{"title":"Node Configuration Examples","permalink":"/run-node/configure-nwaku"}}');var n=s(74848),i=s(28453);const t={title:"Node Configuration Options",hide_table_of_contents:!0,displayed_sidebar:"runNode"},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 d={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)(d.p,{children:"Here are the available node configuration options, along with their default values and descriptions:"}),"\n",(0,n.jsx)(d.h2,{id:"application-level-config",children:"Application-level config"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Name"}),(0,n.jsx)(d.th,{children:"Default Value"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"config-file"})}),(0,n.jsx)(d.td,{}),(0,n.jsx)(d.td,{children:"Loads configuration from a TOML file (cmd-line parameters take precedence)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"protected-shard"})}),(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"newSeq[ProtectedShard](0)"})}),(0,n.jsxs)(d.td,{children:["Shards and its public keys to be used for message validation, shard",":pubkey",". Argument may be repeated"]})]})]})]}),"\n",(0,n.jsx)(d.h2,{id:"log-config",children:"Log config"}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Name"}),(0,n.jsx)(d.th,{children:"Default