[{"data":1,"prerenderedAt":778},["Reactive",2],{"content-query-0C351wTamF":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":7,"body":9,"_type":773,"_id":774,"_source":775,"_file":776,"_extension":777},"/docs/node/node-settings","node",false,"","Node Settings",{"type":10,"children":11,"toc":766},"root",[12,20,36,56,76,83,85,193,199,211,213,426,432,437,443,445,744,749,758],{"type":13,"tag":14,"props":15,"children":17},"element","h1",{"id":16},"node-settings",[18],{"type":19,"value":8},"text",{"type":13,"tag":21,"props":22,"children":24},"h4",{"id":23},"commands-entered-via-command-line-do-not-override-the-settings-of-your-beam-nodecfg-file",[25,27,34],{"type":19,"value":26},"Commands entered via Command-line do not override the settings of your ",{"type":13,"tag":28,"props":29,"children":31},"code",{"className":30},[],[32],{"type":19,"value":33},"beam-node.cfg",{"type":19,"value":35}," file.",{"type":13,"tag":37,"props":38,"children":39},"p",{},[40,42,47,49,54],{"type":19,"value":41},"The ",{"type":13,"tag":28,"props":43,"children":45},{"className":44},[],[46],{"type":19,"value":33},{"type":19,"value":48}," file loads all the settings not dictated by the Command-line. To revert to the original settings of your",{"type":13,"tag":28,"props":50,"children":52},{"className":51},[],[53],{"type":19,"value":33},{"type":19,"value":55},"file, manually restart your Beam node.",{"type":13,"tag":37,"props":57,"children":58},{},[59,61,66,68,74],{"type":19,"value":60},"Users can adjust and configure node settings via the Command Line or by editing the",{"type":13,"tag":28,"props":62,"children":64},{"className":63},[],[65],{"type":19,"value":33},{"type":19,"value":67}," file (located in the ",{"type":13,"tag":28,"props":69,"children":71},{"className":70},[],[72],{"type":19,"value":73},"node_folder",{"type":19,"value":75},").",{"type":13,"tag":77,"props":78,"children":80},"h3",{"id":79},"node-settings-parameters",[81],{"type":19,"value":82},"Node settings (parameters)",{"type":19,"value":84},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":13,"tag":86,"props":87,"children":88},"table",{},[89,118],{"type":13,"tag":90,"props":91,"children":92},"thead",{},[93],{"type":13,"tag":94,"props":95,"children":96},"tr",{},[97,107],{"type":13,"tag":98,"props":99,"children":100},"th",{},[101],{"type":13,"tag":28,"props":102,"children":104},{"className":103},[],[105],{"type":19,"value":106},"--port (or -p)",{"type":13,"tag":98,"props":108,"children":109},{},[110,116],{"type":13,"tag":28,"props":111,"children":113},{"className":112},[],[114],{"type":19,"value":115},"Port",{"type":19,"value":117}," to start the server on.",{"type":13,"tag":119,"props":120,"children":121},"tbody",{},[122,146,168],{"type":13,"tag":94,"props":123,"children":124},{},[125,135],{"type":13,"tag":126,"props":127,"children":128},"td",{},[129],{"type":13,"tag":28,"props":130,"children":132},{"className":131},[],[133],{"type":19,"value":134},"--log_level",{"type":13,"tag":126,"props":136,"children":137},{},[138,140],{"type":19,"value":139},"Log level ",{"type":13,"tag":28,"props":141,"children":143},{"className":142},[],[144],{"type":19,"value":145},"[info|debug|verbose].",{"type":13,"tag":94,"props":147,"children":148},{},[149,158],{"type":13,"tag":126,"props":150,"children":151},{},[152],{"type":13,"tag":28,"props":153,"children":155},{"className":154},[],[156],{"type":19,"value":157},"--file_log_level",{"type":13,"tag":126,"props":159,"children":160},{},[161,163],{"type":19,"value":162},"File log level ",{"type":13,"tag":28,"props":164,"children":166},{"className":165},[],[167],{"type":19,"value":145},{"type":13,"tag":94,"props":169,"children":170},{},[171,180],{"type":13,"tag":126,"props":172,"children":173},{},[174],{"type":13,"tag":28,"props":175,"children":177},{"className":176},[],[178],{"type":19,"value":179},"--log_cleanup_days",{"type":13,"tag":126,"props":181,"children":182},{},[183,185,191],{"type":19,"value":184},"Old ",{"type":13,"tag":28,"props":186,"children":188},{"className":187},[],[189],{"type":19,"value":190},"logfiles",{"type":19,"value":192}," cleanup period (measured in days).",{"type":13,"tag":77,"props":194,"children":196},{"id":195},"node-options-parameters",[197],{"type":19,"value":198},"Node options (parameters)",{"type":13,"tag":37,"props":200,"children":201},{},[202,204,209],{"type":19,"value":203},"Node options can be plugged directly into the",{"type":13,"tag":28,"props":205,"children":207},{"className":206},[],[208],{"type":19,"value":33},{"type":19,"value":210},"file or enter them via the command line.",{"type":19,"value":212},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":13,"tag":86,"props":214,"children":215},{},[216,243],{"type":13,"tag":90,"props":217,"children":218},{},[219],{"type":13,"tag":94,"props":220,"children":221},{},[222,231],{"type":13,"tag":98,"props":223,"children":224},{},[225],{"type":13,"tag":28,"props":226,"children":228},{"className":227},[],[229],{"type":19,"value":230},"--storage",{"type":13,"tag":98,"props":232,"children":233},{},[234,236,242],{"type":19,"value":235},"Path to the node database file (defaults to ",{"type":13,"tag":28,"props":237,"children":239},{"className":238},[],[240],{"type":19,"value":241},"node.db",{"type":19,"value":75},{"type":13,"tag":119,"props":244,"children":245},{},[246,290,321,354,386,409],{"type":13,"tag":94,"props":247,"children":248},{},[249,258],{"type":13,"tag":126,"props":250,"children":251},{},[252],{"type":13,"tag":28,"props":253,"children":255},{"className":254},[],[256],{"type":19,"value":257},"--miner_key",{"type":13,"tag":126,"props":259,"children":260},{},[261,263,269,271,277,279,288],{"type":19,"value":262},"The secret key that attributes the mining rewards mined by the node to your wallet created using CLI wallet ",{"type":13,"tag":28,"props":264,"children":266},{"className":265},[],[267],{"type":19,"value":268},"export_miner_key",{"type":19,"value":270}," command with ",{"type":13,"tag":28,"props":272,"children":274},{"className":273},[],[275],{"type":19,"value":276},"--subkey=\u003Cminer id>",{"type":19,"value":278}," ",{"type":13,"tag":280,"props":281,"children":285},"a",{"href":282,"rel":283},"https://beamx.gitbook.io/cli-guide/#exporting-miner-key",[284],"nofollow",[286],{"type":19,"value":287},"parameter",{"type":19,"value":289},".",{"type":13,"tag":94,"props":291,"children":292},{},[293,302],{"type":13,"tag":126,"props":294,"children":295},{},[296],{"type":13,"tag":28,"props":297,"children":299},{"className":298},[],[300],{"type":19,"value":301},"--owner_key",{"type":13,"tag":126,"props":303,"children":304},{},[305,307,313,320],{"type":19,"value":306},"A secret key that allows the node to monitor mining rewards accumulated by all the mining nodes associated with this key. Created using CLI wallet ",{"type":13,"tag":28,"props":308,"children":310},{"className":309},[],[311],{"type":19,"value":312},"export_owner_key",{"type":13,"tag":280,"props":314,"children":317},{"href":315,"rel":316},"https://beamx.gitbook.io/cli-guide/#exporting-owner-key",[284],[318],{"type":19,"value":319},"command",{"type":19,"value":289},{"type":13,"tag":94,"props":322,"children":323},{},[324,333],{"type":13,"tag":126,"props":325,"children":326},{},[327],{"type":13,"tag":28,"props":328,"children":330},{"className":329},[],[331],{"type":19,"value":332},"--pass",{"type":13,"tag":126,"props":334,"children":335},{},[336,338,344,346,352],{"type":19,"value":337},"The wallet password (both the",{"type":13,"tag":28,"props":339,"children":341},{"className":340},[],[342],{"type":19,"value":343},"miner_key",{"type":19,"value":345},"and ",{"type":13,"tag":28,"props":347,"children":349},{"className":348},[],[350],{"type":19,"value":351},"owner_key",{"type":19,"value":353},"are password protected).",{"type":13,"tag":94,"props":355,"children":356},{},[357,368],{"type":13,"tag":126,"props":358,"children":359},{},[360,362],{"type":19,"value":361},"--",{"type":13,"tag":28,"props":363,"children":365},{"className":364},[],[366],{"type":19,"value":367},"stratum_port",{"type":13,"tag":126,"props":369,"children":370},{},[371,376,378,384],{"type":13,"tag":28,"props":372,"children":374},{"className":373},[],[375],{"type":19,"value":115},{"type":19,"value":377},"on which stratum server will scan for incoming connections. ",{"type":13,"tag":28,"props":379,"children":381},{"className":380},[],[382],{"type":19,"value":383},"Port=0",{"type":19,"value":385},"if the stratum server is disabled.",{"type":13,"tag":94,"props":387,"children":388},{},[389,398],{"type":13,"tag":126,"props":390,"children":391},{},[392],{"type":13,"tag":28,"props":393,"children":395},{"className":394},[],[396],{"type":19,"value":397},"--stratum_secrets_path",{"type":13,"tag":126,"props":399,"children":400},{},[401,407],{"type":13,"tag":28,"props":402,"children":404},{"className":403},[],[405],{"type":19,"value":406},"Path",{"type":19,"value":408},"to the folder containing stratum certificates.",{"type":13,"tag":94,"props":410,"children":411},{},[412,421],{"type":13,"tag":126,"props":413,"children":414},{},[415],{"type":13,"tag":28,"props":416,"children":418},{"className":417},[],[419],{"type":19,"value":420},"--peer",{"type":13,"tag":126,"props":422,"children":423},{},[424],{"type":19,"value":425},"Nodes that are available for connection.",{"type":13,"tag":21,"props":427,"children":429},{"id":428},"cpu-mining-for-beam-is-not-recommended",[430],{"type":19,"value":431},"CPU Mining for Beam is not recommended.",{"type":13,"tag":37,"props":433,"children":434},{},[435],{"type":19,"value":436},"Beam uses an Equihash mining algorithm with (150,5) parameters and a customized data path that is inefficiently mined on CPUs.",{"type":13,"tag":77,"props":438,"children":440},{"id":439},"node-options-continued",[441],{"type":19,"value":442},"Node options (continued)",{"type":19,"value":444},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":13,"tag":86,"props":446,"children":447},{},[448,478],{"type":13,"tag":90,"props":449,"children":450},{},[451],{"type":13,"tag":94,"props":452,"children":453},{},[454,473],{"type":13,"tag":98,"props":455,"children":456},{},[457,463,465,471],{"type":13,"tag":28,"props":458,"children":460},{"className":459},[],[461],{"type":19,"value":462},"-h",{"type":19,"value":464}," (or ",{"type":13,"tag":28,"props":466,"children":468},{"className":467},[],[469],{"type":19,"value":470},"--help",{"type":19,"value":472},")",{"type":13,"tag":98,"props":474,"children":475},{},[476],{"type":19,"value":477},"Prints a list of all available options and commands.",{"type":13,"tag":119,"props":479,"children":480},{},[481,506,523,540,557,574,591,608,625,642,659,676,693,710,727],{"type":13,"tag":94,"props":482,"children":483},{},[484,501],{"type":13,"tag":126,"props":485,"children":486},{},[487,493,494,500],{"type":13,"tag":28,"props":488,"children":490},{"className":489},[],[491],{"type":19,"value":492},"-v",{"type":19,"value":464},{"type":13,"tag":28,"props":495,"children":497},{"className":496},[],[498],{"type":19,"value":499},"--version",{"type":19,"value":472},{"type":13,"tag":126,"props":502,"children":503},{},[504],{"type":19,"value":505},"Prints latest project version.",{"type":13,"tag":94,"props":507,"children":508},{},[509,518],{"type":13,"tag":126,"props":510,"children":511},{},[512],{"type":13,"tag":28,"props":513,"children":515},{"className":514},[],[516],{"type":19,"value":517},"--git_commit_hash",{"type":13,"tag":126,"props":519,"children":520},{},[521],{"type":19,"value":522},"Prints git commit hash value.",{"type":13,"tag":94,"props":524,"children":525},{},[526,535],{"type":13,"tag":126,"props":527,"children":528},{},[529],{"type":13,"tag":28,"props":530,"children":532},{"className":531},[],[533],{"type":19,"value":534},"--fast_sync",{"type":13,"tag":126,"props":536,"children":537},{},[538],{"type":19,"value":539},"Fast sync on/off (override horizons)",{"type":13,"tag":94,"props":541,"children":542},{},[543,552],{"type":13,"tag":126,"props":544,"children":545},{},[546],{"type":13,"tag":28,"props":547,"children":549},{"className":548},[],[550],{"type":19,"value":551},"--print_txo",{"type":13,"tag":126,"props":553,"children":554},{},[555],{"type":19,"value":556},"Print TXO movements (create/spend) recognized by the owner key.",{"type":13,"tag":94,"props":558,"children":559},{},[560,569],{"type":13,"tag":126,"props":561,"children":562},{},[563],{"type":13,"tag":28,"props":564,"children":566},{"className":565},[],[567],{"type":19,"value":568},"--peers_persistent",{"type":13,"tag":126,"props":570,"children":571},{},[572],{"type":19,"value":573},"Keep a persistent connection to the specified peers, regardless of ratings",{"type":13,"tag":94,"props":575,"children":576},{},[577,586],{"type":13,"tag":126,"props":578,"children":579},{},[580],{"type":13,"tag":28,"props":581,"children":583},{"className":582},[],[584],{"type":19,"value":585},"--mining_threads",{"type":13,"tag":126,"props":587,"children":588},{},[589],{"type":19,"value":590},"a number of mining threads(there is no mining if 0). It works if FakePoW is enabled",{"type":13,"tag":94,"props":592,"children":593},{},[594,603],{"type":13,"tag":126,"props":595,"children":596},{},[597],{"type":13,"tag":28,"props":598,"children":600},{"className":599},[],[601],{"type":19,"value":602},"--pow_solve_time",{"type":13,"tag":126,"props":604,"children":605},{},[606],{"type":19,"value":607},"pow solve time. It works if FakePoW is enabled",{"type":13,"tag":94,"props":609,"children":610},{},[611,620],{"type":13,"tag":126,"props":612,"children":613},{},[614],{"type":13,"tag":28,"props":615,"children":617},{"className":616},[],[618],{"type":19,"value":619},"--verification_threads",{"type":13,"tag":126,"props":621,"children":622},{},[623],{"type":19,"value":624},"number of threads for cryptographic verifications (0 = single thread, -1 = auto)",{"type":13,"tag":94,"props":626,"children":627},{},[628,637],{"type":13,"tag":126,"props":629,"children":630},{},[631],{"type":13,"tag":28,"props":632,"children":634},{"className":633},[],[635],{"type":19,"value":636},"--history_dir",{"type":13,"tag":126,"props":638,"children":639},{},[640],{"type":19,"value":641},"Path to the folder where compressed (cut-through) history files are stored. Defaults to the same folder.",{"type":13,"tag":94,"props":643,"children":644},{},[645,654],{"type":13,"tag":126,"props":646,"children":647},{},[648],{"type":13,"tag":28,"props":649,"children":651},{"className":650},[],[652],{"type":19,"value":653},"--temp_dir",{"type":13,"tag":126,"props":655,"children":656},{},[657],{"type":19,"value":658},"Path to temp folder for compressed history files. Must be on the same volume as history_dir",{"type":13,"tag":94,"props":660,"children":661},{},[662,671],{"type":13,"tag":126,"props":663,"children":664},{},[665],{"type":13,"tag":28,"props":666,"children":668},{"className":667},[],[669],{"type":19,"value":670},"--stratum_use_tls",{"type":13,"tag":126,"props":672,"children":673},{},[674],{"type":19,"value":675},"Enable TLS on stratum server",{"type":13,"tag":94,"props":677,"children":678},{},[679,688],{"type":13,"tag":126,"props":680,"children":681},{},[682],{"type":13,"tag":28,"props":683,"children":685},{"className":684},[],[686],{"type":19,"value":687},"--nonceprefix_digits",{"type":13,"tag":126,"props":689,"children":690},{},[691],{"type":19,"value":692},"number of hex digits for nonce prefix for stratum client (0..6)",{"type":13,"tag":94,"props":694,"children":695},{},[696,705],{"type":13,"tag":126,"props":697,"children":698},{},[699],{"type":13,"tag":28,"props":700,"children":702},{"className":701},[],[703],{"type":19,"value":704},"--generate_recovery",{"type":13,"tag":126,"props":706,"children":707},{},[708],{"type":19,"value":709},"Recovery file to generate immediately after the start",{"type":13,"tag":94,"props":711,"children":712},{},[713,722],{"type":13,"tag":126,"props":714,"children":715},{},[716],{"type":13,"tag":28,"props":717,"children":719},{"className":718},[],[720],{"type":19,"value":721},"--recovery_auto_path",{"type":13,"tag":126,"props":723,"children":724},{},[725],{"type":19,"value":726},"Path and file prefix for recovery auto-generation",{"type":13,"tag":94,"props":728,"children":729},{},[730,739],{"type":13,"tag":126,"props":731,"children":732},{},[733],{"type":13,"tag":28,"props":734,"children":736},{"className":735},[],[737],{"type":19,"value":738},"--recovery_auto_period",{"type":13,"tag":126,"props":740,"children":741},{},[742],{"type":19,"value":743},"Period (in blocks) for recovery auto-generation",{"type":13,"tag":37,"props":745,"children":746},{},[747],{"type":19,"value":748},"Make running your local node in fast sync mode easier with the following command:",{"type":13,"tag":750,"props":751,"children":753},"pre",{"code":752},"./beam-node --port=10000 --peer=eu-nodes.mainnet.beam.mw:8100,us-nodes.mainnet.beam.mw:8100 --fast_sync=on\n",[754],{"type":13,"tag":28,"props":755,"children":756},{"__ignoreMap":7},[757],{"type":19,"value":752},{"type":13,"tag":37,"props":759,"children":760},{},[761],{"type":13,"tag":762,"props":763,"children":765},"img",{"alt":7,"src":764},".gitbook/assets/image%20(2).png",[],{"title":7,"searchDepth":767,"depth":767,"links":768},2,[769,771,772],{"id":79,"depth":770,"text":82},3,{"id":195,"depth":770,"text":198},{"id":439,"depth":770,"text":442},"markdown","docs:docs:node:node-settings.md","docs","docs/node/node-settings.md","md",1777630710778]