[{"data":1,"prerenderedAt":473},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fnode\u002Fnode-settings":3,"docs-surround-\u002Fdocs\u002Fnode\u002Fnode-settings":462},{"id":4,"title":5,"body":6,"description":440,"extension":454,"image":455,"meta":456,"navTitle":455,"navigation":457,"path":458,"seo":459,"stem":460,"__hash__":461},"docs\u002Fdocs\u002Fnode\u002Fnode-settings.md","Node Settings",{"type":7,"value":8,"toc":447},"minimark",[9,13,23,33,43,48,112,116,122,243,247,250,254,428,431,441],[10,11,5],"h1",{"id":12},"node-settings",[14,15,17,18,22],"h4",{"id":16},"commands-entered-via-command-line-do-not-override-the-settings-of-your-beam-nodecfg-file","Commands entered via Command-line do not override the settings of your ",[19,20,21],"code",{},"beam-node.cfg"," file.",[24,25,26,27,29,30,32],"p",{},"The ",[19,28,21],{}," file loads all the settings not dictated by the Command-line. To revert to the original settings of your",[19,31,21],{},"file, manually restart your Beam node.",[24,34,35,36,38,39,42],{},"Users can adjust and configure node settings via the Command Line or by editing the",[19,37,21],{}," file (located in the ",[19,40,41],{},"node_folder",").",[44,45,47],"h3",{"id":46},"node-settings-parameters","Node settings (parameters)",[49,50,51,69],"table",{},[52,53,54],"thead",{},[55,56,57,63],"tr",{},[58,59,60],"th",{},[19,61,62],{},"--port (or -p)",[58,64,65,68],{},[19,66,67],{},"Port"," to start the server on.",[70,71,72,86,98],"tbody",{},[55,73,74,80],{},[75,76,77],"td",{},[19,78,79],{},"--log_level",[75,81,82,83],{},"Log level ",[19,84,85],{},"[info|debug|verbose].",[55,87,88,93],{},[75,89,90],{},[19,91,92],{},"--file_log_level",[75,94,95,96],{},"File log level ",[19,97,85],{},[55,99,100,105],{},[75,101,102],{},[19,103,104],{},"--log_cleanup_days",[75,106,107,108,111],{},"Old ",[19,109,110],{},"logfiles"," cleanup period (measured in days).",[44,113,115],{"id":114},"node-options-parameters","Node options (parameters)",[24,117,118,119,121],{},"Node options can be plugged directly into the",[19,120,21],{},"file or enter them via the command line.",[49,123,124,139],{},[52,125,126],{},[55,127,128,133],{},[58,129,130],{},[19,131,132],{},"--storage",[58,134,135,136,42],{},"Path to the node database file (defaults to ",[19,137,138],{},"node.db",[70,140,141,167,185,203,220,233],{},[55,142,143,148],{},[75,144,145],{},[19,146,147],{},"--miner_key",[75,149,150,151,154,155,158,159,166],{},"The secret key that attributes the mining rewards mined by the node to your wallet created using CLI wallet ",[19,152,153],{},"export_miner_key"," command with ",[19,156,157],{},"--subkey=\u003Cminer id>"," ",[160,161,165],"a",{"href":162,"rel":163},"https:\u002F\u002Fbeamx.gitbook.io\u002Fcli-guide\u002F#exporting-miner-key",[164],"nofollow","parameter",".",[55,168,169,174],{},[75,170,171],{},[19,172,173],{},"--owner_key",[75,175,176,177,180,166],{},"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 ",[19,178,179],{},"export_owner_key",[160,181,184],{"href":182,"rel":183},"https:\u002F\u002Fbeamx.gitbook.io\u002Fcli-guide\u002F#exporting-owner-key",[164],"command",[55,186,187,192],{},[75,188,189],{},[19,190,191],{},"--pass",[75,193,194,195,198,199,202],{},"The wallet password (both the",[19,196,197],{},"miner_key","and ",[19,200,201],{},"owner_key","are password protected).",[55,204,205,211],{},[75,206,207,208],{},"--",[19,209,210],{},"stratum_port",[75,212,213,215,216,219],{},[19,214,67],{},"on which stratum server will scan for incoming connections. ",[19,217,218],{},"Port=0","if the stratum server is disabled.",[55,221,222,227],{},[75,223,224],{},[19,225,226],{},"--stratum_secrets_path",[75,228,229,232],{},[19,230,231],{},"Path","to the folder containing stratum certificates.",[55,234,235,240],{},[75,236,237],{},[19,238,239],{},"--peer",[75,241,242],{},"Nodes that are available for connection.",[14,244,246],{"id":245},"cpu-mining-for-beam-is-not-recommended","CPU Mining for Beam is not recommended.",[24,248,249],{},"Beam uses an Equihash mining algorithm with (150,5) parameters and a customized data path that is inefficiently mined on CPUs.",[44,251,253],{"id":252},"node-options-continued","Node options (continued)",[49,255,256,273],{},[52,257,258],{},[55,259,260,270],{},[58,261,262,265,266,269],{},[19,263,264],{},"-h"," (or ",[19,267,268],{},"--help",")",[58,271,272],{},"Prints a list of all available options and commands.",[70,274,275,288,298,308,318,328,338,348,358,368,378,388,398,408,418],{},[55,276,277,285],{},[75,278,279,265,282,269],{},[19,280,281],{},"-v",[19,283,284],{},"--version",[75,286,287],{},"Prints latest project version.",[55,289,290,295],{},[75,291,292],{},[19,293,294],{},"--git_commit_hash",[75,296,297],{},"Prints git commit hash value.",[55,299,300,305],{},[75,301,302],{},[19,303,304],{},"--fast_sync",[75,306,307],{},"Fast sync on\u002Foff (override horizons)",[55,309,310,315],{},[75,311,312],{},[19,313,314],{},"--print_txo",[75,316,317],{},"Print TXO movements (create\u002Fspend) recognized by the owner key.",[55,319,320,325],{},[75,321,322],{},[19,323,324],{},"--peers_persistent",[75,326,327],{},"Keep a persistent connection to the specified peers, regardless of ratings",[55,329,330,335],{},[75,331,332],{},[19,333,334],{},"--mining_threads",[75,336,337],{},"a number of mining threads(there is no mining if 0). It works if FakePoW is enabled",[55,339,340,345],{},[75,341,342],{},[19,343,344],{},"--pow_solve_time",[75,346,347],{},"pow solve time. It works if FakePoW is enabled",[55,349,350,355],{},[75,351,352],{},[19,353,354],{},"--verification_threads",[75,356,357],{},"number of threads for cryptographic verifications (0 = single thread, -1 = auto)",[55,359,360,365],{},[75,361,362],{},[19,363,364],{},"--history_dir",[75,366,367],{},"Path to the folder where compressed (cut-through) history files are stored. Defaults to the same folder.",[55,369,370,375],{},[75,371,372],{},[19,373,374],{},"--temp_dir",[75,376,377],{},"Path to temp folder for compressed history files. Must be on the same volume as history_dir",[55,379,380,385],{},[75,381,382],{},[19,383,384],{},"--stratum_use_tls",[75,386,387],{},"Enable TLS on stratum server",[55,389,390,395],{},[75,391,392],{},[19,393,394],{},"--nonceprefix_digits",[75,396,397],{},"number of hex digits for nonce prefix for stratum client (0..6)",[55,399,400,405],{},[75,401,402],{},[19,403,404],{},"--generate_recovery",[75,406,407],{},"Recovery file to generate immediately after the start",[55,409,410,415],{},[75,411,412],{},[19,413,414],{},"--recovery_auto_path",[75,416,417],{},"Path and file prefix for recovery auto-generation",[55,419,420,425],{},[75,421,422],{},[19,423,424],{},"--recovery_auto_period",[75,426,427],{},"Period (in blocks) for recovery auto-generation",[24,429,430],{},"Make running your local node in fast sync mode easier with the following command:",[432,433,438],"pre",{"className":434,"code":436,"language":437},[435],"language-text",".\u002Fbeam-node --port=10000 --peer=eu-nodes.mainnet.beam.mw:8100,us-nodes.mainnet.beam.mw:8100 --fast_sync=on\n","text",[19,439,436],{"__ignoreMap":440},"",[24,442,443],{},[444,445],"img",{"alt":440,"src":446},".gitbook\u002Fassets\u002Fimage%20(2).png",{"title":440,"searchDepth":448,"depth":448,"links":449},2,[450,452,453],{"id":46,"depth":451,"text":47},3,{"id":114,"depth":451,"text":115},{"id":252,"depth":451,"text":253},"md",null,{},true,"\u002Fdocs\u002Fnode\u002Fnode-settings",{"title":5,"description":440},"docs\u002Fnode\u002Fnode-settings","UdKHL0HEmRH8e6_bfd5pEeJpmrT1qKantck9IAj0xjg",[463,468],{"title":464,"path":465,"stem":466,"description":467,"children":-1},"Mining Mode","\u002Fdocs\u002Fnode\u002Fmining-mode","docs\u002Fnode\u002Fmining-mode","The Beam Node supports External Miner via Stratum Server API for mining Beam: The Beam Node provides built-in support for Stratum API integration with multiple external mining clients to a single node.\nStratum clients can be run together with the internal Miner. For more detailed information, and how-to mine Beam, please see our Beam Mining guide.",{"title":469,"path":470,"stem":471,"description":472,"children":-1},"Operations with Node Database","\u002Fdocs\u002Fnode\u002Foperations-with-node-database","docs\u002Fnode\u002Foperations-with-node-database","Command-line options to run with Beam Node databse.",1783006041627]