Node Settings

Commands entered via Command-line do not override the settings of your beam-node.cfg file.

The beam-node.cfg file loads all the settings not dictated by the Command-line. To revert to the original settings of yourbeam-node.cfgfile, manually restart your Beam node.

Users can adjust and configure node settings via the Command Line or by editing thebeam-node.cfg file (located in the node_folder).

Node settings (parameters)

--port (or -p)Port to start the server on.
--log_levelLog level [info|debug|verbose].
--file_log_levelFile log level [info|debug|verbose].
--log_cleanup_daysOld logfiles cleanup period (measured in days).

Node options (parameters)

Node options can be plugged directly into thebeam-node.cfgfile or enter them via the command line.

--storagePath to the node database file (defaults to node.db).
--miner_keyThe secret key that attributes the mining rewards mined by the node to your wallet created using CLI wallet export_miner_key command with --subkey=<miner id> parameter.
--owner_keyA secret key that allows the node to monitor mining rewards accumulated by all the mining nodes associated with this key. Created using CLI wallet export_owner_keycommand.
--passThe wallet password (both theminer_keyand owner_keyare password protected).
--stratum_portPorton which stratum server will scan for incoming connections. Port=0if the stratum server is disabled.
--stratum_secrets_pathPathto the folder containing stratum certificates.
--peerNodes that are available for connection.

Beam uses an Equihash mining algorithm with (150,5) parameters and a customized data path that is inefficiently mined on CPUs.

Node options (continued)

-h (or --help)Prints a list of all available options and commands.
-v (or --version)Prints latest project version.
--git_commit_hashPrints git commit hash value.
--fast_syncFast sync on/off (override horizons)
--print_txoPrint TXO movements (create/spend) recognized by the owner key.
--peers_persistentKeep a persistent connection to the specified peers, regardless of ratings
--mining_threadsa number of mining threads(there is no mining if 0). It works if FakePoW is enabled
--pow_solve_timepow solve time. It works if FakePoW is enabled
--verification_threadsnumber of threads for cryptographic verifications (0 = single thread, -1 = auto)
--history_dirPath to the folder where compressed (cut-through) history files are stored. Defaults to the same folder.
--temp_dirPath to temp folder for compressed history files. Must be on the same volume as history_dir
--stratum_use_tlsEnable TLS on stratum server
--nonceprefix_digitsnumber of hex digits for nonce prefix for stratum client (0..6)
--generate_recoveryRecovery file to generate immediately after the start
--recovery_auto_pathPath and file prefix for recovery auto-generation
--recovery_auto_periodPeriod (in blocks) for recovery auto-generation

Make running your local node in fast sync mode easier with the following command:

./beam-node --port=10000 --peer=eu-nodes.mainnet.beam.mw:8100,us-nodes.mainnet.beam.mw:8100 --fast_sync=on