Skip to main content
Version: 2.3.0

Configuration

Nethermind is highly configurable. There are 3 ways of configuring it, listed by priority:

note

Given the above priority list, an option defined in a more priority way overrides the same option defined elsewhere if any.

The full list of configuration options can be displayed by running:

nethermind -h

Below is the list of the basic command line options followed by an exhaustive list of configuration options by namespace.

warning

The configuration options are case-sensitive and can be defined only once unless stated otherwise.

Basic command line options​

  • -c, --config <value>​

    The path to the configuration file or the file name (also without extension) of any of the configuration files in the configuration files directory. Defaults to mainnet.

    Available configurations

    Nethermind provides the following pre-built configurations named as the networks they are for. Their respective versions for archive nodes are suffixed _archive.

    • chiado chiado_archive
    • energyweb energyweb_archive
    • gnosis gnosis_archive
    • hoodi hoodi_archive
    • linea-mainnet linea-mainnet_archive
    • linea-sepolia linea-sepolia_archive
    • mainnet mainnet_archive
    • op-mainnet op-mainnet_archive
    • op-sepolia op-sepolia_archive
    • sepolia sepolia_archive
    • taiko-alethia
    • taiko-hekla
    • volta volta_archive
    • worldchain-mainnet worldchain-mainnet_archive
    • worldchain-sepolia worldchain-sepolia_archive

    Alternatively, the configuration file can also be set by the NETHERMIND_CONFIG environment variable.

  • --configs-dir <path>​

    The path to the configuration files directory. Defaults to configs.
    Deprecates --configsDirectory -cd.

    note

    This option is ignored if the -c, --config option is set to a path:

    # Ignored for
    -c ./mainnet.json
    -c path/to/mainnet.json
    # Respected for
    -c mainnet
    -c mainnet.json
  • --data-dir <path>​

    The path to the Nethermind data directory. Defaults to Nethermind's current directory.
    Deprecates --datadir -dd.

    warning

    The absolute paths set by Init.BaseDbPath, Init.LogDirectory, or KeyStore.KeyStoreDirectory options in a configuration file are not overridden by --data-dir.

  • --db-dir <path>​

    The path to the Nethermind database directory. Defaults to db.
    Deprecates --baseDbPath -d.

  • --force-resync​

    Deletes all database files except peer and discovery data, forcing a full resync on startup.

  • -?, -h, --help​

    Shows the full list of available command line options.

  • -l, --log <level>​

    Log level (severity). Allowed values: off trace debug info warn error. Defaults to info.

  • --logger-config <path>​

    The path to the logging configuration file. Defaults to NLog.config.
    Deprecates --loggerConfigSource -lcs.

  • --plugins-dir <path>​

    The path to the Nethermind plugins directory. Defaults to plugins.
    Deprecates --pluginsDirectory -pd.

  • --purge-db​

    Deletes the entire database directory, including peer and discovery data.

  • --version​

    Shows the Nethermind version information.

Options by namespaces​

Aura​

  • Aura.AllowAuRaPrivateChains​

    --aura-allowauraprivatechains [true|false]
    --Aura.AllowAuRaPrivateChains [true|false]

    Whether to allow private Aura-based chains only. Do not use with existing Aura-based chains. Allowed values: true false. Defaults to false.

  • Aura.ForceSealing​

    --aura-forcesealing [true|false]
    --Aura.ForceSealing [true|false]

    Whether to seal empty blocks if mining. Allowed values: true false. Defaults to true.

  • Aura.Minimum2MlnGasPerBlockWhenUsingBlockGasLimitContract​

    --aura-minimum2mlngasperblockwhenusingblockgaslimitcontract [true|false]
    --Aura.Minimum2MlnGasPerBlockWhenUsingBlockGasLimitContract [true|false]

    Whether to use 2M gas if the contract returns less than that when using BlockGasLimitContractTransitions. Allowed values: true false. Defaults to false.

  • Aura.TxPriorityConfigFilePath​

    --aura-txpriorityconfigfilepath <value>
    --Aura.TxPriorityConfigFilePath <value>

    The path to the transaction priority rules file to use when selecting transactions from the transaction pool. Defaults to null.

  • Aura.TxPriorityContractAddress​

    --aura-txprioritycontractaddress <value>
    --Aura.TxPriorityContractAddress <value>

    The address of the transaction priority contract to use when selecting transactions from the transaction pool. Defaults to null.

BalRecorder​

  • BalRecorder.Path​

    --balrecorder-path <value>
    --BalRecorder.Path <value>

    Directory (relative to BaseDbPath) used to store recorded block access list era files. Defaults to recordedBal.

  • BalRecorder.RecordingEnabled​

    --balrecorder-recordingenabled [true|false]
    --BalRecorder.RecordingEnabled [true|false]

    Whether to record block access lists to disk after block processing. Allowed values: true false. Defaults to false.

  • BalRecorder.ReplayEnabled​

    --balrecorder-replayenabled [true|false]
    --BalRecorder.ReplayEnabled [true|false]

    Whether to replay recorded block access lists during block processing. Allowed values: true false. Defaults to false.

BeaconApi​

  • BeaconApi.Enabled​

    --beaconapi-enabled [true|false]
    --BeaconApi.Enabled [true|false]

    Whether to serve the Beacon API (REST/SSE) surface. Requires BeaconChain.Enabled. Allowed values: true false. Defaults to false.

  • BeaconApi.Host​

    --beaconapi-host <value>
    --BeaconApi.Host <value>

    The host the Beacon API Kestrel listener binds to. Loopback listeners accept only loopback IP or localhost Host headers and same-origin browser requests. Defaults to "127.0.0.1".

  • BeaconApi.MaxConcurrentStateRequests​

    --beaconapi-maxconcurrentstaterequests <value>
    --BeaconApi.MaxConcurrentStateRequests <value>

    The maximum concurrent Beacon API state requests in each of three independent pools: block/envelope/blob and debug/fork_choice responses, state downloads (/eth/v2/debug/beacon/states and the registry-sized /eth/v1/beacon/states routes validators, validator_balances, validator_identities, committees and sync_committees, plus non-head validators/{validator_id}, pending_deposits, pending_partial_withdrawals, pending_consolidations and proposer_lookahead) and other /eth/v1/beacon/states queries, which exclude root and fork. Each pool refuses excess requests with 503 without queuing; per-client limits return 429. Defaults to 2.

  • BeaconApi.MaxConcurrentStateRequestsPerClient​

    --beaconapi-maxconcurrentstaterequestsperclient <value>
    --BeaconApi.MaxConcurrentStateRequestsPerClient <value>

    The maximum number of requests in each independent pool (as counted by MaxConcurrentStateRequests) one client address may have in flight at once; an IPv6 client is counted by its /64 prefix, and loopback is limited like any other address. Raise it for tooling or a proxy that fronts several clients from one address. Requests beyond it are refused with 429. Must be at least 1. Defaults to 1.

  • BeaconApi.Port​

    --beaconapi-port <value>
    --BeaconApi.Port <value>

    The port the Beacon API listens on. Defaults to 5052.

  • BeaconApi.StateDownloadsPerMinutePerClient​

    --beaconapi-statedownloadsperminuteperclient <value>
    --BeaconApi.StateDownloadsPerMinutePerClient <value>

    The maximum number of downloads (as counted by MaxConcurrentStateRequests) per minute from one client address (an IPv6 client is counted by its /64 prefix). Requests beyond it are refused with 429. 0 disables the limit. Defaults to 30.

  • BeaconApi.StateQueriesPerMinutePerClient​

    --beaconapi-statequeriesperminuteperclient <value>
    --BeaconApi.StateQueriesPerMinutePerClient <value>

    The maximum number of /eth/v1/beacon/states queries other than downloads, root and fork (as counted by MaxConcurrentStateRequests) per minute from one client address (an IPv6 client is counted by its /64 prefix). Requests beyond it are refused with 429. 0 disables the limit. Defaults to 600.

  • BeaconApi.StateResponseIdleTimeoutSeconds​

    --beaconapi-stateresponseidletimeoutseconds <value>
    --BeaconApi.StateResponseIdleTimeoutSeconds <value>

    The maximum idle time in seconds between response writes. POST requests are also bounded from admission through their first write. GET preparation is bounded by StateResponseTimeoutSeconds. HTTP/1.x responses additionally require 64 KiB/s after a ten-second grace period. Expiry aborts the request and releases its permits. Must be between 1 and 4294967 and large enough for one 64 KiB chunk at the total timeout's minimum throughput. Defaults to 120.

  • BeaconApi.StateResponseTimeoutSeconds​

    --beaconapi-stateresponsetimeoutseconds <value>
    --BeaconApi.StateResponseTimeoutSeconds <value>

    The most time, in seconds, one limited request may take in total, however steadily its response is written. When it passes, the response is aborted and the request's permits are released. Set it generously: a slow but steady download of a large state must finish inside it. Must be between 1 and 4294967. Defaults to 3600.

BeaconChain​

  • BeaconChain.Bootnodes​

    --beaconchain-bootnodes <value>
    --BeaconChain.Bootnodes <value>

    Comma-separated beacon chain bootnode ENRs. When empty, the built-in bootnodes of the network selected via the execution layer's chain id are used. Defaults to null.

  • BeaconChain.CheckpointStateFile​

    --beaconchain-checkpointstatefile <value>
    --BeaconChain.CheckpointStateFile <value>

    A local SSZ-encoded beacon state file to bootstrap from. Requires a sibling block file with the extension replaced by .block.ssz. For a state advanced beyond its block, also requires the block's post-state in a sibling file with the extension replaced by .post-state.ssz. Defaults to null.

  • BeaconChain.CheckpointSyncUrl​

    --beaconchain-checkpointsyncurl <value>
    --BeaconChain.CheckpointSyncUrl <value>

    The beacon API URL to checkpoint-sync the finalized beacon state and block from. When unset, defaults to a provider for the network selected via the execution layer's chain id. Defaults to null.

  • BeaconChain.CustodyGroupCount​

    --beaconchain-custodygroupcount <value>
    --BeaconChain.CustodyGroupCount <value>

    Number of PeerDAS custody groups, from 4 to 128. Use at least 64 to reconstruct blobs for the Beacon API, or 128 to serve all columns. Default: 4 groups. Defaults to 4.

  • BeaconChain.DisableOnExternalCl​

    --beaconchain-disableonexternalcl [true|false]
    --BeaconChain.DisableOnExternalCl [true|false]

    A successful external engine progression call disables the embedded driver until process restart, including a transient caller. Whether to permanently disable the embedded driver when an external consensus client calls the engine API. Allowed values: true false. Defaults to true.

  • BeaconChain.Discv5Port​

    --beaconchain-discv5port <value>
    --BeaconChain.Discv5Port <value>

    The UDP port for the beacon chain discv5 discovery. Defaults to 9060.

  • BeaconChain.EnableFastConfirmation​

    --beaconchain-enablefastconfirmation [true|false]
    --BeaconChain.EnableFastConfirmation [true|false]

    Use the Fast Confirmation Rule for the execution layer's safe block tag, as required by consensus-specs v1.7.0-beta.4. Assumes slot synchrony and at most 25% Byzantine stake; falls back to finalized when confirmation conditions fail. Enabled by default; when disabled, safe follows the justified checkpoint. Does not change finalized. Allowed values: true false. Defaults to true.

  • BeaconChain.Enabled​

    --beaconchain-enabled [true|false]
    --BeaconChain.Enabled [true|false]

    Whether to enable the embedded beacon chain consensus driver. Supports Mainnet, Sepolia, Hoodi, Gnosis and Chiado, selected by the execution layer's configured network, without an external consensus client. Allowed values: true false. Defaults to false.

  • BeaconChain.FaultDisconnectsBeforeBan​

    --beaconchain-faultdisconnectsbeforeban <value>
    --BeaconChain.FaultDisconnectsBeforeBan <value>

    Recent fault disconnects from the same peer id before it is added to the in-memory ban list, which then refuses every further dial or reconnection attempt for that id regardless of the address it is next seen at. Defaults to 3.

  • BeaconChain.GloasForkVersion​

    --beaconchain-gloasforkversion <value>
    --BeaconChain.GloasForkVersion <value>

    The Gloas fork version, as 4 bytes of hex (for example 0x90000076), for a network whose chainspec schedules Amsterdam before this release knows its published Gloas version. The Gloas epoch always follows the Amsterdam timestamp of the chainspec (see Init.ChainSpecPath). Must differ from every earlier fork version of the network. When unset, the published version is used. Defaults to null.

  • BeaconChain.GossipMaxPendingValidationBytes​

    --beaconchain-gossipmaxpendingvalidationbytes <value>
    --BeaconChain.GossipMaxPendingValidationBytes <value>

    The most bytes of gossip messages that may await a validation verdict at once, the messages of one received RPC aside. A message received past it is not validated, forwarded or charged to its sender. Must be at least 1. Defaults to 16777216.

  • BeaconChain.GossipMaxPendingValidations​

    --beaconchain-gossipmaxpendingvalidations <value>
    --BeaconChain.GossipMaxPendingValidations <value>

    The most gossip messages that may await a validation verdict at once. A message received past it is not validated, forwarded or charged to its sender, so a later copy can still be. Must be at least 1. Defaults to 128.

  • BeaconChain.MaxConcurrentOutboundDials​

    --beaconchain-maxconcurrentoutbounddials <value>
    --BeaconChain.MaxConcurrentOutboundDials <value>

    The max number of outbound dials the peer manager will have in flight at once, static and discovered peers combined. Defaults to 8.

  • BeaconChain.MaxPeerCount​

    --beaconchain-maxpeercount <value>
    --BeaconChain.MaxPeerCount <value>

    The high watermark. Above this many connected peers, the peer manager trims the worst peers back down to this many. Defaults to 80.

  • BeaconChain.MinPeerCount​

    --beaconchain-minpeercount <value>
    --BeaconChain.MinPeerCount <value>

    The low watermark: below this many connected peers the node is under-peered, and the peer manager runs its maintenance round (static-peer reconnect, health checks) on a shorter cadence. Candidate discovery pacing is still BeaconDiscovery's own concern, not this config's. Defaults to 20.

  • BeaconChain.P2PPort​

    --beaconchain-p2pport <value>
    --BeaconChain.P2PPort <value>

    The TCP port for the beacon chain libp2p host. Defaults to 9060.

  • BeaconChain.PeerBanMinutes​

    --beaconchain-peerbanminutes <value>
    --BeaconChain.PeerBanMinutes <value>

    How long, in minutes, a banned peer id is refused before it may connect again. Fault history expires after this duration without another fault. Defaults to 30.

  • BeaconChain.StaticPeers​

    --beaconchain-staticpeers <value>
    --BeaconChain.StaticPeers <value>

    Comma-separated static beacon chain peer multiaddrs to keep persistent connections to. Each multiaddr must name an /ip4 or /ip6 address, or a /dns, /dns4 or /dns6 TCP endpoint, and include the /p2p/<peer-id> component. Defaults to null.

  • BeaconChain.TargetPeerCount​

    --beaconchain-targetpeercount <value>
    --BeaconChain.TargetPeerCount <value>

    The target number of beacon chain peers. Defaults to 50.

  • BeaconChain.WeakSubjectivityCheckpoint​

    --beaconchain-weaksubjectivitycheckpoint <value>
    --BeaconChain.WeakSubjectivityCheckpoint <value>

    An independently trusted weak subjectivity checkpoint as block_root:epoch_number, for example 0x8584188b86a9296932785cc2827b925f9deebacce6d72ad8d53171fa046b43d9:9544. Checkpoint sync fails unless its anchor block is this checkpoint's block at the start of the epoch, so supply the checkpoint's state with CheckpointStateFile or a source serving it as finalized; a proven checkpoint stays accepted for the same database, and any other fails startup. When unset, checkpoint sync trusts the configured checkpoint source, or the default provider for the network when CheckpointSyncUrl is also unset. Defaults to null.

Blocks​

  • Blocks.BlockProcessingTimeoutMs​

    --blocks-blockprocessingtimeoutms <value>
    --Blocks.BlockProcessingTimeoutMs <value>

    The longest a single block may take to process, in milliseconds. It is checked between transactions and as the next block starts, so a single long transaction or the final commit can run past it. A block that runs out of time is abandoned without being marked invalid, and each retry of it gets twice the time, up to 16 times this value. 0 or a negative value disables it. Defaults to 180000.

  • Blocks.BlockProductionBlobLimit​

    --blocks-blockproductionbloblimit <value>
    --Blocks.BlockProductionBlobLimit <value>

    The max blob count after which the block producer should stop adding blobs. Minimum value is 0. Defaults to null.

  • Blocks.BlockProductionMaxTxKilobytes​

    --blocks-blockproductionmaxtxkilobytes <value>
    --Blocks.BlockProductionMaxTxKilobytes <value>

    The max transaction bytes to add in block production, in kilobytes. Defaults to 7936.

  • Blocks.BlockProductionTimeoutMs​

    --blocks-blockproductiontimeoutms <value>
    --Blocks.BlockProductionTimeoutMs <value>

    The block production timeout, in milliseconds. Defaults to 4000.

  • Blocks.ExtraData​

    --blocks-extradata <value>
    --Blocks.ExtraData <value>

    The block header extra data up to 32 bytes in length. Defaults to Nethermind.

  • Blocks.GenesisTimeoutMs​

    --blocks-genesistimeoutms <value>
    --Blocks.GenesisTimeoutMs <value>

    The genesis block load timeout, in milliseconds. Defaults to 40000.

  • Blocks.MinGasPrice​

    --blocks-mingasprice <value>
    --Blocks.MinGasPrice <value>

    The minimum gas premium (or the gas price before the London hard fork) for transactions accepted by the block producer. Defaults to 1.

  • Blocks.ParallelExecution​

    --blocks-parallelexecution [true|false]
    --Blocks.ParallelExecution [true|false]

    Parallelize transaction execution when Block Level Access Lists are available. Experimental Amsterdam/BAL path; disabling falls back to sequential execution and the option is ignored for blocks without BAL bodies. Allowed values: true false. Defaults to true.

  • Blocks.ParallelExecutionBatchRead​

    --blocks-parallelexecutionbatchread [true|false]
    --Blocks.ParallelExecutionBatchRead [true|false]

    Use parallel state reads when Block Level Access Lists are available. Experimental Amsterdam/BAL path; disabling falls back to sequential reads and the option is ignored for blocks without BAL bodies. Allowed values: true false. Defaults to true.

  • Blocks.PreWarming​

    --blocks-prewarming <value>
    --Blocks.PreWarming <value>

    State pre-warming level while processing blocks: None, Block (warm the block's own transactions), or BlockAndMempool (also speculatively warm from the mempool between blocks).

    Allowed values:

    • None
    • Block
    • BlockAndMempool

    Defaults to BlockAndMempool.

  • Blocks.RandomizedBlocks​

    --blocks-randomizedblocks [true|false]
    --Blocks.RandomizedBlocks [true|false]

    Whether to change the difficulty of the block randomly within the constraints. Used in NethDev only. Allowed values: true false. Defaults to false.

  • Blocks.SecondsPerSlot​

    --blocks-secondsperslot <value>
    --Blocks.SecondsPerSlot <value>

    The block time slot, in seconds. Defaults to 12.

  • Blocks.SlowBlockPerTxThresholdMs​

    --blocks-slowblockpertxthresholdms <value>
    --Blocks.SlowBlockPerTxThresholdMs <value>

    The per-transaction threshold in milliseconds for detailed transaction-level logging within slow blocks. Transactions slower than this value are included individually in the slow block JSON log. Set to 0 to log all transactions. Set to -1 to disable per-transaction logging. Defaults to -1.

  • Blocks.SlowBlockThresholdMs​

    --blocks-slowblockthresholdms <value>
    --Blocks.SlowBlockThresholdMs <value>

    The threshold in milliseconds for logging slow block diagnostics. Blocks processed slower than this value are logged with detailed JSON metrics. Set to 0 to log all blocks. Set to -1 to disable slow block logging entirely. Defaults to -1.

  • Blocks.TargetBlockGasLimit​

    --blocks-targetblockgaslimit <value>
    --Blocks.TargetBlockGasLimit <value>

    The block gas limit that the block producer should try to reach in the fastest possible way based on the protocol rules. If not specified, then the block producer should follow others. Defaults to null.

CensorshipDetector​

  • CensorshipDetector.AddressesForCensorshipDetection​

    --censorshipdetector-addressesforcensorshipdetection <value>
    --CensorshipDetector.AddressesForCensorshipDetection <value>

    The addresses to detect censorship for. Defaults to null.

  • CensorshipDetector.BlockCensorshipThreshold​

    --censorshipdetector-blockcensorshipthreshold <value>
    --CensorshipDetector.BlockCensorshipThreshold <value>

    The number of the consecutive blocks with detected potential censorship to report. Defaults to 2.

  • CensorshipDetector.Enabled​

    --censorshipdetector-enabled [true|false]
    --CensorshipDetector.Enabled [true|false]

    Whether to enable censorship detection. Allowed values: true false. Defaults to false.

Clique​

Era​

  • Era.ExportDirectory​

    --era-exportdirectory <value>
    --Era.ExportDirectory <value>

    Directory of archive export. Defaults to null.

  • Era.From​

    --era-from <value>
    --Era.From <value>

    Block number to import/export from. Defaults to 0.

  • Era.ImportDirectory​

    --era-importdirectory <value>
    --Era.ImportDirectory <value>

    Directory of era1 archives to be imported. Defaults to null.

  • Era.To​

    --era-to <value>
    --Era.To <value>

    Block number to import/export to. Defaults to 0.

  • Era.TrustedAccumulatorFile​

    --era-trustedaccumulatorfile <value>
    --Era.TrustedAccumulatorFile <value>

    Accumulator file to be used for trusting era files. Defaults to null.

EraE​

  • EraE.BeaconNodeUrl​

    --erae-beaconnodeurl <value>
    --EraE.BeaconNodeUrl <value>

    Beacon node URL for fetching beacon block roots and state roots during post-merge EraE export. When set, enables BeaconApiRootsProvider and HistoricalSummariesRpcProvider. Defaults to null.

  • EraE.ExportDirectory​

    --erae-exportdirectory <value>
    --EraE.ExportDirectory <value>

    Directory for EraE archive export. Defaults to null.

  • EraE.From​

    --erae-from <value>
    --EraE.From <value>

    Block number to import/export from. Defaults to 0.

  • EraE.ImportDirectory​

    --erae-importdirectory <value>
    --EraE.ImportDirectory <value>

    Directory of EraE archives to be imported. Defaults to null.

  • EraE.RemoteBaseUrl​

    --erae-remotebaseurl <value>
    --EraE.RemoteBaseUrl <value>

    Base URL of a remote EraE archive server (e.g. https://data.ethpandaops.io/erae/\{network}/). When set, missing local epoch files are downloaded on demand. Defaults to null.

  • EraE.RemoteDownloadDirectory​

    --erae-remotedownloaddirectory <value>
    --EraE.RemoteDownloadDirectory <value>

    Local directory where remotely downloaded EraE files are cached. Defaults to ImportDirectory when null. Defaults to null.

  • EraE.To​

    --erae-to <value>
    --EraE.To <value>

    Block number to import/export to. 0 means head. Defaults to 0.

  • EraE.TrustedAccumulatorFile​

    --erae-trustedaccumulatorfile <value>
    --EraE.TrustedAccumulatorFile <value>

    Accumulator file for trusting EraE archives. Defaults to null.

EthStats​

  • EthStats.Contact​

    --ethstats-contact <value>
    --EthStats.Contact <value>

    The node owner contact details displayed on Ethstats. Defaults to hello@nethermind.io.

  • EthStats.Enabled​

    --ethstats-enabled [true|false]
    --EthStats.Enabled [true|false]

    Whether to use Ethstats publishing. Allowed values: true false. Defaults to false.

  • EthStats.Name​

    --ethstats-name <value>
    --EthStats.Name <value>

    The node name displayed on Ethstats. Defaults to Nethermind.

  • EthStats.Secret​

    --ethstats-secret <value>
    --EthStats.Secret <value>

    The Ethstats secret. Defaults to secret.

  • EthStats.SendInterval​

    --ethstats-sendinterval <value>
    --EthStats.SendInterval <value>

    The stats update interval, in seconds. Defaults to 15.

  • EthStats.Server​

    --ethstats-server <value>
    --EthStats.Server <value>

    The Ethstats server URL. Defaults to ws://localhost:3000/api.

Flashbots​

  • Flashbots.EnablePreWarmer​

    --flashbots-enableprewarmer [true|false]
    --Flashbots.EnablePreWarmer [true|false]

    Whether to enable the pre-warmer. Allowed values: true false. Defaults to true.

  • Flashbots.EnableValidation​

    --flashbots-enablevalidation [true|false]
    --Flashbots.EnableValidation [true|false]

    Whether to validate the submitted block against its execution (state root, receipts root, gas used, logs bloom). When disabled, a block whose header does not match the execution outcome is still reported as valid. Allowed values: true false. Defaults to true.

  • Flashbots.Enabled​

    --flashbots-enabled [true|false]
    --Flashbots.Enabled [true|false]

    Whether to enable the Flashbots endpoints. Allowed values: true false. Defaults to false.

  • Flashbots.ExcludeWithdrawals​

    --flashbots-excludewithdrawals [true|false]
    --Flashbots.ExcludeWithdrawals [true|false]

    Whether to exclude the withdrawals to the fee recipient from the balance difference. Allowed values: true false. Defaults to false.

  • Flashbots.FlashbotsModuleConcurrentInstances​

    --flashbots-flashbotsmoduleconcurrentinstances <value>
    --Flashbots.FlashbotsModuleConcurrentInstances <value>

    The number of concurrent instances for non-sharable calls for flashbots_validateBuilderSubmissionV3 This limits the load on the CPU and I/O to reasonable levels. If the limit is exceeded, HTTP 503 is returned along with the JSON-RPC error. Defaults to the number of logical processors.

  • Flashbots.UseBalanceDiffProfit​

    --flashbots-usebalancediffprofit [true|false]
    --Flashbots.UseBalanceDiffProfit [true|false]

    Whether to calculate the proposer payment as a balance difference of the fee recipient. Allowed values: true false. Defaults to false.

FlatDb​

  • FlatDb.ApplyStorageWritesOnIdleThread​

    --flatdb-applystoragewritesonidlethread [true|false]
    --FlatDb.ApplyStorageWritesOnIdleThread [true|false]

    Apply committed storage writes to the storage tries on an idle-priority thread during execution. Ignored with VerifyWithTrie. Allowed values: true false. Defaults to true.

  • FlatDb.ArchiveProofBuildEnabled​

    --flatdb-archiveproofbuildenabled [true|false]
    --FlatDb.ArchiveProofBuildEnabled [true|false]

    Emit the archive proof commitments: from the tip as blocks are captured, and, with FlatDb.HistoryVerifyEveryBlock, along the every-block walk that retrofits an already-synced archive. A node syncing from genesis needs only the tip capture. Allowed values: true false. Defaults to false.

  • FlatDb.ArchiveProofCheckpointIntervalLog2​

    --flatdb-archiveproofcheckpointintervallog2 <value>
    --FlatDb.ArchiveProofCheckpointIntervalLog2 <value>

    Checkpoint interval for the archive proof commitments, as a power of two blocks, the same at every trie depth. Smaller means faster cold proofs and more disk. Accepted range 6..12. Changing it invalidates commitments already built. 0 uses the built-in default of 2^9. Defaults to 0.

  • FlatDb.ArchiveProofDiscardMismatchedLayout​

    --flatdb-archiveproofdiscardmismatchedlayout [true|false]
    --FlatDb.ArchiveProofDiscardMismatchedLayout [true|false]

    Delete the archive proof commitment columns and rebuild them when they were written under a different layout than this node is configured for (another checkpoint interval, or an older release). Off refuses to build and keeps the rows; on discards rows nothing can read any more. Nothing is deleted while the layout matches, so it is harmless to leave on. Allowed values: true false. Defaults to false.

  • FlatDb.ArchiveProofEpochLog2​

    --flatdb-archiveproofepochlog2 <value>
    --FlatDb.ArchiveProofEpochLog2 <value>

    Epoch of the archive proof commitment rows, as a power of two blocks. Rows are keyed by epoch so a whole epoch can be dropped in one range delete; every epoch starts with a snapshot of the account tiers and the storage roots. Must be at least the checkpoint interval; 0 uses 19 (about 2.5 months of blocks). Changing it invalidates commitments already built. Defaults to 0.

  • FlatDb.ArchiveProofFanOut​

    --flatdb-archiveprooffanout <value>
    --FlatDb.ArchiveProofFanOut <value>

    Concurrent child resolutions inside a single historical proof. Each of a node's 16 children is an independent read, so this is the per-request fan-out; 0 uses the processor count. The number of concurrent proofs is capped by the JSON-RPC module pool, not here. Defaults to 8.

  • FlatDb.ArchiveProofFineEpochs​

    --flatdb-archiveprooffineepochs <value>
    --FlatDb.ArchiveProofFineEpochs <value>

    Number of most recent commitment epochs to keep the per-block rows for. Older epochs keep only their checkpoint rows: proofs there are still served and still verified, rebuilt from the window rows, which costs about a second instead of a hundred milliseconds and is most of the column's size. 0 keeps the per-block rows for every epoch. Defaults to 0.

  • FlatDb.ArchiveProofMaxScannedRows​

    --flatdb-archiveproofmaxscannedrows <value>
    --FlatDb.ArchiveProofMaxScannedRows <value>

    History rows one historical proof may read before it is refused. A proof that has to scan beyond this is resolving from raw history rather than from commitments, which means the commitment column does not really cover that height. 0 uses the built-in ceiling of 250000 rows. Defaults to 0.

  • FlatDb.ArchiveProofRecentEpochs​

    --flatdb-archiveproofrecentepochs <value>
    --FlatDb.ArchiveProofRecentEpochs <value>

    Number of most recent commitment epochs to keep. Older epochs are deleted and historical proofs below them are refused; 0 keeps every epoch (a full archive). Defaults to 0.

  • FlatDb.ArchiveProofServeEnabled​

    --flatdb-archiveproofserveenabled [true|false]
    --FlatDb.ArchiveProofServeEnabled [true|false]

    Serve eth_getProof at heights below the flat state boundary from the archive commitment columns. Requires an unwindowed (v2) flat history whose commitments cover the height; off by default. Allowed values: true false. Defaults to false.

  • FlatDb.ArenaFileSizeBytes​

    --flatdb-arenafilesizebytes <value>
    --FlatDb.ArenaFileSizeBytes <value>

    Maximum size in bytes for a single arena file before a new one is started. Defaults to 1073741824.

  • FlatDb.BlockCacheSizeBudget​

    --flatdb-blockcachesizebudget <value>
    --FlatDb.BlockCacheSizeBudget <value>

    Block cache size budget Defaults to 1073741824.

  • FlatDb.CompactSize​

    --flatdb-compactsize <value>
    --FlatDb.CompactSize <value>

    Compact size Defaults to 32.

  • FlatDb.CompactionOffset​

    --flatdb-compactionoffset <value>
    --FlatDb.CompactionOffset <value>

    Fixed compaction schedule offset in blocks. When 0 or greater, overrides the per-instance offset in the metadata DB, which is neither read nor updated. Only the value modulo CompactSize matters. -1 to use the stored offset, generating a random one when absent. Defaults to -1.

  • FlatDb.CompressedNodeRecordBufferMemoryBudget​

    --flatdb-compressednoderecordbuffermemorybudget <value>
    --FlatDb.CompressedNodeRecordBufferMemoryBudget <value>

    Memory budget, in bytes, for the compacted generations of the trie node buffer; the oldest are freed beyond it. 0 disables compaction, freeing dropped generations at once; it is also disabled while TrieNodeLogEnabled is set. It also sizes the buffer's storage root index. Defaults to 524288000.

  • FlatDb.DeferStorageTrieCommit​

    --flatdb-deferstoragetriecommit [true|false]
    --FlatDb.DeferStorageTrieCommit [true|false]

    Publish the storage trie roots when the block commits, after it is reported valid, as the state trie already does; their nodes are written as each write batch completes either way. false publishes each storage trie's root before the block is reported valid. Allowed values: true false. Defaults to true.

  • FlatDb.DropPruningTrieState​

    --flatdb-droppruningtriestate [true|false]
    --FlatDb.DropPruningTrieState [true|false]

    Delete the patricia-trie state DB on start once the flat DB owns the state, reclaiming its disk space. The kept trie is what a switch back to the patricia backend restarts from, replaying from the conversion block, so this is irreversible: switching back afterwards requires a resync. Allowed values: true false. Defaults to false.

  • FlatDb.EnableCarryForwardCache​

    --flatdb-enablecarryforwardcache [true|false]
    --FlatDb.EnableCarryForwardCache [true|false]

    Cache flat account and slot reads across heads in the persistence layer, so a new head does not re-read the working set from the database. false reads every persistence miss from the database. Allowed values: true false. Defaults to true.

  • FlatDb.EnableLongFinality​

    --flatdb-enablelongfinality [true|false]
    --FlatDb.EnableLongFinality [true|false]

    Enable long finality support with persisted snapshots Allowed values: true false. Defaults to true.

  • FlatDb.Enabled​

    --flatdb-enabled [true|false]
    --FlatDb.Enabled [true|false]

    Whether a fresh state sync uses the flat-state DB backend, and whether ImportFromPruningTrieState is honored. A node that already has a patricia-trie state DB keeps using it regardless of this setting; set to false to sync a fresh node on the patricia-trie backend instead. Allowed values: true false. Defaults to true.

  • FlatDb.HistoryEnabled​

    --flatdb-historyenabled [true|false]
    --FlatDb.HistoryEnabled [true|false]

    Capture finalized per-block account/storage changesets into the history columns for archival queries. Off by default; when off the persist path does no extra work. Allowed values: true false. Defaults to false.

  • FlatDb.HistoryPruneIntervalBlocks​

    --flatdb-historypruneintervalblocks <value>
    --FlatDb.HistoryPruneIntervalBlocks <value>

    How many blocks the watermark must advance before an idle history window pruner wakes and re-evaluates the floor. A pruner still owing sweep work paces itself on its pass budget instead. Only consulted when HistoryRetention is 'Rolling'. Defaults to 1024.

  • FlatDb.HistoryPrunePassBudgetSeconds​

    --flatdb-historyprunepassbudgetseconds <value>
    --FlatDb.HistoryPrunePassBudgetSeconds <value>

    Per-pass wall-clock budget, in seconds, for the history window pruner's incremental scan-and-delete. A pass yields at the budget and resumes from its persisted cursor on the next pass rather than running unbounded. Must exceed the longest historical query the node serves: deletes wait for in-flight historical reads, and a read that outlives every pass blocks reclamation until it finishes. Defaults to 5.

  • FlatDb.HistoryRetention​

    --flatdb-historyretention <value>
    --FlatDb.HistoryRetention <value>

    How flat history is retained. 'None' keeps it unbounded from genesis or the pivot and never prunes it. 'Rolling' keeps a bounded window of the most recent HistoryRetentionBlocks blocks and reclaims below it. 'SinceBlock' keeps everything from HistoryRetentionSinceBlock onward forever and captures nothing below it. Both bounded modes select the windowed row format and so require a database that has never captured history unwindowed.

    Allowed values:

    • None
    • Rolling
    • SinceBlock

    Defaults to None.

  • FlatDb.HistoryRetentionBlocks​

    --flatdb-historyretentionblocks <value>
    --FlatDb.HistoryRetentionBlocks <value>

    Size of the rolling flat-history window, in blocks below the watermark. Required when HistoryRetention is 'Rolling' and rejected otherwise. Defaults to 0.

  • FlatDb.HistoryRetentionSinceBlock​

    --flatdb-historyretentionsinceblock <value>
    --FlatDb.HistoryRetentionSinceBlock <value>

    First block of flat history to keep when HistoryRetention is 'SinceBlock'. History below it is never captured and reads there fail closed; from it onward nothing is ever pruned. Required in that mode and rejected otherwise. Defaults to 0.

  • FlatDb.HistorySliceAddresses​

    --flatdb-historysliceaddresses <value>
    --FlatDb.HistorySliceAddresses <value>

    A comma-separated list of contract addresses to retain unbounded (or far deeper than HistoryRetentionBlocks) flat history for, independent of the general rolling window. Needs the windowed row format (HistoryRetention Rolling or SinceBlock); under SinceBlock only the body and receipt retention described here applies, since flat history there is never pruned. Static allow-list only - an address is never added or removed except by editing this config and restarting. Both the receipts and the whole block body are retained for every block one of these addresses appears in, so those heights keep their transactions queryable and not just their logs. The cost is body disk: a contract busy enough to match most blocks means most of those bodies are kept, and history pruning stops reclaiming body space over that range. An entry with a retention suffix keeps bodies and receipts only while a height is within that many blocks of the head; a cleanup cursor reclaims them after they fall out. An entry without a retention suffix retains forever and pins the whole clears column and the per-block markers (~40 bytes per block the window never reclaims). Answering below a previously pruned boundary requires History.Pruning to stay enabled: the pruner is what validates, at startup, from which depth each slice's logs are provably retained, and without it those reads fail closed. Defaults to null.

  • FlatDb.HistoryTransactionIndexBulkFillEnabled​

    --flatdb-historytransactionindexbulkfillenabled [true|false]
    --FlatDb.HistoryTransactionIndexBulkFillEnabled [true|false]

    Experimental mainnet v2 archive retrofit using one isolated disk-backed replay state. Replaces retrofit workers, not tip following. Requires a nonzero HistoryTransactionIndexRetrofitFromBlock; coverage joins only after the ascending range completes. Allowed values: true false. Defaults to false.

  • FlatDb.HistoryTransactionIndexBulkFillMaxGiB​

    --flatdb-historytransactionindexbulkfillmaxgib <value>
    --FlatDb.HistoryTransactionIndexBulkFillMaxGiB <value>

    Maximum scratch database size in GiB for bulk transaction-index replay. Reaching the limit pauses replay without dropping its checkpoint. Defaults to 1024.

  • FlatDb.HistoryTransactionIndexDutyCyclePercent​

    --flatdb-historytransactionindexdutycyclepercent <value>
    --FlatDb.HistoryTransactionIndexDutyCyclePercent <value>

    Share of its wall clock the transaction index builder may spend working; it sleeps out the rest so that re-executing blocks stays invisible to the RPC the node is serving. 100 lets it run flat out. Defaults to 25.

  • FlatDb.HistoryTransactionIndexEnabled​

    --flatdb-historytransactionindexenabled [true|false]
    --FlatDb.HistoryTransactionIndexEnabled [true|false]

    Index, per transaction, what each transaction of a block wrote, so that a trace of one transaction resolves the state before it instead of replaying the transactions ahead of it. Captured inline while syncing, when the node executes each block anyway, and re-executed in the background behind the history watermark at the tip and for the retrofit; never on the tip's processing path. Pre-Amsterdam only: BAL-enabled blocks are neither indexed nor seeded. Kept in its own column. Off by default; a node that leaves it off pays nothing. Allowed values: true false. Defaults to false.

  • FlatDb.HistoryTransactionIndexRetrofitFromBlock​

    --flatdb-historytransactionindexretrofitfromblock <value>
    --FlatDb.HistoryTransactionIndexRetrofitFromBlock <value>

    Once the transaction index has caught up with the tip, also index backwards down to this block, so an archive that already exists gains coverage without a resync. 0 indexes forward from the moment the index is turned on and nothing older; 1 covers the whole chain, since genesis carries no transactions. Never goes below the flat-history floor. Defaults to 0.

  • FlatDb.HistoryTransactionIndexWorkers​

    --flatdb-historytransactionindexworkers <value>
    --FlatDb.HistoryTransactionIndexWorkers <value>

    Threads re-executing blocks for the backwards retrofit of the transaction index, each on its own block range with its own processing environment. The tip is always followed by one thread regardless. 1 runs the retrofit on that same thread. Each worker holds the state its current 128-block chunk wrote, a few hundred thousand entries on mainnet, so the count is a memory knob as well as a throughput one. Defaults to 1.

  • FlatDb.HistoryVerifyEveryBlock​

    --flatdb-historyverifyeveryblock [true|false]
    --FlatDb.HistoryVerifyEveryBlock [true|false]

    Rebuild the state root from flat history rows at every covered block and compare against this node's own headers, once, in the background. Unwindowed archives only. Memory is bounded by FlatDb.HistoryVerifyMaxRows per worker, not by state size. Allowed values: true false. Defaults to false.

  • FlatDb.HistoryVerifyMaxRows​

    --flatdb-historyverifymaxrows <value>
    --FlatDb.HistoryVerifyMaxRows <value>

    History rows one verification worker holds in memory for the subtree it is replaying. A subtree with more rows is split into its children and a single key with more rows is streamed, so any value works on any archive; larger values mean fewer, bigger subtrees. Sized so that one mainnet depth-2 account subtree fits without splitting; each worker holds about 400 bytes per row plus its replayed trie. 0 uses the built-in default of 5 million. Defaults to 0.

  • FlatDb.HistoryVerifySegments​

    --flatdb-historyverifysegments <value>
    --FlatDb.HistoryVerifySegments <value>

    Concurrent workers of the every-block history verification; the key keeps the name it shipped under, the value is a worker count. Each worker replays one trie subtree at a time from its own contiguous rows, so workers share nothing but the read-only columns; the count changes memory and wall clock, never the result. 0 sizes it from the machine: the processor count minus two cores kept for block processing, capped so the walk takes at most half of the memory and never more than the headroom free when it starts. Defaults to 0.

  • FlatDb.ImportFromPruningTrieState​

    --flatdb-importfrompruningtriestate [true|false]
    --FlatDb.ImportFromPruningTrieState [true|false]

    Import from pruning trie state db. When enabled, the node runs the import and exits instead of starting, as with the import-flat-db command, and fails if there is nothing to import. Remove the setting once the import has finished. Allowed values: true false. Defaults to false.

  • FlatDb.InMemorySnapshotBloomBitsPerKey​

    --flatdb-inmemorysnapshotbloombitsperkey <value>
    --FlatDb.InMemorySnapshotBloomBitsPerKey <value>

    Bits per key for the negative filter over the slots written by the in-memory snapshots. It is built once per read-only snapshot bundle, on the first slot read of read-only execution (eth_call, eth_estimateGas, eth_createAccessList, eth_simulateV1, eth_getProof, debug and trace calls, Flashbots block validation, receipt regeneration and the transaction changeset index), and lets those reads skip the per-snapshot lookups for a slot no in-memory snapshot wrote. Block processing never uses it. Higher = lower false-positive rate but more RAM. 0 disables the filter. Defaults to 14.

  • FlatDb.InlineCompaction​

    --flatdb-inlinecompaction [true|false]
    --FlatDb.InlineCompaction [true|false]

    Inline compaction Allowed values: true false. Defaults to false.

  • FlatDb.Layout​

    --flatdb-layout <value>
    --FlatDb.Layout <value>

    Flat db layout. Auto keeps the layout of an existing flat DB, and creates a new one as FlatInTrie below 16 GB of memory available to .NET (75% of a container's memory limit) and as Flat otherwise.

    Allowed values:

    • Flat
    • FlatInTrie
    • PreimageFlatV1
    • PreimageFlat
    • Auto

    Defaults to Auto.

  • FlatDb.LongFinalityMaxReorgDepth​

    --flatdb-longfinalitymaxreorgdepth <value>
    --FlatDb.LongFinalityMaxReorgDepth <value>

    Force-persist backstop used when EnableLongFinality is on, in place of MaxReorgDepth. The persisted-snapshot tier serves deep reorgs, so this is much larger than the non-long-finality backstop. Defaults to 90000.

  • FlatDb.MaxInFlightCompactJob​

    --flatdb-maxinflightcompactjob <value>
    --FlatDb.MaxInFlightCompactJob <value>

    Max in flight compact job Defaults to 32.

  • FlatDb.MaxInMemoryBaseSnapshotCount​

    --flatdb-maxinmemorybasesnapshotcount <value>
    --FlatDb.MaxInMemoryBaseSnapshotCount <value>

    Maximum number of in-memory base snapshots before conversion to the persisted-snapshot tier kicks in. Counted as SnapshotCount of the in-memory repository, not a block-distance depth. Sized as a ~128 target plus one CompactSize of headroom, since a bulk (CompactSize-wide) conversion drops the in-memory count by up to CompactSize at a boundary — so the tier still retains ~128 base snapshots after each conversion. Defaults to 160.

  • FlatDb.MaxInMemorySnapshotBytes​

    --flatdb-maxinmemorysnapshotbytes <value>
    --FlatDb.MaxInMemorySnapshotBytes <value>

    Byte budget for the in-memory snapshot window. When positive and the estimated in-memory snapshot bytes exceed it, conversion to the persisted-snapshot tier is attempted and persistence is forced even when finality stalls, always leaving at least MinReorgDepth blocks above the persisted base — bounding memory by size rather than block count, so heavy blocks shrink the retained window instead of exhausting memory. Only in-memory snapshots are flushed for byte pressure, so with EnableLongFinality the persisted-snapshot tier is kept and the in-memory window does not shrink below MaxInMemoryBaseSnapshotCount blocks once that tier holds the oldest state. 0 disables. Defaults to 0.

  • FlatDb.MaxReorgDepth​

    --flatdb-maxreorgdepth <value>
    --FlatDb.MaxReorgDepth <value>

    Max reorg depth — the force-persist backstop used when EnableLongFinality is off: once the in-memory depth exceeds it while finality is stalled, persistence is forced to bound memory. Defaults to 256.

  • FlatDb.MigrateFromPruningTrieState​

    --flatdb-migratefrompruningtriestate [true|false]
    --FlatDb.MigrateFromPruningTrieState [true|false]

    Migrate an existing pruning trie state DB to the flat DB while the node runs: the node switches to flat at once, serving what is not copied yet from the trie DB, which it keeps until the copy completes. Supported by the Flat and FlatInTrie layouts. Once started, the migration continues on every restart until it completes, whether or not this is still set. Allowed values: true false. Defaults to false.

  • FlatDb.MigrationChunkNodes​

    --flatdb-migrationchunknodes <value>
    --FlatDb.MigrationChunkNodes <value>

    Number of trie nodes the online migration from the pruning trie state copies per write, between which block processing takes over. Defaults to 1000.

  • FlatDb.MinReorgDepth​

    --flatdb-minreorgdepth <value>
    --FlatDb.MinReorgDepth <value>

    Minimum reorg depth Defaults to 128.

  • FlatDb.OnRepair​

    --flatdb-onrepair <value>
    --FlatDb.OnRepair <value>

    What happens after a RocksDB repair of the flat DB. Resync wipes flat columns (headers, bodies, and receipts are kept) and re-enters state sync. Ignore keeps the repaired DB (escape hatch; may diverge). Ignore acknowledges the repair on the first start, so switching to Resync afterwards has no effect; a resync then requires wiping the flat DB directory. Resync refills state only through snap/state sync (Sync.FastSync with peers that serve it); a node that cannot state-sync, e.g. an archive synced from genesis, is left without state for its head, so set Ignore there or plan a resync from scratch. The flatHistory DB is not wiped: with HistoryEnabled and a windowed HistoryRetention (Rolling or SinceBlock), the resync fails to finish when its pivot falls inside the already-captured history window, so wipe the flatHistory directory too.

    Allowed values:

    • Resync
    • Ignore

    Defaults to Resync.

  • FlatDb.PersistedSnapshotArenaPageCacheBytes​

    --flatdb-persistedsnapshotarenapagecachebytes <value>
    --FlatDb.PersistedSnapshotArenaPageCacheBytes <value>

    Page-cache budget (bytes) for the persisted-snapshot arena. Backs the PageResidencyTracker that drives madvise(DONTNEED) eviction on mmap'd arena files. 0 disables the tracker. Defaults to 4294967296.

  • FlatDb.PersistedSnapshotBloomBitsPerKey​

    --flatdb-persistedsnapshotbloombitsperkey <value>
    --FlatDb.PersistedSnapshotBloomBitsPerKey <value>

    Bits per key for the per-snapshot in-memory bloom filter. One unified filter covers address/slot/self-destruct keys plus state-trie and storage-trie node paths. Higher = lower false-positive rate but more RAM. 0 disables the filter (lookups behave as full sweeps). Defaults to 14.

  • FlatDb.PersistedSnapshotDedicatedArenaThresholdBytes​

    --flatdb-persistedsnapshotdedicatedarenathresholdbytes <value>
    --FlatDb.PersistedSnapshotDedicatedArenaThresholdBytes <value>

    Estimated-size threshold (bytes) at or above which a persisted-snapshot arena write goes to its own dedicated file instead of being packed into a shared arena. Defaults to 1073741824.

  • FlatDb.PersistedSnapshotMaxCompactSize​

    --flatdb-persistedsnapshotmaxcompactsize <value>
    --FlatDb.PersistedSnapshotMaxCompactSize <value>

    Max persisted snapshot compaction size (hierarchical compaction ceiling for persisted layer), in blocks Defaults to 1048576.

  • FlatDb.PersistedSnapshotPunchHoleOnReclaim​

    --flatdb-persistedsnapshotpunchholeonreclaim [true|false]
    --FlatDb.PersistedSnapshotPunchHoleOnReclaim [true|false]

    When reclaiming dead persisted-snapshot arena ranges — metadata reservation cleanup and blob-file frontier reset — call fallocate(FALLOC_FL_PUNCH_HOLE) to free the underlying disk blocks. Linux-only; automatically and permanently disabled per arena pool if the filesystem reports the operation unsupported. Set false to skip hole-punching entirely (the page-cache posix_fadvise still runs). Allowed values: true false. Defaults to true.

  • FlatDb.PersistenceWriteBufferFloor​

    --flatdb-persistencewritebufferfloor <value>
    --FlatDb.PersistenceWriteBufferFloor <value>

    Lower bound, in bytes, for the RocksDB write buffer (memtable) size of the flat-state columns. The per-batch adjuster never shrinks a column's memtable below this value. Raising it lets frequent small persistence batches (small CompactSize) coalesce and deduplicate in the memtable instead of churning L0, decoupling write amplification from CompactSize. Defaults to 16777216.

  • FlatDb.RegenerateCompactionOffset​

    --flatdb-regeneratecompactionoffset [true|false]
    --FlatDb.RegenerateCompactionOffset [true|false]

    Regenerate the per-instance compaction offset on startup instead of loading from metadata DB. Use when restoring one backup to multiple instances. Flag is sticky across restarts — toggle off after first restart. Allowed values: true false. Defaults to false.

  • FlatDb.TrieNodeLogDrainOnShutdown​

    --flatdb-trienodelogdrainonshutdown [true|false]
    --FlatDb.TrieNodeLogDrainOnShutdown [true|false]

    Merge the whole trie node log into RocksDB at shutdown. The log otherwise persists across restarts, keeping its deduplication window; mainly for debugging. Allowed values: true false. Defaults to false.

  • FlatDb.TrieNodeLogEnabled​

    --flatdb-trienodelogenabled [true|false]
    --FlatDb.TrieNodeLogEnabled [true|false]

    Write trie nodes (StateTopNodes, StateNodes and StorageNodes; FallbackNodes stays direct) through an append-only trie node log (with an in-memory index) that is merged into RocksDB one generation at a time, so nodes rewritten within a generation are written to RocksDB once. Experimental: a self-destruct only removes the storage trie nodes already in RocksDB, nodes still in the log are left as unreachable orphans. Allowed values: true false. Defaults to false.

  • FlatDb.TrieNodeLogMaxConcurrentMerges​

    --flatdb-trienodelogmaxconcurrentmerges <value>
    --FlatDb.TrieNodeLogMaxConcurrentMerges <value>

    Maximum number of trie node log generation merges (across all shards) running at the same time; each merge is one RocksDB write batch. Defaults to 2.

  • FlatDb.TrieNodeLogMergeBacklogMargin​

    --flatdb-trienodelogmergebacklogmargin <value>
    --FlatDb.TrieNodeLogMergeBacklogMargin <value>

    Sealed trie node log generations a shard may accumulate beyond TrieNodeLogMergeLag before starting a new generation waits for a merge to finish, which stalls persistence until the merges catch up. Defaults to 2.

  • FlatDb.TrieNodeLogMergeLag​

    --flatdb-trienodelogmergelag <value>
    --FlatDb.TrieNodeLogMergeLag <value>

    Number of sealed trie node log generations kept unmerged behind the newest one. A generation is merged into RocksDB only once this many newer generations are sealed, and keys rewritten in those are skipped, so the effective deduplication window is (1 + this) generations at the cost of that many extra generation files and in-memory indexes. Defaults to 1.

  • FlatDb.TrieNodeLogSecondLevelMergeLag​

    --flatdb-trienodelogsecondlevelmergelag <value>
    --FlatDb.TrieNodeLogSecondLevelMergeLag <value>

    TrieNodeLogMergeLag of the second-level trie node log, or -1 to disable it. Each merged trie node log generation is copied, deduplicated, into the second-level log instead of RocksDB; it has the same size and backlog settings as the first, an in-memory index of 1/16 of its size for both partitions, and merges its own generations into RocksDB once this many newer ones are sealed. The surviving nodes are less likely to be rewritten, and the log's index answers their reads faster than RocksDB. Defaults to 1.

  • FlatDb.TrieNodeLogStateBytes​

    --flatdb-trienodelogstatebytes <value>
    --FlatDb.TrieNodeLogStateBytes <value>

    Byte budget of the state partition of the trie node log (StateTopNodes and StateNodes), split evenly over its shards: each shard's generation, i.e. its deduplication window before it is merged into RocksDB, is this divided by the partition's shard count. Each live generation also keeps an in-memory index of 1/64 of its size (1/32 for the storage partition). Defaults to 524288000.

  • FlatDb.TrieNodeLogStateShardCount​

    --flatdb-trienodelogstateshardcount <value>
    --FlatDb.TrieNodeLogStateShardCount <value>

    Number of shards of the state partition of the trie node log, a power of two. Nodes are sharded by the first byte of their column key (the first path nibbles for state nodes, the first byte of the address hash for storage nodes); shards are appended to and merged in parallel. Defaults to 2.

  • FlatDb.TrieNodeLogStorageBytes​

    --flatdb-trienodelogstoragebytes <value>
    --FlatDb.TrieNodeLogStorageBytes <value>

    Byte budget of the storage partition of the trie node log (StorageNodes), split evenly over its shards like TrieNodeLogStateBytes. Defaults to 524288000.

  • FlatDb.TrieNodeLogStorageShardCount​

    --flatdb-trienodelogstorageshardcount <value>
    --FlatDb.TrieNodeLogStorageShardCount <value>

    Number of shards of the storage partition of the trie node log, a power of two. Defaults to 2.

  • FlatDb.TrieWarmerWorkerCount​

    --flatdb-triewarmerworkercount <value>
    --FlatDb.TrieWarmerWorkerCount <value>

    Trie warmer worker count (-1 for the larger of 3/4 of the processor count and 1.5 per processor up to 12, 0 to disable) Defaults to -1.

  • FlatDb.ValidatePersistedSnapshot​

    --flatdb-validatepersistedsnapshot [true|false]
    --FlatDb.ValidatePersistedSnapshot [true|false]

    Validate persisted snapshots against in-memory snapshots after conversion (debug/diagnostic only) Allowed values: true false. Defaults to false.

  • FlatDb.VerifyWithTrie​

    --flatdb-verifywithtrie [true|false]
    --FlatDb.VerifyWithTrie [true|false]

    Verify with trie Allowed values: true false. Defaults to false.

  • FlatDb.WarmReadConcurrency​

    --flatdb-warmreadconcurrency <value>
    --FlatDb.WarmReadConcurrency <value>

    Persistent dedicated reader threads used to resolve hinted BAL read sets into the pre-block cache. -1 for 4x logical processor count capped at 64. Values below 1 are clamped to 1. Use --Blocks.ParallelExecutionBatchRead=false to disable BAL warming entirely. Defaults to -1.

HealthChecks​

  • HealthChecks.Enabled​

    --healthchecks-enabled [true|false]
    --HealthChecks.Enabled [true|false]

    Whether to enable the health check. Allowed values: true false. Defaults to false.

  • HealthChecks.LowStorageCheckAwaitOnStartup​

    --healthchecks-lowstoragecheckawaitonstartup [true|false]
    --HealthChecks.LowStorageCheckAwaitOnStartup [true|false]

    Whether to check for low disk space on startup and suspend until enough space is available. Allowed values: true false. Defaults to false.

  • HealthChecks.LowStorageSpaceShutdownThreshold​

    --healthchecks-lowstoragespaceshutdownthreshold <value>
    --HealthChecks.LowStorageSpaceShutdownThreshold <value>

    The percentage of available disk space below which Nethermind shuts down. 0 to disable. Defaults to 1.

  • HealthChecks.LowStorageSpaceWarningThreshold​

    --healthchecks-lowstoragespacewarningthreshold <value>
    --HealthChecks.LowStorageSpaceWarningThreshold <value>

    The percentage of available disk space below which a warning is displayed. 0 to disable. Defaults to 5.

  • HealthChecks.MaxIntervalClRequestTime​

    --healthchecks-maxintervalclrequesttime <value>
    --HealthChecks.MaxIntervalClRequestTime <value>

    The max request interval, in seconds, in which the consensus client is assumed healthy. Defaults to 300.

  • HealthChecks.MaxIntervalWithoutProcessedBlock​

    --healthchecks-maxintervalwithoutprocessedblock <value>
    --HealthChecks.MaxIntervalWithoutProcessedBlock <value>

    The max interval, in seconds, in which the block processing is assumed healthy. Defaults to null.

  • HealthChecks.MaxIntervalWithoutProducedBlock​

    --healthchecks-maxintervalwithoutproducedblock <value>
    --HealthChecks.MaxIntervalWithoutProducedBlock <value>

    The max interval, in seconds, in which the block production is assumed healthy. Defaults to null.

  • HealthChecks.PollingInterval​

    --healthchecks-pollinginterval <value>
    --HealthChecks.PollingInterval <value>

    The health check updates polling interval, in seconds. Defaults to 5.

  • HealthChecks.Slug​

    --healthchecks-slug <value>
    --HealthChecks.Slug <value>

    The URL slug the health checks service is exposed at. Defaults to /health.

  • HealthChecks.UIEnabled​

    --healthchecks-uienabled [true|false]
    --HealthChecks.UIEnabled [true|false]

    Whether to enable the health checks UI. Allowed values: true false. Defaults to false.

  • HealthChecks.WebhooksEnabled​

    --healthchecks-webhooksenabled [true|false]
    --HealthChecks.WebhooksEnabled [true|false]

    Whether to enable web hooks. Allowed values: true false. Defaults to false.

  • HealthChecks.WebhooksPayload​

    --healthchecks-webhookspayload <value>
    --HealthChecks.WebhooksPayload <value>

    An escaped JSON payload to be sent to the web hook on failure. Defaults to:

    {
    "attachments": [
    {
    "color": "#FFCC00",
    "pretext": "Health Check Status :warning:",
    "fields": [
    {
    "title": "Details",
    "value": "More details available at /healthchecks-ui",
    "short": false
    },
    {
    "title": "Description",
    "value": "[[DESCRIPTIONS]]",
    "short": false
    }
    ]
    }
    ]
    }
  • HealthChecks.WebhooksRestorePayload​

    --healthchecks-webhooksrestorepayload <value>
    --HealthChecks.WebhooksRestorePayload <value>

    An escaped JSON payload to be sent to the web hook on recovery. Defaults to:

    {
    "attachments": [
    {
    "color": "#36a64f",
    "pretext": "Health Check Status :+1:",
    "fields": [
    {
    "title": "Details",
    "value": "More details available at /healthchecks-ui",
    "short": false
    },
    {
    "title": "description",
    "value": "The HealthCheck `[[LIVENESS]]` is recovered. Everything is up and running.",
    "short": false
    }
    ]
    }
    ]
    }
  • HealthChecks.WebhooksUri​

    --healthchecks-webhooksuri <value>
    --HealthChecks.WebhooksUri <value>

    The web hook URL. Defaults to null.

History​

  • History.BalRetentionEpochs​

    --history-balretentionepochs <value>
    --History.BalRetentionEpochs <value>

    The number of epochs to retain block access lists (BALs). Must be at least the chain's minBalRetentionEpochs chainspec parameter. Defaults to that minimum, including on archive nodes. Set to 4294967295 to keep all BALs when history pruning is disabled. Defaults to null.

  • History.CompactBlocksOnPrune​

    --history-compactblocksonprune [true|false]
    --History.CompactBlocksOnPrune [true|false]

    Whether to run a store-wide compaction of the blocks database after pruning reclaims history up to the ancient bodies barrier, reclaiming stale RocksDB blob files that pruning alone leaves behind. Applies only to 'UseAncientBarriers' pruning and is ignored under 'Rolling', whose advancing cutoff would owe a new compaction on every pass. Expensive: heavy I/O that can take hours on a large database, so it runs once per barrier and again only after a raised barrier reclaims more history. It rewrites every retained body, and RocksDB deletes an old blob file only after all files that reference it are rewritten, so the compaction can temporarily need free disk space close to the size of the retained bodies. Only history reclaimed by this version or later arms it: a database whose pruning finished on an earlier version is not compacted. Most effective when history slices ('HistorySliceAddresses') retain scattered bodies across the pruned range, leaving partially-referenced blob files a plain compaction cannot reclaim; under a plain contiguous prune the reclamation is marginal. Allowed values: true false. Defaults to false.

  • History.Pruning​

    --history-pruning <value>
    --History.Pruning <value>

    Pruning mode.

    Allowed values:

    • Disabled: No history pruning.
    • Rolling: Prune outside of rolling window.
    • UseAncientBarriers: Prune up to ancient barriers.

    Defaults to Disabled.

  • History.PruningInterval​

    --history-pruninginterval <value>
    --History.PruningInterval <value>

    Number of epochs to wait between each history pruning. Defaults to 8.

  • History.PruningTimeoutSeconds​

    --history-pruningtimeoutseconds <value>
    --History.PruningTimeoutSeconds <value>

    Maximum time in seconds allowed for a single history pruning pass. Set to 0 to disable the timeout. Defaults to 2.

  • History.RetentionEpochs​

    --history-retentionepochs <value>
    --History.RetentionEpochs <value>

    The number of epochs to retain historical blocks and receipts when using 'Rolling' pruning mode. Must be at least the chain's minHistoryRetentionEpochs chainspec parameter, which is the default: 33024 on Mainnet, 14299 on Sepolia. Defaults to null.

Hive​

  • Hive.BlocksDir​

    --hive-blocksdir <value>
    --Hive.BlocksDir <value>

    The path to the directory with additional blocks. Defaults to /blocks.

  • Hive.ChainFile​

    --hive-chainfile <value>
    --Hive.ChainFile <value>

    The path to the chain definition should be specified as an RLP-encoded block sequence. Defaults to /chain.rlp.

  • Hive.Enabled​

    --hive-enabled [true|false]
    --Hive.Enabled [true|false]

    Whether to enable Hive for debugging. Allowed values: true false. Defaults to false.

  • Hive.GenesisFilePath​

    --hive-genesisfilepath <value>
    --Hive.GenesisFilePath <value>

    The path to the genesis block file. Defaults to /genesis.json.

  • Hive.KeysDir​

    --hive-keysdir <value>
    --Hive.KeysDir <value>

    The path to the keystore directory. Defaults to /keys.

Init​

  • Init.AutoDump​

    --init-autodump <value>
    --Init.AutoDump <value>

    Auto-dump on bad blocks for diagnostics.

    Allowed values:

    • None: None.
    • Receipts: Dumps block receipts traces.
    • Parity: Dumps Parity-like traces.
    • Geth: Dumps Geth-like traces.
    • Rlp: Dumps RLP data to a .rlp file with the block hash in the file name.
    • RlpLog: Dumps RLP data to the log output.
    • Default: Combines the Receipts Rlp options.
    • All: Combines the Geth Parity Receipts Rlp options.

    Defaults to Default.

  • Init.BadBlocksStored​

    --init-badblocksstored <value>
    --Init.BadBlocksStored <value>

    The maximum number of bad blocks observed on the network that will be stored on disk. Defaults to 100.

  • Init.BaseDbPath​

    --init-basedbpath <value>
    --Init.BaseDbPath <value>

    The base path for all Nethermind databases. Defaults to db.

  • Init.ChainSpecPath​

    --init-chainspecpath <value>
    --Init.ChainSpecPath <value>

    The path to the chain spec file. Defaults to chainspec/foundation.json.

  • Init.DiagnosticMode​

    --init-diagnosticmode <value>
    --Init.DiagnosticMode <value>

    The diagnostic mode.

    Allowed values:

    • None: None.
    • MemDb: Uses an in-memory DB.
    • RpcDb: Uses a remote DB.
    • ReadOnlyDb: Uses a read-only DB.
    • VerifyRewards: Scans rewards for blocks and genesis.
    • VerifySupply: Scans and sums supply on all accounts.
    • VerifyTrie: Verifies if full state trie is stored, then exits. Equivalent to the verify-trie command.

    Defaults to None.

  • Init.DiscoveryEnabled​

    --init-discoveryenabled [true|false]
    --Init.DiscoveryEnabled [true|false]

    Whether to enable the node discovery. If disabled, Nethermind doesn't look for other nodes beyond the bootnodes specified. Allowed values: true false. Defaults to true.

  • Init.EnableUnsecuredDevWallet​

    --init-enableunsecureddevwallet [true|false]
    --Init.EnableUnsecuredDevWallet [true|false]

    Whether to enable the in-app wallet/keystore. Allowed values: true false. Defaults to false.

  • Init.GenesisHash​

    --init-genesishash <value>
    --Init.GenesisHash <value>

    The hash of the genesis block. If not specified, the genesis block validity is not checked which is useful in the case of ad hoc test/private networks. Defaults to null.

  • Init.KeepDevWalletInMemory​

    --init-keepdevwalletinmemory [true|false]
    --Init.KeepDevWalletInMemory [true|false]

    Whether to create session-only accounts and delete them on shutdown. Allowed values: true false. Defaults to false.

  • Init.KzgSetupPath​

    --init-kzgsetuppath <value>
    --Init.KzgSetupPath <value>

    The path to KZG trusted setup file. Defaults to null.

  • Init.LogDirectory​

    --init-logdirectory <value>
    --Init.LogDirectory <value>

    The path to the Nethermind logs directory. Defaults to logs.

  • Init.LogFileName​

    --init-logfilename <value>
    --Init.LogFileName <value>

    The name of the log file. Defaults to log.txt.

  • Init.LogRules​

    --init-logrules <value>
    --Init.LogRules <value>

    The logs format as LogPath:LogLevel;* Defaults to null.

  • Init.MaskIpsInLogs​

    --init-maskipsinlogs [true|false]
    --Init.MaskIpsInLogs [true|false]

    Whether to mask IP addresses, enode URLs and ENR records in logs. Loopback and unspecified addresses are not masked. Allowed values: true false. Defaults to false.

  • Init.MaskSensitiveData​

    --init-masksensitivedata [true|false]
    --Init.MaskSensitiveData [true|false]

    Whether to mask :hide fields in interpolated logs and marked configuration values in startup diagnostics. Allowed values: true false. Defaults to false.

  • Init.PeerManagerEnabled​

    --init-peermanagerenabled [true|false]
    --Init.PeerManagerEnabled [true|false]

    Whether to start the peer manager. If disabled, Nethermind doesn't initiate connections to any peers, including static and trusted nodes, Network.StaticPeers, and peers added via admin_addPeer, and doesn't persist peers to the peer database. Allowed values: true false. Defaults to true.

  • Init.PipelineWarmupEnabled​

    --init-pipelinewarmupenabled [true|false]
    --Init.PipelineWarmupEnabled [true|false]

    Whether to warm the block processing pipeline before RPC and Engine API startup. Cancellation is requested after 30 seconds, then startup waits for cleanup. Skipped when JSON-RPC is disabled, without the standard Merge plugin, or with custom spec providers, custom processing pipelines, or database diagnostic modes. Allowed values: true false. Defaults to true.

  • Init.ProcessingEnabled​

    --init-processingenabled [true|false]
    --Init.ProcessingEnabled [true|false]

    Whether to download/process new blocks. Allowed values: true false. Defaults to true.

  • Init.RpcDbUrl​

    --init-rpcdburl <value>
    --Init.RpcDbUrl <value>

    The URL of the remote node used as a database source when DiagnosticMode is set to RpcDb.

  • Init.StaticNodesPath​

    --init-staticnodespath <value>
    --Init.StaticNodesPath <value>

    The path to the static nodes file. Defaults to static-nodes.json.

  • Init.TrustedNodesPath​

    --init-trustednodespath <value>
    --Init.TrustedNodesPath <value>

    The path to the trusted nodes file. Defaults to trusted-nodes.json.

  • Init.WebSocketsEnabled​

    --init-websocketsenabled [true|false]
    --Init.WebSocketsEnabled [true|false]

    Whether to enable WebSocket service for the default JSON-RPC port on startup. Allowed values: true false. Defaults to true.

JsonRpc​

  • JsonRpc.AdditionalRpcUrls​

    --jsonrpc-additionalrpcurls <value>
    --JsonRpc.AdditionalRpcUrls <value>

    An array of additional JSON-RPC URLs to listen at with protocol and JSON-RPC namespace list. For instance, [http://localhost:8546|http;ws|eth;web3]. Defaults to [].

  • JsonRpc.AdditionalTrustedNetworks​

    --jsonrpc-additionaltrustednetworks <value>
    --JsonRpc.AdditionalTrustedNetworks <value>

    Additional CIDR networks treated as trusted local sources for the JSON-RPC fast lane. Loopback and RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) are always trusted. Invalid entries are logged and ignored. Defaults to [].

  • JsonRpc.AllowedHosts​

    --jsonrpc-allowedhosts <value>
    --JsonRpc.AllowedHosts <value>

    The Host header values the JSON-RPC server accepts on URLs without authentication, as host names without a port, for example localhost or *.example.com. Matching ignores the port and case. Requests with other host names get HTTP 403. Requests with an IP address or without a Host header are always accepted. * accepts all hosts. To stop web pages from calling the server, also limit CorsOrigins. Defaults to *.

  • JsonRpc.BatchProcessingConcurrency​

    --jsonrpc-batchprocessingconcurrency <value>
    --JsonRpc.BatchProcessingConcurrency <value>

    The number of consecutive eth_call, eth_estimateGas and eth_createAccessList requests of one batch that execute at a time, capped at JsonRpc.EthModuleConcurrentInstances. debug_traceCall and debug_traceTransaction with a native tracer join them while the batch window (this number, capped at JsonRpc.EthModuleConcurrentInstances and the batch length) is at most JsonRpc.DebugModuleConcurrentInstances, and trace_transaction joins them while the window is at most JsonRpc.TraceModuleConcurrentInstances and JsonRpc.EnableTracingStreamMode is off. Responses keep the request order, and any other request in the batch waits for the ones before it and executes alone. Set to 1 to execute batch requests one by one. Defaults to 4.

  • JsonRpc.BufferResponses​

    --jsonrpc-bufferresponses [true|false]
    --JsonRpc.BufferResponses [true|false]

    Whether to buffer responses before sending them. This allows using of Content-Length instead of Transfer-Encoding: chunked. Note that it may degrade performance on large responses. The max buffered response length is 2GB. Chunked responses can be larger. Allowed values: true false. Defaults to false.

  • JsonRpc.CallsFilterFilePath​

    --jsonrpc-callsfilterfilepath <value>
    --JsonRpc.CallsFilterFilePath <value>

    The path to a file with the list of new-line-separated JSON-RPC calls. If specified, only the calls from that file are allowed. Defaults to Data/jsonrpc.filter.

  • JsonRpc.CorsOrigins​

    --jsonrpc-corsorigins <value>
    --JsonRpc.CorsOrigins <value>

    The JSON-RPC server CORS origins. Also limits WebSocket connections: a handshake with an Origin header not in this list is refused with HTTP 403; handshakes without an Origin header are accepted. Defaults to *.

  • JsonRpc.DebugModuleConcurrentInstances​

    --jsonrpc-debugmoduleconcurrentinstances <value>
    --JsonRpc.DebugModuleConcurrentInstances <value>

    The number of concurrent instances of the Debug RPC module (debug_trace*, debug_getRawBlock, etc.). Calls beyond this cap return LimitExceeded. Defaults to the number of logical processors capped at 16.

  • JsonRpc.EnableEthSignTransaction​

    --jsonrpc-enableethsigntransaction [true|false]
    --JsonRpc.EnableEthSignTransaction [true|false]

    Whether to enable eth_signTransaction. Disabled by default; enable only on nodes that explicitly manage unlocked accounts. Allowed values: true false. Defaults to false.

  • JsonRpc.EnableLogsStreamMode​

    --jsonrpc-enablelogsstreammode [true|false]
    --JsonRpc.EnableLogsStreamMode [true|false]

    Whether to stream eth_getLogs and eth_getFilterLogs responses as logs are found. When enabled, unauthenticated responses stop at MaxLogsPerResponse or MaxLogsResponseBodySize instead of buffering the full result and returning a limit error. Allowed values: true false. Defaults to false.

  • JsonRpc.EnablePerMethodMetrics​

    --jsonrpc-enablepermethodmetrics [true|false]
    --JsonRpc.EnablePerMethodMetrics [true|false]

    Enable per-method call metric Allowed values: true false. Defaults to true.

  • JsonRpc.EnableTracingStreamMode​

    --jsonrpc-enabletracingstreammode [true|false]
    --JsonRpc.EnableTracingStreamMode [true|false]

    Whether to stream debug_trace* and trace_* responses as the EVM executes (lower TTFB and bounded memory). For debug_trace* can be overridden per-call via GethTraceOptions.StreamMode. Allowed values: true false. Defaults to true.

  • JsonRpc.Enabled​

    --jsonrpc-enabled [true|false]
    --JsonRpc.Enabled [true|false]

    Whether to enable the JSON-RPC service. Allowed values: true false. Defaults to false.

  • JsonRpc.EnabledModules​

    --jsonrpc-enabledmodules <value>
    --JsonRpc.EnabledModules <value>

    An array of JSON-RPC namespaces to enable. For instance, [debug,eth].

    Built-in namespaces:

    • admin
    • client
    • debug
    • engine
    • eth
    • evm
    • health
    • net
    • parity
    • personal
    • proof
    • rpc
    • subscribe
    • trace
    • txpool
    • web3

    Defaults to [Eth,Subscribe,Trace,TxPool,Web3,Proof,Net,Parity,Health,Rpc].

  • JsonRpc.EngineAllowedHosts​

    --jsonrpc-engineallowedhosts <value>
    --JsonRpc.EngineAllowedHosts <value>

    The Host header values the JSON-RPC server accepts on authenticated (Engine API) URLs. The rules are the same as for AllowedHosts. Defaults to *.

  • JsonRpc.EngineEnabledModules​

    --jsonrpc-engineenabledmodules <value>
    --JsonRpc.EngineEnabledModules <value>

    An array of additional JSON-RPC URLs to listen at with protocol and JSON-RPC namespace list for Engine API. Defaults to [Net,Eth,Subscribe,Web3].

  • JsonRpc.EngineHost​

    --jsonrpc-enginehost <value>
    --JsonRpc.EngineHost <value>

    The Engine API host. Defaults to 127.0.0.1.

  • JsonRpc.EnginePort​

    --jsonrpc-engineport <value>
    --JsonRpc.EnginePort <value>

    The Engine API port. Defaults to null.

  • JsonRpc.EstimateErrorMargin​

    --jsonrpc-estimateerrormargin <value>
    --JsonRpc.EstimateErrorMargin <value>

    The error margin used in the eth_estimateGas JSON-RPC method, in basis points. Defaults to 150.

  • JsonRpc.EthCallMaxConcurrentRequests​

    --jsonrpc-ethcallmaxconcurrentrequests <value>
    --JsonRpc.EthCallMaxConcurrentRequests <value>

    The maximum number of eth_call, eth_estimateGas and eth_createAccessList requests that execute at a time, with or without overrides. A request above this number waits for a free slot for up to JsonRpc.Timeout and then fails with a ModuleTimeout JSON-RPC error. Waiting requests do not hold a thread and count toward JsonRpc.RequestQueueLimit; a request that would exceed it fails at once with a LimitExceeded JSON-RPC error. 0 or negative disables the limit. Defaults to four times the number of logical processors.

  • JsonRpc.EthModuleConcurrentInstances​

    --jsonrpc-ethmoduleconcurrentinstances <value>
    --JsonRpc.EthModuleConcurrentInstances <value>

    The number of concurrent instances for non-sharable calls:

    • eth_getLogs
    • eth_newBlockFilter
    • eth_newFilter
    • eth_newPendingTransactionFilter
    • eth_uninstallFilter

    This limits the load on the CPU and I/O to reasonable levels. If the limit is exceeded, HTTP 503 is returned along with the JSON-RPC error. Also acts as the hard active concurrency cap on the override-path env pool used by sharable eth_call / eth_estimateGas / eth_createAccessList when called with state or blob-base-fee overrides: calls beyond this cap fail with a LimitExceeded JSON-RPC error. Defaults to the number of logical processors.

  • JsonRpc.FeeHistoryMaxBlockCount​

    --jsonrpc-feehistorymaxblockcount <value>
    --JsonRpc.FeeHistoryMaxBlockCount <value>

    The maximum number of blocks one eth_feeHistory call returns, from 1 to 1024; 0, negative values and values above 1024 mean 1024. A larger blockCount is lowered to it, so the response then covers fewer blocks than requested. Defaults to 1024.

  • JsonRpc.FeeHistoryMaxConcurrentRequests​

    --jsonrpc-feehistorymaxconcurrentrequests <value>
    --JsonRpc.FeeHistoryMaxConcurrentRequests <value>

    The maximum number of eth_feeHistory calls at once that need blocks missing from the fee cache of recent blocks. Calls served from that cache take no slot; one successful read of a cached block's reward data is shared by the calls that ask for it. Calls beyond the cap return LimitExceeded at once instead of waiting; a newest block whose header is not found gets the usual not-found error instead. Right after a restart, recent blocks count until each has been read once. 0 or negative to lift the limit. Defaults to a quarter of the number of logical processors, at least 1.

  • JsonRpc.FiltersTimeout​

    --jsonrpc-filterstimeout <value>
    --JsonRpc.FiltersTimeout <value>

    The eth_filters timeout, in milliseconds. Defaults to 900000.

  • JsonRpc.GasCap​

    --jsonrpc-gascap <value>
    --JsonRpc.GasCap <value>

    The maximum gas limit for eth_call and eth_estimateGas. Defaults to 100000000.

  • JsonRpc.Host​

    --jsonrpc-host <value>
    --JsonRpc.Host <value>

    The JSON-RPC service host. Defaults to 127.0.0.1.

  • JsonRpc.IpcEnabledModules​

    --jsonrpc-ipcenabledmodules <value>
    --JsonRpc.IpcEnabledModules <value>

    An array of JSON-RPC namespaces to enable over the IPC socket, for instance [engine,eth]. If not set or empty, the IPC socket uses JsonRpc.EnabledModules.

  • JsonRpc.IpcProcessingConcurrency​

    --jsonrpc-ipcprocessingconcurrency <value>
    --JsonRpc.IpcProcessingConcurrency <value>

    The number of requests one IPC connection processes at a time. Requests pipelined on one connection are processed and answered in any order; each response carries its request id, and a batch is still processed and answered in order as one message. When JsonRpc.EnabledModules includes the Engine module, IPC always processes its requests one by one. Set to 1 if a client relies on the order, for example when it pipelines dependent transactions such as blob transactions with consecutive nonces. Defaults to 16.

  • JsonRpc.IpcUnixDomainSocketPath​

    --jsonrpc-ipcunixdomainsocketpath <value>
    --JsonRpc.IpcUnixDomainSocketPath <value>

    The path to connect a UNIX domain socket over.

  • JsonRpc.JsonSerializationMaxDepth​

    --jsonrpc-jsonserializationmaxdepth <value>
    --JsonRpc.JsonSerializationMaxDepth <value>

    The maximum depth of JSON response object tree. Defaults to 4096.

  • JsonRpc.JwtSecretFile​

    --jsonrpc-jwtsecretfile <value>
    --JsonRpc.JwtSecretFile <value>

    The path to the JWT secret file required for the Engine API authentication. Defaults to null.

  • JsonRpc.MaxBatchResponseBodySize​

    --jsonrpc-maxbatchresponsebodysize <value>
    --JsonRpc.MaxBatchResponseBodySize <value>

    The max batch size limit for batched JSON-RPC calls. Defaults to 33554432.

  • JsonRpc.MaxBatchSize​

    --jsonrpc-maxbatchsize <value>
    --JsonRpc.MaxBatchSize <value>

    The max number of JSON-RPC requests in a batch. Defaults to 1024.

  • JsonRpc.MaxBufferedTraceLogSize​

    --jsonrpc-maxbufferedtracelogsize <value>
    --JsonRpc.MaxBufferedTraceLogSize <value>

    The max opcode log size, in bytes, per transaction of a debug_trace* or debug_simulateV1 trace held in memory rather than streamed. Larger or unlimited limit trace options are lowered to it. It is also the max size, in bytes, of the trace data (call inputs, return data, code, memory, stack and storage changes) that a buffered trace_* request keeps over all the blocks it traces, and that a streamed trace_* request keeps per transaction; a larger trace fails. The transactions of a block streamed in parallel by trace_block or trace_replayBlockTransactions wait for room within it rather than fail, but for the earliest one not released yet, so together they keep at most twice as much; those of trace_filter fail when they do not fit together. trace_simulateV1 keeps at most a third of it, as its response is serialized whole after the traces. 0 or negative to lift the limit. Defaults to 268435456.

  • JsonRpc.MaxConcurrentSharedRequests​

    --jsonrpc-maxconcurrentsharedrequests <value>
    --JsonRpc.MaxConcurrentSharedRequests <value>

    The max number of concurrent in-flight requests on the shared (sharable) singleton handler. Caps heavy methods promoted to sharable — eth_call, eth_estimateGas, eth_createAccessList — preventing unbounded concurrency from exhausting memory. Light sharable methods (e.g. eth_blockNumber, eth_getBalance) complete in <1 ms and effectively never approach this limit. eth_sendRawTransactionSync holds a slot for as long as it waits for inclusion; see RpcTxSyncMaxConcurrentRequests. 0 to lift the limit. Defaults to 10000.

  • JsonRpc.MaxFilters​

    --jsonrpc-maxfilters <value>
    --JsonRpc.MaxFilters <value>

    The max number of filters installed at a time with the eth_newFilter, eth_newBlockFilter, and eth_newPendingTransactionFilter JSON-RPC methods. 0 to lift the limit. Defaults to 10000.

  • JsonRpc.MaxLoggedRequestParametersCharacters​

    --jsonrpc-maxloggedrequestparameterscharacters <value>
    --JsonRpc.MaxLoggedRequestParametersCharacters <value>

    Deprecated. JSON-RPC request parameters are omitted from logs. Defaults to null.

  • JsonRpc.MaxLogsPerResponse​

    --jsonrpc-maxlogsperresponse <value>
    --JsonRpc.MaxLogsPerResponse <value>

    The max number of logs per response for the eth_getLogs JSON-RPC method, and of block numbers per response for logIndex_blockNumbers. 0 to lift the limit. Defaults to 20000.

  • JsonRpc.MaxLogsResponseBodySize​

    --jsonrpc-maxlogsresponsebodysize <value>
    --JsonRpc.MaxLogsResponseBodySize <value>

    The max response body size, in bytes, for streamed eth_getLogs and eth_getFilterLogs JSON-RPC responses. Ignored unless EnableLogsStreamMode is enabled. null to use MaxBatchResponseBodySize. Defaults to null.

  • JsonRpc.MaxRequestBodySize​

    --jsonrpc-maxrequestbodysize <value>
    --JsonRpc.MaxRequestBodySize <value>

    The max length of an HTTP request body or a WebSocket message, in bytes. Defaults to 30000000.

  • JsonRpc.MaxSimulateBlocksCap​

    --jsonrpc-maxsimulateblockscap <value>
    --JsonRpc.MaxSimulateBlocksCap <value>

    The max block count limit for the eth_simulate JSON-RPC method. Defaults to 256.

  • JsonRpc.MaxSimulateCallsCap​

    --jsonrpc-maxsimulatecallscap <value>
    --JsonRpc.MaxSimulateCallsCap <value>

    The max total call count, across all blocks, for eth_simulateV1, debug_simulateV1, trace_simulateV1 and, with bundle overrides, debug_traceCallMany. Defaults to 10000.

  • JsonRpc.MaxSimulateCallsPerBlockCap​

    --jsonrpc-maxsimulatecallsperblockcap <value>
    --JsonRpc.MaxSimulateCallsPerBlockCap <value>

    The max call count per block (per bundle for debug_traceCallMany) for the methods that MaxSimulateCallsCap covers. Defaults to 5000.

  • JsonRpc.MaxSubscriptions​

    --jsonrpc-maxsubscriptions <value>
    --JsonRpc.MaxSubscriptions <value>

    The max number of eth_subscribe and admin_subscribe subscriptions of all connections together. A call above this limit returns a LimitExceeded error. IPC and authenticated connections are not refused by this limit. 0 to lift the limit. Defaults to 10000.

  • JsonRpc.MaxSubscriptionsPerConnection​

    --jsonrpc-maxsubscriptionsperconnection <value>
    --JsonRpc.MaxSubscriptionsPerConnection <value>

    The max number of eth_subscribe and admin_subscribe subscriptions of one WebSocket or IPC connection. A call above this limit returns a LimitExceeded error. 0 to lift the limit. Defaults to 1000.

  • JsonRpc.MaxUnsentResponsesPerAddress​

    --jsonrpc-maxunsentresponsesperaddress <value>
    --JsonRpc.MaxUnsentResponsesPerAddress <value>

    The max number of HTTP JSON-RPC responses to unauthenticated URLs that one remote address, or one IPv6 /64 prefix, can have with more than 1 MiB written but not yet sent. Smaller responses, and responses still being written below that size, are not counted. A further response above 1 MiB is not sent and its connection is closed. For a connection from a loopback address or from TrustedProxyNetworks, the address is taken from the X-Forwarded-For header when it has one. 0 or negative to disable. Ignored when MaxUnsentResponsesSize is disabled. Defaults to 8.

  • JsonRpc.MaxUnsentResponsesSize​

    --jsonrpc-maxunsentresponsessize <value>
    --JsonRpc.MaxUnsentResponsesSize <value>

    The max total size, in bytes, of HTTP JSON-RPC responses to unauthenticated URLs that are written but not yet sent. One response alone can use all of it. While a remote address has other unsent responses, it can hold at most 1/16 of it. IPv6 addresses are grouped by their /64 prefix, and a connection without a known address counts alone. A response that would go above either limit is not sent and its connection is closed; responses already in progress are not affected. Streamed results are not counted when BufferResponses is off, and bytes that a streamed result flushes are released when the streamed result ends. A batch that reaches MaxBatchResponseBodySize first, when that value is not above the share of one address, ends with the batch limit errors instead. For a connection from a loopback address or from TrustedProxyNetworks, the address is taken from the X-Forwarded-For header when it has one. 0 or negative to disable this limit. Defaults to 536870912.

  • JsonRpc.MaxUnsentWebSocketResponseSize​

    --jsonrpc-maxunsentwebsocketresponsesize <value>
    --JsonRpc.MaxUnsentWebSocketResponseSize <value>

    The max size, in bytes, of a written but not yet sent response on one WebSocket connection to an unauthenticated URL. A connection is closed when its response is larger, or when the send does not complete within JsonRpc.Timeout plus one second for each 64 KiB of the response, at most five minutes more. 0 or negative to disable both. Defaults to 67108864.

  • JsonRpc.MethodsLoggingFiltering​

    --jsonrpc-methodsloggingfiltering <value>
    --JsonRpc.MethodsLoggingFiltering <value>

    An array of the method names not to log. Defaults to [engine_newPayloadV1,engine_newPayloadV2,engine_newPayloadV3,engine_forkchoiceUpdatedV1,engine_forkchoiceUpdatedV2,flashbots_validateBuilderSubmissionV3,eth_signTransaction].

  • JsonRpc.MinResponseDataRate​

    --jsonrpc-minresponsedatarate <value>
    --JsonRpc.MinResponseDataRate <value>

    The min rate, in bytes per second, at which a caller of an unauthenticated HTTP JSON-RPC URL must read a response, after a grace period of 10 seconds. The server closes the connection of a caller that reads more slowly. 0 disables the rate, also the server default one. Defaults to 65536.

  • JsonRpc.OverlayMaxBlockRange​

    --jsonrpc-overlaymaxblockrange <value>
    --JsonRpc.OverlayMaxBlockRange <value>

    The max number of blocks the overlay_getLogs JSON-RPC method re-executes in one call. 0 to lift the limit. Defaults to 1000.

  • JsonRpc.Port​

    --jsonrpc-port <value>
    --JsonRpc.Port <value>

    The JSON-RPC service HTTP port. Defaults to 8545.

  • JsonRpc.PreloadRpcModules​

    --jsonrpc-preloadrpcmodules [true|false]
    --JsonRpc.PreloadRpcModules [true|false]

    Preload rpc modules. Useful in rpc provider to reduce latency on first request. Allowed values: true false. Defaults to false.

  • JsonRpc.ReportIntervalSeconds​

    --jsonrpc-reportintervalseconds <value>
    --JsonRpc.ReportIntervalSeconds <value>

    The interval, in seconds, between the JSON-RPC stats report log. Defaults to 300.

  • JsonRpc.RequestQueueLimit​

    --jsonrpc-requestqueuelimit <value>
    --JsonRpc.RequestQueueLimit <value>

    The max number of concurrent requests waiting in the exclusive (non-sharable) queue for:

    • eth_getLogs
    • eth_newFilter
    • eth_newBlockFilter
    • eth_newPendingTransactionFilter
    • eth_uninstallFilter

    Calls beyond the limit return HTTP 503 immediately. 0 to lift the limit. Defaults to 500.

  • JsonRpc.RestrictIpcSocketPermissions​

    --jsonrpc-restrictipcsocketpermissions [true|false]
    --JsonRpc.RestrictIpcSocketPermissions [true|false]

    Whether to set the IPC socket UNIX file permissions to owner-only (600). Allowed values: true false. Defaults to true.

  • JsonRpc.RpcRecorderBaseFilePath​

    --jsonrpc-rpcrecorderbasefilepath <value>
    --JsonRpc.RpcRecorderBaseFilePath <value>

    The path to the base file for diagnostic recording. Defaults to logs/rpc.{counter}.txt.

  • JsonRpc.RpcRecorderState​

    --jsonrpc-rpcrecorderstate <value>
    --JsonRpc.RpcRecorderState <value>

    The diagnostic recording mode.

    Allowed values:

    • None: None.
    • Request: Records requests.
    • Response: Records responses.
    • All: Records both requests and responses.

    Defaults to None.

  • JsonRpc.RpcTxFeeCap​

    --jsonrpc-rpctxfeecap <value>
    --JsonRpc.RpcTxFeeCap <value>

    Maximum total tx fee (gasPrice * gasLimit, in wei) the node will sign in eth_signTransaction. 0 disables the cap. Default 1 ETH. Defaults to 1000000000000000000.

  • JsonRpc.RpcTxSyncDefaultTimeoutMs​

    --jsonrpc-rpctxsyncdefaulttimeoutms <value>
    --JsonRpc.RpcTxSyncDefaultTimeoutMs <value>

    Default server-side wait, in milliseconds, for eth_sendRawTransactionSync when the caller omits the timeout argument. Defaults to 20000.

  • JsonRpc.RpcTxSyncMaxConcurrentRequests​

    --jsonrpc-rpctxsyncmaxconcurrentrequests <value>
    --JsonRpc.RpcTxSyncMaxConcurrentRequests <value>

    Maximum number of concurrent eth_sendRawTransactionSync calls, independent of EthModuleConcurrentInstances. Excess calls are rejected before submitting the transaction. Each pending call also counts against MaxConcurrentSharedRequests for up to RpcTxSyncMaxTimeoutMs, so keep this well below MaxConcurrentSharedRequests. 0 disables this limit; MaxConcurrentSharedRequests then remains the only bound (none if it is 0 too). Defaults to 128.

  • JsonRpc.RpcTxSyncMaxTimeoutMs​

    --jsonrpc-rpctxsyncmaxtimeoutms <value>
    --JsonRpc.RpcTxSyncMaxTimeoutMs <value>

    Maximum server-side wait, in milliseconds, that eth_sendRawTransactionSync will accept; client-supplied timeouts above this are clamped down. Defaults to 60000.

  • JsonRpc.StrictHexFormat​

    --jsonrpc-stricthexformat [true|false]
    --JsonRpc.StrictHexFormat [true|false]

    Enable strict parsing rules for Block Params and Hashes in RPC requests. this will decrease compatibility but increase compliance with the spec. Allowed values: true false. Defaults to true.

  • JsonRpc.Timeout​

    --jsonrpc-timeout <value>
    --JsonRpc.Timeout <value>

    The request timeout, in milliseconds. Defaults to 20000.

  • JsonRpc.TraceBlockParallelism​

    --jsonrpc-traceblockparallelism <value>
    --JsonRpc.TraceBlockParallelism <value>

    The maximum number of workers tracing block transactions at once across the whole node in debug_traceBlock* and trace_block, for blocks whose transactions can each be traced alone on the state before it: blocks that carry an access list, and, with FlatDb.HistoryTransactionIndexEnabled, blocks covered by the transaction index. Debug and trace, and both kinds of block, share this one budget. 0 or 1 traces such blocks sequentially; larger values are capped at the number of logical processors and at 16. Once a block has been traced in parallel, the node keeps up to this many processing environments and twice this many background threads for debug, and as many again for trace. The deprecated FlatDb.HistoryTransactionIndexTraceParallelism, when set to anything but 0, sizes this budget instead. Defaults to 4.

  • JsonRpc.TraceModuleConcurrentInstances​

    --jsonrpc-tracemoduleconcurrentinstances <value>
    --JsonRpc.TraceModuleConcurrentInstances <value>

    The number of concurrent instances of the Trace RPC module (trace_block, trace_transaction, trace_replay*, etc.). Calls beyond this cap return LimitExceeded. Each instance holds block-processing environments for the life of the process, so raise it only where the memory is available. Defaults to 2.

  • JsonRpc.TrustedProxyNetworks​

    --jsonrpc-trustedproxynetworks <value>
    --JsonRpc.TrustedProxyNetworks <value>

    IPv4 CIDR networks of reverse proxies whose X-Forwarded-For header the HTTP JSON-RPC unsent response limits per address use. Loopback addresses are always trusted. The header is used only from trusted proxies. The limits per address apply to the right-most address in it that is not itself a trusted proxy, so the proxy must append the address of its caller to the header. This applies to loopback proxies too. A proxy that passes its caller's header through without appending to it, or a TCP tunnel, gives no reliable client address. Without the header, or if it has no such address, the proxy address is used. Invalid entries are logged and ignored. Defaults to [].

  • JsonRpc.WebSocketsPort​

    --jsonrpc-websocketsport <value>
    --JsonRpc.WebSocketsPort <value>

    The JSON-RPC service WebSockets port. Defaults to 8545.

  • JsonRpc.WebSocketsProcessingConcurrency​

    --jsonrpc-websocketsprocessingconcurrency <value>
    --JsonRpc.WebSocketsProcessingConcurrency <value>

    The number of requests one public WebSocket connection processes at a time. Requests pipelined on one connection are processed and answered in any order; each response carries its request id, and a batch is still processed and answered in order as one message. Connections that are authenticated or enable the Engine module always process their requests one by one. Set to 1 if a client relies on the order, for example when it pipelines dependent transactions such as blob transactions with consecutive nonces. Defaults to 16.

KeyStore​

  • KeyStore.BlockAuthorAccount​

    --keystore-blockauthoraccount <value>
    --KeyStore.BlockAuthorAccount <value>

    An account to use as the block author (coinbase).

  • KeyStore.Cipher​

    --keystore-cipher <value>
    --KeyStore.Cipher <value>

    See Web3 secret storage definition. Defaults to aes-128-ctr.

  • KeyStore.EnodeAccount​

    --keystore-enodeaccount <value>
    --KeyStore.EnodeAccount <value>

    An account to use for networking (enode). If neither this nor the EnodeKeyFile option is specified, the key is autogenerated in node.key.plain file.

  • KeyStore.EnodeKeyFile​

    --keystore-enodekeyfile <value>
    --KeyStore.EnodeKeyFile <value>

    The path to the key file to use by for networking (enode). If neither this nor the EnodeAccount is specified, the key is autogenerated in node.key.plain file.

  • KeyStore.IVSize​

    --keystore-ivsize <value>
    --KeyStore.IVSize <value>

    See Web3 secret storage definition. Defaults to 16.

  • KeyStore.Kdf​

    --keystore-kdf <value>
    --KeyStore.Kdf <value>

    See Web3 secret storage definition. Defaults to scrypt.

  • KeyStore.KdfparamsDklen​

    --keystore-kdfparamsdklen <value>
    --KeyStore.KdfparamsDklen <value>

    See Web3 secret storage definition. Defaults to 32.

  • KeyStore.KdfparamsN​

    --keystore-kdfparamsn <value>
    --KeyStore.KdfparamsN <value>

    See Web3 secret storage definition. Defaults to 262144.

  • KeyStore.KdfparamsP​

    --keystore-kdfparamsp <value>
    --KeyStore.KdfparamsP <value>

    See Web3 secret storage definition. Defaults to 1.

  • KeyStore.KdfparamsR​

    --keystore-kdfparamsr <value>
    --KeyStore.KdfparamsR <value>

    See Web3 secret storage definition. Defaults to 8.

  • KeyStore.KdfparamsSaltLen​

    --keystore-kdfparamssaltlen <value>
    --KeyStore.KdfparamsSaltLen <value>

    See Web3 secret storage definition. Defaults to 32.

  • KeyStore.KeyStoreDirectory​

    --keystore-keystoredirectory <value>
    --KeyStore.KeyStoreDirectory <value>

    The path to the keystore directory. Defaults to keystore.

  • KeyStore.KeyStoreEncoding​

    --keystore-keystoreencoding <value>
    --KeyStore.KeyStoreEncoding <value>

    See Web3 secret storage definition. Defaults to UTF-8.

  • KeyStore.PasswordFiles​

    --keystore-passwordfiles <value>
    --KeyStore.PasswordFiles <value>

    An array of password files paths used to unlock the accounts set with UnlockAccounts. Defaults to [].

  • KeyStore.Passwords​

    --keystore-passwords <value>
    --KeyStore.Passwords <value>

    An array of passwords used to unlock the accounts set with UnlockAccounts. Defaults to [].

  • KeyStore.SymmetricEncrypterBlockSize​

    --keystore-symmetricencrypterblocksize <value>
    --KeyStore.SymmetricEncrypterBlockSize <value>

    See Web3 secret storage definition. Defaults to 128.

  • KeyStore.SymmetricEncrypterKeySize​

    --keystore-symmetricencrypterkeysize <value>
    --KeyStore.SymmetricEncrypterKeySize <value>

    See Web3 secret storage definition. Defaults to 128.

  • KeyStore.TestNodeKey​

    --keystore-testnodekey <value>
    --KeyStore.TestNodeKey <value>

    A plaintext private key to use for testing purposes.

  • KeyStore.UnlockAccounts​

    --keystore-unlockaccounts <value>
    --KeyStore.UnlockAccounts <value>

    An array of accounts to unlock on startup using passwords either in PasswordFiles and Passwords. Defaults to [].

LogIndex​

  • LogIndex.Enabled​

    --logindex-enabled [true|false]
    --LogIndex.Enabled [true|false]

    Whether log index should be enabled. Allowed values: true false. Defaults to false.

  • LogIndex.MaxAggregationParallelism​

    --logindex-maxaggregationparallelism <value>
    --LogIndex.MaxAggregationParallelism <value>

    Maximum degree of parallelism for aggregating batches, per backfill direction. The forward and backward directions run at the same time until the forward direction reaches the head. Lower it to reduce the CPU load of the log index backfill, at the cost of a longer backfill. Minimum 1. Values above MaxAggregationQueueSize (default 16) have no effect. Defaults to Max(ProcessorCount / 4, 1).

  • LogIndex.MaxCompressionParallelism​

    --logindex-maxcompressionparallelism <value>
    --LogIndex.MaxCompressionParallelism <value>

    Maximum degree of parallelism for compressing overgrown key values, shared by both backfill directions. Lower it to reduce the CPU load of the log index backfill, at the cost of a longer backfill. Minimum 1. Defaults to Max(ProcessorCount / 4, 1).

  • LogIndex.MaxReceiptsParallelism​

    --logindex-maxreceiptsparallelism <value>
    --LogIndex.MaxReceiptsParallelism <value>

    Maximum degree of parallelism for fetching receipts, per backfill direction. The forward and backward directions run at the same time until the forward direction reaches the head. Lower it to reduce the CPU load of the log index backfill, at the cost of a longer backfill. Minimum 1. Defaults to Max(ProcessorCount / 4, 1).

  • LogIndex.Reset​

    --logindex-reset [true|false]
    --LogIndex.Reset [true|false]

    Log index is reset on startup if enabled. Allowed values: true false. Defaults to false.

Mcp​

  • Mcp.AllowedHosts​

    --mcp-allowedhosts <value>
    --Mcp.AllowedHosts <value>

    Host header values the MCP endpoint accepts, as host or host:port (for example node.example.com or [2001:db8::1]:8555, no scheme or path). An entry without a port matches any port. On a loopback Host they are accepted besides the loopback names; in remote mode only these (and the bound IP literal) are accepted, and at least one is required. Defaults to [].

  • Mcp.AllowedOrigins​

    --mcp-allowedorigins <value>
    --Mcp.AllowedOrigins <value>

    Browser origins (for example, http://localhost:6274) allowed to call the MCP endpoint. Requests without an Origin header are allowed; requests with any other origin are rejected with HTTP 403. Defaults to [].

  • Mcp.AuthTokenFile​

    --mcp-authtokenfile <value>
    --Mcp.AuthTokenFile <value>

    Path to a file whose trimmed content is the bearer token MCP clients must send as Authorization: Bearer <token>. The token must be at least 32 characters. Mandatory in remote mode. If empty on a loopback Host, no authentication is required and access is limited to local processes. In remote mode, a client IP (IPv6: its /64) with 10 failed authentications within 60 seconds is answered with HTTP 429 until the window passes. Defaults to null.

  • Mcp.EnableTracing​

    --mcp-enabletracing [true|false]
    --Mcp.EnableTracing [true|false]

    Whether trace_transaction and the call-trace parts of explain_transaction (internal transfers, the failing call frame) are enabled. They replay transactions through the debug module in-process and are offered only when JsonRpc.Enabled is true and debug or trace is also in JsonRpc.EnabledModules. When disabled, trace_transaction fails with unavailable and explain_transaction skips the trace with a note. Allowed values: true false. Defaults to true.

  • Mcp.Enabled​

    --mcp-enabled [true|false]
    --Mcp.Enabled [true|false]

    Whether to start the MCP server. Allowed values: true false. Defaults to false.

  • Mcp.Host​

    --mcp-host <value>
    --Mcp.Host <value>

    The IP address literal the MCP listener binds to (host names are rejected). A loopback address (127.0.0.1, ::1) serves local clients only. Any other address, including 0.0.0.0 and ::, enables remote mode, which requires TlsCertificatePath, TlsCertificateKeyPath, AuthTokenFile and AllowedHosts; plain HTTP is never served on a non-loopback address. Defaults to 127.0.0.1.

  • Mcp.MaxCallDataSize​

    --mcp-maxcalldatasize <value>
    --Mcp.MaxCallDataSize <value>

    The maximum size of the call tool input data, in bytes. Defaults to 131072.

  • Mcp.MaxCallGas​

    --mcp-maxcallgas <value>
    --Mcp.MaxCallGas <value>

    The maximum gas one call, call_function, estimate_gas or simulate_transaction execution may use. Must not exceed JsonRpc.GasCap; the effective limit is the smaller of the two. Defaults to 50000000.

  • Mcp.MaxConcurrentToolCalls​

    --mcp-maxconcurrenttoolcalls <value>
    --Mcp.MaxConcurrentToolCalls <value>

    The maximum number of tool calls executing concurrently. Further calls wait up to two seconds for a slot, then fail with a resource_exhausted error. Defaults to 4.

  • Mcp.MaxIndexedLogBlockRange​

    --mcp-maxindexedlogblockrange <value>
    --Mcp.MaxIndexedLogBlockRange <value>

    The maximum number of blocks one get_logs page scans when the filter has an address or topic and the page starts inside the node's log index (LogIndex.Enabled); the page then stops at the last indexed block. Other pages use MaxLogBlockRange, and a value below it has no effect. Defaults to 1000000.

  • Mcp.MaxLogBlockRange​

    --mcp-maxlogblockrange <value>
    --Mcp.MaxLogBlockRange <value>

    The maximum number of blocks one get_logs page scans, inclusive. Queries over larger ranges are not rejected: they return the first page with a nextCursor to continue from. Defaults to 1000.

  • Mcp.MaxLogs​

    --mcp-maxlogs <value>
    --Mcp.MaxLogs <value>

    The maximum number of logs one get_logs page returns; it is also the default and the upper bound of the tool's limit argument. Further matching logs are returned on the next page (nextCursor). Defaults to 10000.

  • Mcp.MaxRequestBodySize​

    --mcp-maxrequestbodysize <value>
    --Mcp.MaxRequestBodySize <value>

    The maximum size of an MCP HTTP request body, in bytes. Defaults to 262144.

  • Mcp.MaxResultSize​

    --mcp-maxresultsize <value>
    --Mcp.MaxResultSize <value>

    The maximum size of a serialized tool result, in bytes. Larger results fail with a resource_exhausted error. Defaults to 4194304.

  • Mcp.MaxTraceCalls​

    --mcp-maxtracecalls <value>
    --Mcp.MaxTraceCalls <value>

    The maximum number of call frames returned by trace_transaction; deeper or wider call trees are truncated and flagged. Defaults to 2000.

  • Mcp.Port​

    --mcp-port <value>
    --Mcp.Port <value>

    The TCP port of the MCP listener. The endpoint is served at http(s)://<Host>:<Port>/mcp (HTTPS when TlsCertificatePath is set). Must differ from every JSON-RPC, Engine API, WebSocket and metrics port. Defaults to 8555.

  • Mcp.TlsCertificateKeyPath​

    --mcp-tlscertificatekeypath <value>
    --Mcp.TlsCertificateKeyPath <value>

    Path to the PEM-encoded private key (PKCS#8, PKCS#1 or SEC1, unencrypted) of TlsCertificatePath. Required whenever TlsCertificatePath is set. Defaults to null.

  • Mcp.TlsCertificatePath​

    --mcp-tlscertificatepath <value>
    --Mcp.TlsCertificatePath <value>

    Path to the PEM-encoded TLS certificate served by the MCP listener; further certificates in the file are sent as the chain. Required in remote mode; on a loopback Host it enables HTTPS. Loaded at startup: an unreadable file or a key mismatch aborts startup, and a certificate that is expired or expires within 14 days logs a warning. Defaults to null.

  • Mcp.ToolTimeout​

    --mcp-tooltimeout <value>
    --Mcp.ToolTimeout <value>

    The wall-clock limit for a single tool call, in milliseconds. Must not exceed JsonRpc.Timeout. Defaults to 10000.

Merge​

  • Merge.BuilderRelayUrl​

    --merge-builderrelayurl <value>
    --Merge.BuilderRelayUrl <value>

    The URL of a builder relay. If specified, blocks are sent to the relay. Defaults to null.

  • Merge.CollectionsPerDecommit​

    --merge-collectionsperdecommit <value>
    --Merge.CollectionsPerDecommit <value>

    The number of eligible newPayload calls between compacting collections that release process memory. Once due, the decommit runs only while the memory load is at or above DecommitMemoryLoadPercent, or once CollectionsPerUnconditionalDecommit calls have been counted; until then it is checked again after every call. Decommit waits for at least three seconds after payload completion (or PostBlockGcDelayMs, if longer); a new payload cancels the wait without clearing the count.

    Allowed values:

    • -1: No requests.
    • 0: Requests every time.
    • A positive number: Requests after that many eligible newPayload calls, including calls whose entry was skipped or pending collection was cancelled. Calls made while the no-GC strategy is disabled (such as during sync) do not count.

    Defaults to 25.

  • Merge.CollectionsPerUnconditionalDecommit​

    --merge-collectionsperunconditionaldecommit <value>
    --Merge.CollectionsPerUnconditionalDecommit <value>

    The number of eligible newPayload calls after which a due decommit (see CollectionsPerDecommit) runs even below DecommitMemoryLoadPercent.

    Allowed values:

    • -1: Decommits only at or above DecommitMemoryLoadPercent.
    • A positive number: Decommits after that many eligible newPayload calls since the last decommit. A number below CollectionsPerDecommit decommits whenever due.

    Defaults to 300.

  • Merge.CompactMemory​

    --merge-compactmemory <value>
    --Merge.CompactMemory <value>

    The compaction mode for ordinary post-block collections; periodic decommit collections always fully compact. No requests non-blocking collection, which may be skipped during background GC and may increase steady-state memory usage. When set to Full, compacts the large object heap (LOH) if SweepMemory is set to Gen2.

    Allowed values:

    • No: Disables memory compaction.
    • Yes: Enables memory compaction.
    • Full: Enables memory compaction with the large object heap (LOH) if SweepMemory is set to Gen2.

    Defaults to No.

  • Merge.DecommitMemoryLoadPercent​

    --merge-decommitmemoryloadpercent <value>
    --Merge.DecommitMemoryLoadPercent <value>

    The memory load, in percent of physical memory or of the container's memory limit, at or above which a due decommit (see CollectionsPerDecommit) runs. The load is the one the runtime recorded at its last collection. Below it, the decommit waits for CollectionsPerUnconditionalDecommit. In a container with a memory limit, the load includes the container's active page cache (the runtime subtracts only inactive file pages), so a container with a warm cache, such as recently read database files, can stay at or above the threshold and then decommits whenever due, as before.

    Allowed values:

    • 0: Decommits whenever due, whatever the memory load.
    • A number from 1 to 100: Decommits when due and the memory load is at least that percentage.

    Defaults to 70.

  • Merge.Enabled​

    --merge-enabled [true|false]
    --Merge.Enabled [true|false]

    Whether to enable the Merge hard fork. Allowed values: true false. Defaults to true.

  • Merge.FinalTotalDifficulty​

    --merge-finaltotaldifficulty <value>
    --Merge.FinalTotalDifficulty <value>

    The total difficulty of the last PoW block. Must be greater than or equal to the terminal total difficulty (TTD). Defaults to null.

  • Merge.PrioritizeBlockLatency​

    --merge-prioritizeblocklatency [true|false]
    --Merge.PrioritizeBlockLatency [true|false]

    Whether to reduce block latency by disabling garbage collection during Engine API calls. Allowed values: true false. Defaults to true.

  • Merge.SweepMemory​

    --merge-sweepmemory <value>
    --Merge.SweepMemory <value>

    The garbage collection (GC) mode between Engine API calls.

    Allowed values:

    • NoGC: Disables garbage collection.
    • Gen0: Enables garbage collection of generation 0.
    • Gen1: Enables garbage collection of generation 1.
    • Gen2: Enables garbage collection of generation 2.

    Defaults to Gen1.

  • Merge.TerminalBlockHash​

    --merge-terminalblockhash <value>
    --Merge.TerminalBlockHash <value>

    The terminal PoW block hash used for the transition. Defaults to null.

  • Merge.TerminalBlockNumber​

    --merge-terminalblocknumber <value>
    --Merge.TerminalBlockNumber <value>

    The terminal PoW block number used for the transition.

  • Merge.TerminalTotalDifficulty​

    --merge-terminaltotaldifficulty <value>
    --Merge.TerminalTotalDifficulty <value>

    The terminal total difficulty (TTD) used for the transition. Defaults to null.

Metrics​

  • Metrics.CountersEnabled​

    --metrics-countersenabled [true|false]
    --Metrics.CountersEnabled [true|false]

    Whether to publish metrics using .NET diagnostics that can be collected with dotnet-counters. Allowed values: true false. Defaults to false.

  • Metrics.DbMetricIntervalSeconds​

    --metrics-dbmetricintervalseconds <value>
    --Metrics.DbMetricIntervalSeconds <value>

    The frequency of updating db metrics, in seconds. Defaults to 60.

  • Metrics.EnableDbSizeMetrics​

    --metrics-enabledbsizemetrics [true|false]
    --Metrics.EnableDbSizeMetrics [true|false]

    Whether to publish database size metrics. Allowed values: true false. Defaults to true.

  • Metrics.EnableDetailedMetric​

    --metrics-enabledetailedmetric [true|false]
    --Metrics.EnableDetailedMetric [true|false]

    Enable detailed metric Allowed values: true false. Defaults to false.

  • Metrics.Enabled​

    --metrics-enabled [true|false]
    --Metrics.Enabled [true|false]

    Whether to publish various metrics to Prometheus Pushgateway at a given interval. Allowed values: true false. Defaults to false.

  • Metrics.ExposeHost​

    --metrics-exposehost <value>
    --Metrics.ExposeHost <value>

    The IP address to expose Prometheus metrics at. The value of + means listening on all available hostnames. Setting this to localhost prevents remote access. Defaults to +.

  • Metrics.ExposePort​

    --metrics-exposeport <value>
    --Metrics.ExposePort <value>

    The port to expose Prometheus metrics at.

  • Metrics.IntervalSeconds​

    --metrics-intervalseconds <value>
    --Metrics.IntervalSeconds <value>

    The frequency of pushing metrics to Prometheus, in seconds. Defaults to 5.

  • Metrics.MonitoringGroup​

    --metrics-monitoringgroup <value>
    --Metrics.MonitoringGroup <value>

    The Prometheus metrics group name. Defaults to nethermind.

  • Metrics.MonitoringJob​

    --metrics-monitoringjob <value>
    --Metrics.MonitoringJob <value>

    The Prometheus metrics job name. Defaults to nethermind.

  • Metrics.NodeName​

    --metrics-nodename <value>
    --Metrics.NodeName <value>

    The name to display on the Grafana dashboard. Defaults to Nethermind.

  • Metrics.PauseDbMetricDuringBlockProcessing​

    --metrics-pausedbmetricduringblockprocessing [true|false]
    --Metrics.PauseDbMetricDuringBlockProcessing [true|false]

    Defer db metric collection while blocks are being processed to prevent overhead. A deferred update still runs once the data is older than 10 times DbMetricIntervalSeconds. Set EnableDbSizeMetrics to false to disable collection entirely. Allowed values: true false. Defaults to true.

  • Metrics.PushGatewayPassword​

    --metrics-pushgatewaypassword <value>
    --Metrics.PushGatewayPassword <value>

    The Pushgateway basic authentication password. Both the username and password must be set to enable authentication.

  • Metrics.PushGatewayUrl​

    --metrics-pushgatewayurl <value>
    --Metrics.PushGatewayUrl <value>

    The Prometheus Pushgateway instance URL.

  • Metrics.PushGatewayUsername​

    --metrics-pushgatewayusername <value>
    --Metrics.PushGatewayUsername <value>

    The Pushgateway basic authentication username. Both the username and password must be set to enable authentication.

Mining​

  • Mining.Enabled​

    --mining-enabled [true|false]
    --Mining.Enabled [true|false]

    Whether to produce blocks. Allowed values: true false. Defaults to false.

  • Mining.Signer​

    --mining-signer <value>
    --Mining.Signer <value>

    The URL of an external signer like Clef. Defaults to null.

Network​

  • Network.Bootnodes​

    --network-bootnodes <value>
    --Network.Bootnodes <value>

    A comma-separated enode list to be used as boot nodes.

  • Network.DiagTracerEnabled​

    --network-diagtracerenabled [true|false]
    --Network.DiagTracerEnabled [true|false]

    Whether to enable a verbose diagnostic tracing. Allowed values: true false. Defaults to false.

  • Network.DiscoveryDns​

    --network-discoverydns <value>
    --Network.DiscoveryDns <value>

    The EIP-1459 node list to discover peers from, as enrtree://<signer public key>@<domain>. A bare domain is also accepted, but then the list signature is not verified. For the default of all.<chain name>.ethdisco.net, leave unspecified. Defaults to null.

  • Network.DiscoveryPort​

    --network-discoveryport <value>
    --Network.DiscoveryPort <value>

    The UDP port number for incoming discovery connections. It's recommended to keep it the same as the TCP port (P2PPort) because other values have not been tested yet. Defaults to 30303.

  • Network.EnableExternalIpResolution​

    --network-enableexternalipresolution [true|false]
    --Network.EnableExternalIpResolution [true|false]

    Whether to resolve missing external IPv4 and IPv6 addresses available on active local interfaces through public HTTPS services. Disable this for restricted networks; explicit external IP overrides are still used. Allowed values: true false. Defaults to true.

  • Network.EnableUPnP​

    --network-enableupnp [true|false]
    --Network.EnableUPnP [true|false]

    Whether to enable automatic port forwarding via UPnP. Allowed values: true false. Defaults to false.

  • Network.ExternalIp​

    --network-externalip <value>
    --Network.ExternalIp <value>

    The primary external IP address used for the legacy enode string, discovery, and peer filtering. Missing IPv4 or IPv6 addresses are resolved independently when EnableExternalIpResolution is enabled; use this only to override the preferred primary address. An address family is advertised in the ENR only when every currently bound inbound transport serves it; only bound transports get port entries. Public external addresses (configured or resolved) refuse discovered private targets; configure them as static or trusted peers if required. Defaults to null.

  • Network.ExternalIpV4​

    --network-externalipv4 <value>
    --Network.ExternalIpV4 <value>

    The external IPv4 address to advertise. When unset and EnableExternalIpResolution is enabled, it is resolved automatically. Its ENR entry is published only when every currently bound inbound transport serves IPv4; only bound transports get port entries. Defaults to null.

  • Network.ExternalIpV6​

    --network-externalipv6 <value>
    --Network.ExternalIpV6 <value>

    The external IPv6 address to advertise in the ENR. When unset and EnableExternalIpResolution is enabled, it is resolved automatically. Its entry is published only when every currently bound inbound transport serves IPv6; only bound transports get port entries. Defaults to null.

  • Network.FilterDiscoveryNodesByRecentIp​

    --network-filterdiscoverynodesbyrecentip [true|false]
    --Network.FilterDiscoveryNodesByRecentIp [true|false]

    Reject discovery nodes whose IP key was seen recently (time-windowed), using the peer IP filter. Allowed values: true false. Defaults to true.

  • Network.FilterDiscoveryNodesBySameSubnet​

    --network-filterdiscoverynodesbysamesubnet [true|false]
    --Network.FilterDiscoveryNodesBySameSubnet [true|false]

    When filtering discovery nodes by recent IP, bucket discovery node IPs by subnet (e.g., IPv4 /24, IPv6 /64) so multiple discovery node IPs in the same subnet share a single entry. If false, use exact IP addresses only. Allowed values: true false. Defaults to true.

  • Network.FilterPeersByRecentIp​

    --network-filterpeersbyrecentip [true|false]
    --Network.FilterPeersByRecentIp [true|false]

    Reject peers whose IP key was seen recently (time-windowed), using the peer IP filter. Allowed values: true false. Defaults to true.

  • Network.FilterPeersBySameSubnet​

    --network-filterpeersbysamesubnet [true|false]
    --Network.FilterPeersBySameSubnet [true|false]

    When filtering by recent IP, bucket peers by subnet (e.g., IPv4 /24, IPv6 /64) so multiple IPs in the same subnet share a single entry. If false, use exact IP addresses only. Allowed values: true false. Defaults to true.

  • Network.LocalIp​

    --network-localip <value>
    --Network.LocalIp <value>

    The local IP for inbound listeners. When unset, listeners try a dual-stack wildcard on supported platforms and fall back to IPv4 if it cannot bind; macOS uses IPv4 by default. Set to 0.0.0.0 for IPv4-only, :: for a dual-stack wildcard, or a specific address to restrict listeners to that address and family. A private listener does not permit discovered private targets when the configured or resolved external address is public; configure them as static or trusted peers if required. Defaults to null.

  • Network.MaxActivePeers​

    --network-maxactivepeers <value>
    --Network.MaxActivePeers <value>

    The max allowed number of connected peers. One third is reserved for outbound connections. After a dialable candidate has been selected and five minutes pass without dialable candidates, the reserve falls to at most two slots. Each accepted outbound Hello restores the reserve by disconnecting at most one newest excess ordinary inbound peer. Static and trusted peers are exempt. Defaults to 50.

  • Network.MaxNettyArenaCount​

    --network-maxnettyarenacount <value>
    --Network.MaxNettyArenaCount <value>

    The maximum DotNetty arena count. Each arena holds chunks of 4 KiB << NettyArenaOrder. Defaults to 8.

  • Network.MaxPendingInboundConnections​

    --network-maxpendinginboundconnections <value>
    --Network.MaxPendingInboundConnections <value>

    The maximum number of ordinary inbound connections awaiting an authenticated Hello. Privileged IPs have eight additional slots. Zero disables all inbound connections. Defaults to 50.

  • Network.MaxPendingInboundConnectionsPerSource​

    --network-maxpendinginboundconnectionspersource <value>
    --Network.MaxPendingInboundConnectionsPerSource <value>

    Maximum pending ordinary inbound connections per IPv4 address or IPv6 /64. Zero disables ordinary inbound connections. Defaults to 4.

  • Network.NettyArenaOrder​

    --network-nettyarenaorder <value>
    --Network.NettyArenaOrder <value>

    The size of the DotNetty arena order. The chunk size is 4 KiB << order (8 MiB at 11). Negative values use the default. Defaults to 11.

  • Network.OnlyStaticPeers​

    --network-onlystaticpeers [true|false]
    --Network.OnlyStaticPeers [true|false]

    Whether to use static peers only. Allowed values: true false. Defaults to false.

  • Network.P2PPort​

    --network-p2pport <value>
    --Network.P2PPort <value>

    The TCP port for incoming P2P connections. Defaults to 30303.

  • Network.PriorityPeersMaxCount​

    --network-prioritypeersmaxcount <value>
    --Network.PriorityPeersMaxCount <value>

    The max number of priority peers. Can be overridden by a plugin. Defaults to 0.

  • Network.PublicClientIdFormat​

    --network-publicclientidformat <value>
    --Network.PublicClientIdFormat <value>

    A template string for the public client id provided to external clients. Allowed placeholders: {name} {version} {versionPostfix} {os} {runtime}. Defaults to {name}/{version}{versionPostfix}/{os}/{runtime}.

  • Network.StaticPeers​

    --network-staticpeers <value>
    --Network.StaticPeers <value>

    A list of peers to keep connection for. Static peers are affected by MaxActivePeers. Defaults to null.

OpcodeTracing​

  • OpcodeTracing.Enabled​

    --opcodetracing-enabled [true|false]
    --OpcodeTracing.Enabled [true|false]

    Whether to enable opcode tracing. Allowed values: true false. Defaults to false.

  • OpcodeTracing.EndBlock​

    --opcodetracing-endblock <value>
    --OpcodeTracing.EndBlock <value>

    End block number for tracing (inclusive). Used with StartBlock to define explicit range. Defaults to null.

  • OpcodeTracing.MaxDegreeOfParallelism​

    --opcodetracing-maxdegreeofparallelism <value>
    --OpcodeTracing.MaxDegreeOfParallelism <value>

    Maximum number of tracing workers. 0 switches to the number of logical processors. For Retrospective and RetrospectiveExecution modes. Defaults to 0.

  • OpcodeTracing.Mode​

    --opcodetracing-mode <value>
    --OpcodeTracing.Mode <value>

    Tracing mode: RealTime (trace during processing), Retrospective (static bytecode analysis from database), or RetrospectiveExecution (full EVM replay from database). Defaults to "RealTime".

  • OpcodeTracing.OutputDirectory​

    --opcodetracing-outputdirectory <value>
    --OpcodeTracing.OutputDirectory <value>

    Directory of opcode trace JSON files to be written. Defaults to traces/opcodes.

  • OpcodeTracing.RecentBlocks​

    --opcodetracing-recentblocks <value>
    --OpcodeTracing.RecentBlocks <value>

    Number of recent blocks to trace from chain tip. Alternative to StartBlock/EndBlock. Defaults to null.

  • OpcodeTracing.StartBlock​

    --opcodetracing-startblock <value>
    --OpcodeTracing.StartBlock <value>

    Start block number for tracing (inclusive). Used with EndBlock to define explicit range. Defaults to null.

Optimism​

  • Optimism.SequencerUrl​

    --optimism-sequencerurl <value>
    --Optimism.SequencerUrl <value>

    The Optimism sequencer URL. Defaults to null.

PortfolioViewer​

  • PortfolioViewer.Enabled​

    --portfolioviewer-enabled [true|false]
    --PortfolioViewer.Enabled [true|false]

    Whether to serve the portfolio viewer UI (balances + NFTs) at the /portfolio path of the JSON-RPC HTTP endpoint. Allowed values: true false. Defaults to false.

  • PortfolioViewer.SiblingProbePorts​

    --portfolioviewer-siblingprobeports <value>
    --PortfolioViewer.SiblingProbePorts <value>

    Comma-separated localhost ports probed to discover sibling Nethermind nodes on other chains for the multi-chain portfolio viewer. Defaults to 8545,8546,8547,8548,8549,8550.

Pruning​

  • Pruning.AvailableSpaceCheckEnabled​

    --pruning-availablespacecheckenabled [true|false]
    --Pruning.AvailableSpaceCheckEnabled [true|false]

    Whether to enables available disk space check. Allowed values: true false. Defaults to true.

  • Pruning.CacheMb​

    --pruning-cachemb <value>
    --Pruning.CacheMb <value>

    The in-memory cache size, in MB. Bigger size tend to improve performance. Defaults to 1792.

  • Pruning.DirtyCacheMb​

    --pruning-dirtycachemb <value>
    --Pruning.DirtyCacheMb <value>

    The in-memory cache size for dirty nodes, in MB. Increasing this reduces pruning interval but cause increased pruning time. Defaults to 1536.

  • Pruning.DirtyNodeShardBit​

    --pruning-dirtynodeshardbit <value>
    --Pruning.DirtyNodeShardBit <value>

    Number of dirty node shards as a base-2 exponent; the shard count is 2^DirtyNodeShardBit. Must be between 1 and 30. Defaults to 8.

  • Pruning.FullPruningCompletionBehavior​

    --pruning-fullpruningcompletionbehavior <value>
    --Pruning.FullPruningCompletionBehavior <value>

    The action to take on pruning completion.

    Allowed values:

    • None: No action.
    • ShutdownOnSuccess: Shuts Nethermind down when pruning succeeds but leaves it running when fails.
    • AlwaysShutdown: Shuts Nethermind down when pruning completes, regardless of its status.

    Defaults to None.

  • Pruning.FullPruningDisableLowPriorityWrites​

    --pruning-fullpruningdisablelowprioritywrites [true|false]
    --Pruning.FullPruningDisableLowPriorityWrites [true|false]

    Whether to disable low-priority for pruning writes. Full pruning uses low-priority write operations to prevent blocking block processing. If block processing is not high-priority, set this option to true for faster pruning. Allowed values: true false. Defaults to false.

  • Pruning.FullPruningMaxDegreeOfParallelism​

    --pruning-fullpruningmaxdegreeofparallelism <value>
    --Pruning.FullPruningMaxDegreeOfParallelism <value>

    The max number of parallel tasks that can be used by full pruning.

    Allowed values:

    • -1: Uses the number of logical processors.
    • 0: Uses 25% of logical processors.
    • 1: Runs on a single thread.

    The recommended value depends on the type of the node:

    • If the node needs to be responsive (serves for RPC or validator), then the recommended value is 0 or -1.
    • If the node doesn't have many other responsibilities but needs to be able to follow the chain reliably without any delays and produce live logs, the 0 or 1 is recommended.
    • If the node doesn't have to be responsive, has very fast I/O (like NVMe) and the shortest pruning time is to be achieved, then -1 is recommended. Defaults to 0.
  • Pruning.FullPruningMemoryBudgetMb​

    --pruning-fullpruningmemorybudgetmb <value>
    --Pruning.FullPruningMemoryBudgetMb <value>

    The memory budget, in MB, used for the trie visit. Increasing this value significantly reduces the IOPS requirement at the expense of memory usage. 0 to disable. Defaults to 4000.

  • Pruning.FullPruningMinimumDelayHours​

    --pruning-fullpruningminimumdelayhours <value>
    --Pruning.FullPruningMinimumDelayHours <value>

    The minimum delay, in hours, between full pruning operations not to exhaust disk writes. Defaults to 240.

  • Pruning.FullPruningThresholdMb​

    --pruning-fullpruningthresholdmb <value>
    --Pruning.FullPruningThresholdMb <value>

    The threshold, in MB, to trigger full pruning. Depends on Mode and FullPruningTrigger. Defaults to 256000.

  • Pruning.FullPruningTrigger​

    --pruning-fullpruningtrigger <value>
    --Pruning.FullPruningTrigger <value>

    The full pruning trigger.

    Allowed values:

    • Manual: Does not trigger. Pruning can be triggered manually.
    • StateDbSize: Triggers when the state DB size is above the specified threshold.
    • VolumeFreeSpace: Triggers when the free disk space where the state DB is stored is below the specified threshold.

    Defaults to Manual.

  • Pruning.MaxUnpersistedBlockCount​

    --pruning-maxunpersistedblockcount <value>
    --Pruning.MaxUnpersistedBlockCount <value>

    Maximum number of blocks worth of unpersisted state in memory. Default is 300, which is about one hour of mainnet blocks. Defaults to 300.

  • Pruning.MinUnpersistedBlockCount​

    --pruning-minunpersistedblockcount <value>
    --Pruning.MinUnpersistedBlockCount <value>

    Minimum number of block worth of unpersisted state in memory. Prevent memory pruning too often due to insufficient dirty cache memory. Defaults to 8.

  • Pruning.Mode​

    --pruning-mode <value>
    --Pruning.Mode <value>

    The pruning mode.

    Allowed values:

    • None: No pruning (archive).
    • Memory: In-memory pruning.
    • Full: Full pruning.
    • Hybrid: Combined in-memory and full pruning.

    Defaults to Hybrid.

  • Pruning.PersistenceInterval​

    --pruning-persistenceinterval <value>
    --Pruning.PersistenceInterval <value>

    The block persistence frequency. Only applied with archive node. Defaults to 1.

  • Pruning.PrunePersistedNodeMinimumTarget​

    --pruning-prunepersistednodeminimumtarget <value>
    --Pruning.PrunePersistedNodeMinimumTarget <value>

    Minimum persisted cache prune target Defaults to 52428800.

  • Pruning.PrunePersistedNodePortion​

    --pruning-prunepersistednodeportion <value>
    --Pruning.PrunePersistedNodePortion <value>

    Portion of persisted node to be prune at a time Defaults to 0.05.

  • Pruning.PruningBoundary​

    --pruning-pruningboundary <value>
    --Pruning.PruningBoundary <value>

    The number of past states before the state gets pruned. Used to determine how old of a state to keep from the head. Defaults to 64.

  • Pruning.TrackPastKeys​

    --pruning-trackpastkeys [true|false]
    --Pruning.TrackPastKeys [true|false]

    Enable tracking of past key to reduce database and pruning cache growth Allowed values: true false. Defaults to true.

Receipt​

  • Receipt.CompactReceiptStore​

    --receipt-compactreceiptstore [true|false]
    --Receipt.CompactReceiptStore [true|false]

    Whether to compact receipts database size at the expense of RPC performance. Allowed values: true false. Defaults to true.

  • Receipt.CompactTxIndex​

    --receipt-compacttxindex [true|false]
    --Receipt.CompactTxIndex [true|false]

    Whether to compact receipts transaction index database size at the expense of RPC performance. Allowed values: true false. Defaults to true.

  • Receipt.DeferredPersistence​

    --receipt-deferredpersistence [true|false]
    --Receipt.DeferredPersistence [true|false]

    Whether receipt, canonical transaction-index, block-body, and block-access-list writes are persisted by a background writer instead of synchronously on the block-processing and engine API paths. Reads are served from an in-memory overlay until flushed, and a state-persistence barrier makes a block's data durable before its state, so an unclean shutdown never leaves persisted state without it. Allowed values: true false. Defaults to true.

  • Receipt.DeriveFromState​

    --receipt-derivefromstate [true|false]
    --Receipt.DeriveFromState [true|false]

    Whether receipt bodies are derived from state instead of persisted: their write is skipped, and a query re-executes the block over its parent state, serving the result only when it reproduces the block header's receipts root. Bodies already on disk are still served; pre-Byzantium bodies and the transaction index are always written. A skipped body is retained in memory until history capture durably covers its block, and is persisted if capture permanently stops (see the error log then), so a capture breakdown does not lose receipts. Intended for archive nodes: requires state history for the queried block, and peers are told no receipts are available. A query that misses the cache costs a full block execution, so a public endpoint should be rate limited; concurrency is bounded by JsonRpc.EthModuleConcurrentInstances. Allowed values: true false. Defaults to false.

  • Receipt.MaxBlockDepth​

    --receipt-maxblockdepth <value>
    --Receipt.MaxBlockDepth <value>

    The maximum number of blocks a single eth_getLogs or eth_getFilterLogs request may read receipts of one by one. Blocks the log index can answer for do not count towards it, so on an indexed node the limit only bounds what falls back to a sequential read. Requests exceeding it are rejected with an "invalid params" (-32602) error. Set to 0 to disable the limit. Defaults to 10000.

  • Receipt.ReceiptsMigration​

    --receipt-receiptsmigration [true|false]
    --Receipt.ReceiptsMigration [true|false]

    Whether to migrate the receipts database to the new schema. Allowed values: true false. Defaults to false.

  • Receipt.StoreReceipts​

    --receipt-storereceipts [true|false]
    --Receipt.StoreReceipts [true|false]

    Whether to store receipts after a new block is processed. This setting is independent from downloading receipts in fast sync mode. Allowed values: true false. Defaults to true.

  • Receipt.StoreTxHashes​

    --receipt-storetxhashes [true|false]
    --Receipt.StoreTxHashes [true|false]

    Whether to store the transaction hashes with compact receipts, so that eth_getLogs does not read block bodies. Older receipts get them in the background; the pass yields to block processing and continues after a restart. When disabled, receipts are written in the format that earlier versions read. Allowed values: true false. Defaults to true.

  • Receipt.TxLookupLimit​

    --receipt-txlookuplimit <value>
    --Receipt.TxLookupLimit <value>

    The number of recent blocks to maintain transaction index for. 0 to never remove indices, 18446744073709551615 to never index. Defaults to 2350000.

SendPolicy​

  • SendPolicy.Enabled​

    --sendpolicy-enabled [true|false]
    --SendPolicy.Enabled [true|false]

    Whether to check transactions submitted through this node's JSON-RPC against the rule file. Allowed values: true false. Defaults to false.

  • SendPolicy.JournalPath​

    --sendpolicy-journalpath <value>
    --SendPolicy.JournalPath <value>

    The path to the journal of transactions submitted by guarded senders. Defaults to the rule file path with .journal appended. Defaults to null.

  • SendPolicy.RulesPath​

    --sendpolicy-rulespath <value>
    --SendPolicy.RulesPath <value>

    The path to the rule file. The file is re-read when it changes. Update it by atomically replacing it with a fully written and closed temporary file in the same directory; in-place writes can expose incomplete rules. Defaults to null.

  • SendPolicy.WarnOnly​

    --sendpolicy-warnonly [true|false]
    --SendPolicy.WarnOnly [true|false]

    Whether to log a transaction that breaks a rule and submit it anyway. Allowed values: true false. Defaults to false.

Seq​

  • Seq.ApiKey​

    --seq-apikey <value>
    --Seq.ApiKey <value>

    The Seq API key.

  • Seq.MinLevel​

    --seq-minlevel <value>
    --Seq.MinLevel <value>

    The min log level to sent to Seq. Defaults to Off.

  • Seq.ServerUrl​

    --seq-serverurl <value>
    --Seq.ServerUrl <value>

    The Seq instance URL. Defaults to http://localhost:5341.

Shutter​

  • Shutter.BootnodeP2PAddresses​

    --shutter-bootnodep2paddresses <value>
    --Shutter.BootnodeP2PAddresses <value>

    The p2p addresses of the Shutter Keyper network bootnodes. Defaults to [].

  • Shutter.Enabled​

    --shutter-enabled [true|false]
    --Shutter.Enabled [true|false]

    Whether to enable Shutter. Allowed values: true false. Defaults to false.

  • Shutter.InstanceID​

    --shutter-instanceid <value>
    --Shutter.InstanceID <value>

    Instance ID of Shutter keyper set. Defaults to 0.

  • Shutter.KeyBroadcastContractAddress​

    --shutter-keybroadcastcontractaddress <value>
    --Shutter.KeyBroadcastContractAddress <value>

    The address of the Shutter key broadcast contract. Defaults to null.

  • Shutter.KeyperSetManagerContractAddress​

    --shutter-keypersetmanagercontractaddress <value>
    --Shutter.KeyperSetManagerContractAddress <value>

    The address of the Shutter keyper set manager contract. Defaults to null.

  • Shutter.P2PPort​

    --shutter-p2pport <value>
    --Shutter.P2PPort <value>

    The port to connect to Shutter P2P network with. Defaults to 23102.

  • Shutter.SequencerContractAddress​

    --shutter-sequencercontractaddress <value>
    --Shutter.SequencerContractAddress <value>

    The address of the Shutter sequencer contract. Defaults to null.

  • Shutter.ShutterKeyFile​

    --shutter-shutterkeyfile <value>
    --Shutter.ShutterKeyFile <value>

    The filename to use for the Shutter P2P key. If this not specified, the key is autogenerated in shutter.key.plain file. Defaults to shutter.key.plain.

  • Shutter.ValidatorInfoFile​

    --shutter-validatorinfofile <value>
    --Shutter.ValidatorInfoFile <value>

    The filepath of the validator info json file. Defaults to null.

  • Shutter.ValidatorRegistryContractAddress​

    --shutter-validatorregistrycontractaddress <value>
    --Shutter.ValidatorRegistryContractAddress <value>

    The address of the Shutter validator registry contract. Defaults to null.

Snapshot​

  • Snapshot.Checksum​

    --snapshot-checksum <value>
    --Snapshot.Checksum <value>

    The SHA-256 checksum of the snapshot file. Defaults to null.

  • Snapshot.DownloadUrl​

    --snapshot-downloadurl <value>
    --Snapshot.DownloadUrl <value>

    The URL of the snapshot file. Defaults to null.

  • Snapshot.Enabled​

    --snapshot-enabled [true|false]
    --Snapshot.Enabled [true|false]

    Whether to enable the Snapshot plugin. Allowed values: true false. Defaults to false.

  • Snapshot.SnapshotDirectory​

    --snapshot-snapshotdirectory <value>
    --Snapshot.SnapshotDirectory <value>

    The path to the directory to store the snapshot file. Defaults to snapshot.

  • Snapshot.SnapshotFileName​

    --snapshot-snapshotfilename <value>
    --Snapshot.SnapshotFileName <value>

    The name of the snapshot file. Defaults to snapshot.zip.

  • Snapshot.Streaming​

    --snapshot-streaming [true|false]
    --Snapshot.Streaming [true|false]

    Whether to stream the snapshot directly into the database directory without storing the archive file, reducing peak disk usage to the extracted size. Interrupted connections are resumed automatically within a run, but a node restart discards all progress and starts the download over, since no archive is kept on disk. Supported for tar-based archives only. Allowed values: true false. Defaults to false.

  • Snapshot.StreamingConnections​

    --snapshot-streamingconnections <value>
    --Snapshot.StreamingConnections <value>

    The number of parallel connections the streaming snapshot download uses when the server supports range requests. Peak buffer memory is (connections + 1) x 64 MiB. Allowed range: 1-16. Defaults to 4.

  • Snapshot.StripComponents​

    --snapshot-stripcomponents <value>
    --Snapshot.StripComponents <value>

    Number of leading path components to strip when extracting a tar archive (passed as --strip-components to tar). Must be non-negative. Set this to match the depth of the snapshot path embedded in the archive. Defaults to 1.

StateDiffsWriter​

  • StateDiffsWriter.Enabled​

    --statediffswriter-enabled [true|false]
    --StateDiffsWriter.Enabled [true|false]

    Enable the per-block state-diff writer. Allowed values: true false. Defaults to false.

  • StateDiffsWriter.KeepLastNBlocks​

    --statediffswriter-keeplastnblocks <value>
    --StateDiffsWriter.KeepLastNBlocks <value>

    Number of most-recent blocks to retain in the BlockDiffs column family. Older entries are pruned by the background pruner. A consumer's catch-up should never need a window larger than this; lower for tighter disk budgets, raise if catch-up windows can exceed the default. Must be >= 0 (0 keeps nothing); a negative value disables pruning entirely. Defaults to 1000000.

  • StateDiffsWriter.PruneIntervalSeconds​

    --statediffswriter-pruneintervalseconds <value>
    --StateDiffsWriter.PruneIntervalSeconds <value>

    Interval in seconds between background pruner sweeps. The pruner removes BlockDiffs rows whose block number is older than (currentHead - KeepLastNBlocks). 0 or negative disables pruning. Defaults to 600.

Surge​

  • Surge.AverageGasUsagePercentage​

    --surge-averagegasusagepercentage <value>
    --Surge.AverageGasUsagePercentage <value>

    Percentage of the average gas usage to be used for gas price calculation. Defaults to 80.

  • Surge.BlocksPerBatch​

    --surge-blocksperbatch <value>
    --Surge.BlocksPerBatch <value>

    Number of L2 blocks per batch. Defaults to 1800.

  • Surge.BoostBaseFeePercentage​

    --surge-boostbasefeepercentage <value>
    --Surge.BoostBaseFeePercentage <value>

    Percentage of the base fee that is used for boosting. Defaults to 5.

  • Surge.EstimatedOffchainProvingCost​

    --surge-estimatedoffchainprovingcost <value>
    --Surge.EstimatedOffchainProvingCost <value>

    Estimated offchain proving cost per batch in wei (~$5.5 @ $3000/ETH). Defaults to 1833333333333333.

  • Surge.FeeHistoryBlockCount​

    --surge-feehistoryblockcount <value>
    --Surge.FeeHistoryBlockCount <value>

    Number of blocks to consider for computing the L1 average base fee. Defaults to 200.

  • Surge.FixedProposalGas​

    --surge-fixedproposalgas <value>
    --Surge.FixedProposalGas <value>

    L1 gas for batch proposal. Defaults to 75000.

  • Surge.FixedProposalGasWithFullInboxBuffer​

    --surge-fixedproposalgaswithfullinboxbuffer <value>
    --Surge.FixedProposalGasWithFullInboxBuffer <value>

    L1 gas for batch proposal with full inbox buffer. Defaults to 50000.

  • Surge.FixedProvingGas​

    --surge-fixedprovinggas <value>
    --Surge.FixedProvingGas <value>

    L1 gas for proof verification. Defaults to 30000.

  • Surge.GasPriceRefreshTimeoutSeconds​

    --surge-gaspricerefreshtimeoutseconds <value>
    --Surge.GasPriceRefreshTimeoutSeconds <value>

    Maximum time in seconds to use cached gas price estimates before forcing a refresh. Defaults to 12.

  • Surge.L1EthApiEndpoint​

    --surge-l1ethapiendpoint <value>
    --Surge.L1EthApiEndpoint <value>

    The URL of the L1 execution node JSON-RPC API. Defaults to null.

  • Surge.L2BlockGasTarget​

    --surge-l2blockgastarget <value>
    --Surge.L2BlockGasTarget <value>

    Target gas per L2 block. Defaults to 40000.

  • Surge.L2GasUsageWindowSize​

    --surge-l2gasusagewindowsize <value>
    --Surge.L2GasUsageWindowSize <value>

    Number of recent L2 blocks to consider for computing the moving average of gas usage. Defaults to 20.

  • Surge.MaxGasLimitRatio​

    --surge-maxgaslimitratio <value>
    --Surge.MaxGasLimitRatio <value>

    Filter transactions exceeding the max allowed ratio of gas limit to the actual gas used (e.g. 1, 2 etc.). Set to 0 to disable. Defaults to 0.

  • Surge.SharingPercentage​

    --surge-sharingpercentage <value>
    --Surge.SharingPercentage <value>

    Percentage of the base fee that is shared with the L2 batch submitter. Defaults to 75.

  • Surge.TaikoInboxAddress​

    --surge-taikoinboxaddress <value>
    --Surge.TaikoInboxAddress <value>

    The address of the TaikoInbox contract. Defaults to null.

  • Surge.TargetBlobCount​

    --surge-targetblobcount <value>
    --Surge.TargetBlobCount <value>

    Target blob count per batch. Defaults to 3.

  • Surge.TdxEnabled​

    --surge-tdxenabled [true|false]
    --Surge.TdxEnabled [true|false]

    Enable TDX attestation support. Allowed values: true false. Defaults to false.

SurgeTdx​

  • SurgeTdx.ConfigPath​

    --surgetdx-configpath <value>
    --SurgeTdx.ConfigPath <value>

    Path to store TDX bootstrap data and keys. Defaults to ~/.config/nethermind/tdx.

  • SurgeTdx.SocketPath​

    --surgetdx-socketpath <value>
    --SurgeTdx.SocketPath <value>

    Path to the tdxs Unix socket. Defaults to /var/tdxs.sock.

Sync​

  • Sync.AncientBlockAccessListsBarrier​

    --sync-ancientblockaccesslistsbarrier <value>
    --Sync.AncientBlockAccessListsBarrier <value>

    The earliest block access list downloaded with fast sync when DownloadBlockAccessListsInFastSync is set to true. The actual value is determined as follows:

    max{ 1, min{ PivotNumber, AncientBlockAccessListsBarrier } }

    Defaults to 0.

  • Sync.AncientBodiesBarrier​

    --sync-ancientbodiesbarrier <value>
    --Sync.AncientBodiesBarrier <value>

    The earliest body downloaded with fast sync when DownloadBodiesInFastSync is set to true. The actual value is determined as follows:

    max{ 1, min{ PivotNumber, AncientBodiesBarrier } }

    Defaults to 0.

  • Sync.AncientReceiptsBarrier​

    --sync-ancientreceiptsbarrier <value>
    --Sync.AncientReceiptsBarrier <value>

    The earliest receipt downloaded with fast sync when DownloadReceiptsInFastSync is set to true. The actual value is determined as follows:

    max{ 1, min{ PivotNumber, max{ AncientBodiesBarrier, AncientReceiptsBarrier } } }

    Defaults to 0.

  • Sync.DownloadBlockAccessListsInFastSync​

    --sync-downloadblockaccesslistsinfastsync [true|false]
    --Sync.DownloadBlockAccessListsInFastSync [true|false]

    Whether to download block access lists in the Fast sync mode. Allowed values: true false. Defaults to true.

  • Sync.DownloadBodiesInFastSync​

    --sync-downloadbodiesinfastsync [true|false]
    --Sync.DownloadBodiesInFastSync [true|false]

    Whether to download the block bodies in the Fast sync mode. Allowed values: true false. Defaults to true.

  • Sync.DownloadHeadersInFastSync​

    --sync-downloadheadersinfastsync [true|false]
    --Sync.DownloadHeadersInFastSync [true|false]

    Whether to download the old block headers in the Fast sync mode. If false, Nethermind downloads only recent blocks headers. Allowed values: true false. Defaults to true.

  • Sync.DownloadReceiptsInFastSync​

    --sync-downloadreceiptsinfastsync [true|false]
    --Sync.DownloadReceiptsInFastSync [true|false]

    Whether to download receipts in the Fast sync mode. This slows down the process by a few hours but allows to interact with dApps that perform extensive historical logs searches. Allowed values: true false. Defaults to true.

  • Sync.ExitOnSynced​

    --sync-exitonsynced [true|false]
    --Sync.ExitOnSynced [true|false]

    Whether to shut down Nethermind once sync is finished. Allowed values: true false. Defaults to false.

  • Sync.ExitOnSyncedWaitTimeSec​

    --sync-exitonsyncedwaittimesec <value>
    --Sync.ExitOnSyncedWaitTimeSec <value>

    The time, in seconds, to wait before shutting down Nethermind once sync is finished. Defaults to 60.

  • Sync.FastSync​

    --sync-fastsync [true|false]
    --Sync.FastSync [true|false]

    Whether to use the Fast sync mode (the eth/63 synchronization algorithm). Allowed values: true false. Defaults to false.

  • Sync.FixReceipts​

    --sync-fixreceipts [true|false]
    --Sync.FixReceipts [true|false]

    Whether to enable receipts validation that checks for receipts that might be missing because of a bug. If needed, receipts are downloaded from the network. The range to verify is FixReceiptsStartingBlock..FixReceiptsLastBlock. Allowed values: true false. Defaults to false.

  • Sync.FixReceiptsLastBlock​

    --sync-fixreceiptslastblock <value>
    --Sync.FixReceiptsLastBlock <value>

    The last block (inclusive) to verify/fix receipts for. When not set, defaults to the chain head minus 2, to which it's always clamped. Defaults to null.

  • Sync.FixReceiptsStartingBlock​

    --sync-fixreceiptsstartingblock <value>
    --Sync.FixReceiptsStartingBlock <value>

    The first block (inclusive) to verify/fix receipts for. When not set, defaults to the ancient receipts barrier, which depends on the pivot number; in that case the pivot number must be the same one used originally as it's the cut-off point. Defaults to null.

  • Sync.FixTotalDifficulty​

    --sync-fixtotaldifficulty [true|false]
    --Sync.FixTotalDifficulty [true|false]

    Whether to recalculate the total difficulty from FixTotalDifficultyStartingBlock to FixTotalDifficultyLastBlock. Allowed values: true false. Defaults to false.

  • Sync.FixTotalDifficultyLastBlock​

    --sync-fixtotaldifficultylastblock <value>
    --Sync.FixTotalDifficultyLastBlock <value>

    The last block to recalculate the total difficulty for. If not specified, the best known block is used. Defaults to null.

  • Sync.FixTotalDifficultyStartingBlock​

    --sync-fixtotaldifficultystartingblock <value>
    --Sync.FixTotalDifficultyStartingBlock <value>

    The first block to recalculate the total difficulty for. Defaults to 1.

  • Sync.MaxAttemptsToUpdatePivot​

    --sync-maxattemptstoupdatepivot <value>
    --Sync.MaxAttemptsToUpdatePivot <value>

    The max number of attempts to update the pivot block based on the FCU message from the consensus client. Set to -1 to retry forever (recommended for nodes that may start before the consensus client is available). Defaults to -1.

  • Sync.MaxProcessingThreads​

    --sync-maxprocessingthreads <value>
    --Sync.MaxProcessingThreads <value>

    The max number of threads used for syncing. 0 to use the number of logical processors. Snap and state sync allow up to twice this many in-flight requests while limiting concurrent response processing to this value. Defaults to 0.

  • Sync.NetworkingEnabled​

    --sync-networkingenabled [true|false]
    --Sync.NetworkingEnabled [true|false]

    Whether to connect to peers and sync. Allowed values: true false. Defaults to true.

  • Sync.PivotHash​

    --sync-pivothash <value>
    --Sync.PivotHash <value>

    The hash of the pivot block for the Fast sync mode. Defaults to null.

  • Sync.PivotNumber​

    --sync-pivotnumber <value>
    --Sync.PivotNumber <value>

    The number of the pivot block for the Fast sync mode. Defaults to 0.

  • Sync.PivotTotalDifficulty​

    --sync-pivottotaldifficulty <value>
    --Sync.PivotTotalDifficulty <value>

    The total difficulty of the pivot block for the Fast sync mode. Defaults to null.

  • Sync.ReconstructFinalizedStateFromBlockAccessLists​

    --sync-reconstructfinalizedstatefromblockaccesslists [true|false]
    --Sync.ReconstructFinalizedStateFromBlockAccessLists [true|false]

    Whether to catch up consensus-finalized blocks by applying their EIP-7928 block access lists instead of executing them. State and receipts roots are verified; unfinalized blocks, and blocks whose data is unavailable or mismatched, execute normally. Allowed values: true false. Defaults to false.

  • Sync.SnapServingMaxDepth​

    --sync-snapservingmaxdepth <value>
    --Sync.SnapServingMaxDepth <value>

    The maximum depth (in blocks) for serving snap sync requests. Higher values allow serving requests for older blocks, useful for networks with fast block times like Arbitrum. Defaults to 128.

  • Sync.SnapSync​

    --sync-snapsync [true|false]
    --Sync.SnapSync [true|false]

    Whether to use the Snap sync mode. Allowed values: true false. Defaults to false.

  • Sync.SnapSyncAccountRangePartitionCount​

    --sync-snapsyncaccountrangepartitioncount <value>
    --Sync.SnapSyncAccountRangePartitionCount <value>

    The number of account range partitions to create. Increases the Snap sync request concurrency. Allowed values are between 1 and 256. Defaults to 8.

  • Sync.StrictMode​

    --sync-strictmode [true|false]
    --Sync.StrictMode [true|false]

    Whether to disable some optimizations and do a more extensive sync. Useful when sync state is corrupted. Allowed values: true false. Defaults to false.

  • Sync.SynchronizationEnabled​

    --sync-synchronizationenabled [true|false]
    --Sync.SynchronizationEnabled [true|false]

    Whether to download and process new blocks. Allowed values: true false. Defaults to true.

  • Sync.UseGethLimitsInFastBlocks​

    --sync-usegethlimitsinfastblocks [true|false]
    --Sync.UseGethLimitsInFastBlocks [true|false]

    Whether to make smaller requests, in Fast Blocks mode, to avoid Geth from disconnecting. On the Geth-heavy networks (e.g., Mainnet), it's a desired behavior while on Nethermind- or OpenEthereum-heavy networks (Aura), it slows down the sync by a factor of ~4. Allowed values: true false. Defaults to true.

TraceStore​

  • TraceStore.AdditionalRocksDbOptions​

    --tracestore-additionalrocksdboptions <value>
    --TraceStore.AdditionalRocksDbOptions <value>

    Semicolon-terminated RocksDB options for stored traces, appended after the global additional RocksDB options.

  • TraceStore.AddressIndexEnabled​

    --tracestore-addressindexenabled [true|false]
    --TraceStore.AddressIndexEnabled [true|false]

    Whether to build a separate trace-address index for OTS history. Requires BlocksToKeep=0 and TraceTypes including Trace. Uncovered history is scanned. Allowed values: true false. Defaults to false.

  • TraceStore.AddressIndexFromBlock​

    --tracestore-addressindexfromblock <value>
    --TraceStore.AddressIndexFromBlock <value>

    The first block to index. Earlier history is scanned, not assumed empty. Defaults to 1.

  • TraceStore.AddressIndexLag​

    --tracestore-addressindexlag <value>
    --TraceStore.AddressIndexLag <value>

    The number of blocks behind the head at which trace-address indexing stops. This is not a finality guarantee. Defaults to 64.

  • TraceStore.AddressIndexReset​

    --tracestore-addressindexreset [true|false]
    --TraceStore.AddressIndexReset [true|false]

    Whether to reset only the trace-address index on startup. Use once after checkpoint invalidation, then disable it. Allowed values: true false. Defaults to false.

  • TraceStore.BlocksToKeep​

    --tracestore-blockstokeep <value>
    --TraceStore.BlocksToKeep <value>

    The number of blocks to store, counting from the head. If 0, all traces of the processed blocks are stored. Defaults to 10000.

  • TraceStore.DeserializationParallelization​

    --tracestore-deserializationparallelization <value>
    --TraceStore.DeserializationParallelization <value>

    The max parallelization when deserialization requests the trace_filter method. 0 to use the number of logical processors. If you experience a resource shortage, set to a low number. Defaults to 0.

  • TraceStore.Enabled​

    --tracestore-enabled [true|false]
    --TraceStore.Enabled [true|false]

    Whether to enable the TraceStore plugin. If enabled, traces come from the database whenever possible. Allowed values: true false. Defaults to false.

  • TraceStore.OtsModuleConcurrentInstances​

    --tracestore-otsmoduleconcurrentinstances <value>
    --TraceStore.OtsModuleConcurrentInstances <value>

    The number of concurrent instances of the OTS RPC module. Values below 1 use 1. Raising this limit increases concurrent historical scans and their CPU, I/O and memory load. Defaults to 2.

  • TraceStore.RocksDbOptions​

    --tracestore-rocksdboptions <value>
    --TraceStore.RocksDbOptions <value>

    Semicolon-terminated RocksDB options for stored traces, appended to the global RocksDB defaults.

  • TraceStore.TraceTypes​

    --tracestore-tracetypes <value>
    --TraceStore.TraceTypes <value>

    The types of traces to store. Requests for unrecorded types fall back to live tracing and require available historical state. trace_block and trace_filter require both Trace and Rewards to use the store. Transaction replays requesting Rewards always trace live because stored transaction traces omit block rewards.

    Allowed values:

    • None: None.
    • VmTrace: Provides a full trace of the EVM state throughout the execution of transactions at each op-code, including subcalls.
    • StateDiff: Provides Ethereum state difference detailing all altered portions of the state made due to the execution of transactions.
    • Trace: Provides transaction trace, including subcalls.
    • Rewards: Includes block rewards in the trace when tracing full blocks.
    • All: Combines the Rewards StateDiff Trace VmTrace options.

    Defaults to Trace, Rewards.

TrustedInput​

  • TrustedInput.CacheSize​

    --trustedinput-cachesize <value>
    --TrustedInput.CacheSize <value>

    The number of most recent captured inputs kept in memory. Defaults to 64.

  • TrustedInput.Enabled​

    --trustedinput-enabled [true|false]
    --TrustedInput.Enabled [true|false]

    Whether to capture trusted zkVM guest inputs while processing blocks, and serve them over trustedinput_getInput. A capture runs in the background after the import: it recovers each sender's and ECRECOVER key once more for the hints and encodes the input, and the last CacheSize inputs stay in memory, each the size of the block's witness, transactions and codes. Capture skips blocks while busy; RPC regenerates missing inputs. Allowed values: true false. Defaults to false.

  • TrustedInput.OutputDirectory​

    --trustedinput-outputdirectory <value>
    --TrustedInput.OutputDirectory <value>

    The directory each captured input is also written to, as <number>-<hash>.nti. No files are written when unset. Defaults to null.

TxPool​

  • TxPool.AcceptTxWhenNotSynced​

    --txpool-accepttxwhennotsynced [true|false]
    --TxPool.AcceptTxWhenNotSynced [true|false]

    Accept transactions when not synced. Allowed values: true false. Defaults to false.

  • TxPool.BlobCacheSize​

    --txpool-blobcachesize <value>
    --TxPool.BlobCacheSize <value>

    The max number of full blob transactions cached in memory. The default value uses max 200MB for 6 blobs where one blob is 33MB (256 * 128KB) Defaults to 256.

  • TxPool.BlobsSupport​

    --txpool-blobssupport <value>
    --TxPool.BlobsSupport <value>

    The blobs support mode.

    Allowed values:

    • Disabled: Disables support for blob transactions.
    • InMemory: Stores the blob transactions in memory only.
    • Storage: Stores the blob transactions in the permanent storage.
    • StorageWithReorgs: Stores the blob transactions in the permanent storage with support for restoring reorganized transactions to the blob pool.

    Defaults to StorageWithReorgs.

  • TxPool.CurrentBlobBaseFeeRequired​

    --txpool-currentblobbasefeerequired [true|false]
    --TxPool.CurrentBlobBaseFeeRequired [true|false]

    Whether to require the max fee per blob gas to be greater than or equal to the current blob base fee when adding a blob transaction to the pool. Allowed values: true false. Defaults to true.

  • TxPool.FrameTxEvictionRetryBudget​

    --txpool-frametxevictionretrybudget <value>
    --TxPool.FrameTxEvictionRetryBudget <value>

    EIP-8141: the number of distinct chain heads a frame transaction may fail to approve any payment across, during block production, before the pool evicts it. Some failures turn on head state that only a new head can clear (an out-of-range recent-root reference, a SENDER frame reached before its approval), so the budget is counted per head: repeated production passes against the same head spend a single unit. A value above 1 keeps a transiently-failing transaction for that many heads at the cost of re-simulating its validation prefix once per head; 1 (or below) evicts on the first failed attempt, the pre-budget behaviour. The budget is counted per pool residency, not per transaction: an evicted transaction may be resubmitted, and a resubmitted one is granted a fresh budget, because the failures it buys heads for turn on chain state that the time out of the pool may have cleared. Raising it therefore multiplies by that factor the production-time simulation a peer can provoke by re-gossiping a transaction that keeps failing. Defaults to 1.

  • TxPool.FrameTxMaxCodeDependencies​

    --txpool-frametxmaxcodedependencies <value>
    --TxPool.FrameTxMaxCodeDependencies <value>

    EIP-8298: the max distinct accounts one frame transaction's validation prefix may rely on, counting accounts whose code can change through DELEGATECALL or CALLCODE and accounts EIP-8151 ecRecover returned. A prefix relying on more is rejected. 0 to reject all such transactions. Defaults to 8.

  • TxPool.FrameTxMaxPendingPerDelegatingCode​

    --txpool-frametxmaxpendingperdelegatingcode <value>
    --TxPool.FrameTxMaxPendingPerDelegatingCode <value>

    EIP-8298: the max pending frame transactions whose validation prefix relies on the same account, when that account's code can change through DELEGATECALL or CALLCODE, or when EIP-8151 ecRecover returned that account. An account relied on only in the pay frame of a code-carrying paymaster other than the sender takes one slot per paymaster instead, in a separate set of this many slots, as that paymaster's own pending limit bounds its transactions. 0 to reject all such transactions. Defaults to 16.

  • TxPool.FrameTxMaxVerifyGas​

    --txpool-frametxmaxverifygas <value>
    --TxPool.FrameTxMaxVerifyGas <value>

    The node's execution-gas budget for a frame transaction's validation prefix plus signature verification. Positive values below the shared EIP-8141 MAX_VERIFY_GAS floor are raised to that floor. Higher values allow local headroom on any network. 0 lifts the static prefix admission limit while signature verification and prefix simulation retain the default 300,000-gas node budget. This setting does not affect block validity. Defaults to 300000.

  • TxPool.FrameTxMaxVerifyStateGas​

    --txpool-frametxmaxverifystategas <value>
    --TxPool.FrameTxMaxVerifyStateGas <value>

    EIP-8141 MAX_VERIFY_STATE_GAS: the max state gas a frame transaction's validation prefix may budget across its limits.state for it to be accepted into the public mempool. EIP-8250 charges a first use of each keyed nonce key 97,920 state gas, so at the default value a first-use set of more than five keys does not propagate. 0 to lift the limit. Raise it only on a test network. Defaults to 500000.

  • TxPool.FrameTxPeerSimulationFairShare​

    --txpool-frametxpeersimulationfairshare [true|false]
    --TxPool.FrameTxPeerSimulationFairShare [true|false]

    EIP-8141: whether each peer gets a fair share of FrameTxSimulationBudgetPerHeadMs for frame transactions that fail validation. Once a peer has spent its share, its next frame transactions in that head are dropped unvalidated and count as rejections towards its flood limits. Ignored when FrameTxSimulationBudgetPerHeadMs is 0. Allowed values: true false. Defaults to false.

  • TxPool.FrameTxRevalidationDeferralBudget​

    --txpool-frametxrevalidationdeferralbudget <value>
    --TxPool.FrameTxRevalidationDeferralBudget <value>

    EIP-8141: the number of consecutive chain heads a pending frame transaction the pool deferred rather than judged may be carried across before it stops re-queuing it. Any head that revalidates it without deferring it again resets the count. 0 stops re-queuing entirely. Defaults to 2.

  • TxPool.FrameTxSimulationBudgetPerHeadMs​

    --txpool-frametxsimulationbudgetperheadms <value>
    --TxPool.FrameTxSimulationBudgetPerHeadMs <value>

    The total time, in milliseconds, spent simulating EIP-8141 validation prefixes per chain head. Once spent, opaque frame transactions are rejected until the next head. 0 to lift the limit. Defaults to 1000.

  • TxPool.FrameTxSimulationTimeoutMs​

    --txpool-frametxsimulationtimeoutms <value>
    --TxPool.FrameTxSimulationTimeoutMs <value>

    The max time, in milliseconds, one EIP-8141 validation-prefix simulation may run before the transaction is rejected. A local submission may also wait this long for a busy simulator, so its ceiling is twice this value. 0 to lift the limit. Defaults to 250.

  • TxPool.FrameTxWidthCap​

    --txpool-frametxwidthcap <value>
    --TxPool.FrameTxWidthCap <value>

    EIP-8141 MATCHA width_cap: the max width, in gas, a sender or a paymaster may hold. Newly finalized gas earns width only up to this cap; lowering it never shrinks width already earned. 0 lifts the cap. Used only when FrameTxWidthEnabled is set. Defaults to 0.

  • TxPool.FrameTxWidthEnabled​

    --txpool-frametxwidthenabled [true|false]
    --TxPool.FrameTxWidthEnabled [true|false]

    Whether each pending EIP-8250 keyed-nonce frame transaction a sender admits beyond the single EIP-8141 baseline transaction must spend sender width, earned from the gas the sender's finalized keyed-nonce frame transactions paid. Also rejects a keyed-nonce frame transaction whose nonce keys overlap a pending one of the same sender. The same rule applies to a code-carrying paymaster in place of the EIP-8141 cap on its pending sponsored frame transactions: each one beyond the single baseline transaction must spend paymaster width, earned from the gas of the finalized frame transactions the paymaster paid for. Experimental. Allowed values: true false. Defaults to false.

  • TxPool.FrameTxWidthSafetyFactorPermille​

    --txpool-frametxwidthsafetyfactorpermille <value>
    --TxPool.FrameTxWidthSafetyFactorPermille <value>

    EIP-8141 MATCHA safety_factor, in permille of a keyed-nonce frame transaction's admission_gas, that fixes the width its admission and each revalidation spends: charge = ceil(safety_factor * admission_gas). admission_gas is declared work: the transaction's intrinsic gas, which prices its data, signatures, nonce key access and recent-root references, plus the validation prefix's execution gas limits, not the gas the prefix actually burns. 1000 charges exactly that declared gas; a higher value adds headroom for client work EVM gas does not measure. Values below 1000 are raised to 1000. Spent width is never returned. Used only when FrameTxWidthEnabled is set. Defaults to 1000.

  • TxPool.GasLimit​

    --txpool-gaslimit <value>
    --TxPool.GasLimit <value>

    The max transaction gas allowed. Defaults to null.

  • TxPool.HashCacheSize​

    --txpool-hashcachesize <value>
    --TxPool.HashCacheSize <value>

    The max number of cached hashes of already known transactions. Keep it well above Size + PersistentBlobStorageSize: a pooled transaction whose hash is evicted is fetched from peers again, and resubmitting it is rejected as an underpriced replacement. 0 disables the long-term cache, so hashes are only remembered until the next head. Defaults to 131072.

  • TxPool.InMemoryBlobPoolSize​

    --txpool-inmemoryblobpoolsize <value>
    --TxPool.InMemoryBlobPoolSize <value>

    The max number of full blob transactions stored in memory. Used only if persistent storage is disabled. Defaults to 512.

  • TxPool.MaxBlobTxSize​

    --txpool-maxblobtxsize <value>
    --TxPool.MaxBlobTxSize <value>

    The max blob transaction size allowed, excluding blobs, in bytes. Defaults to 1048576.

  • TxPool.MaxPendingBlobTxsPerSender​

    --txpool-maxpendingblobtxspersender <value>
    --TxPool.MaxPendingBlobTxsPerSender <value>

    The max number of pending blob transactions per single sender. 0 to lift the limit. Defaults to 16.

  • TxPool.MaxPendingTxsPerSender​

    --txpool-maxpendingtxspersender <value>
    --TxPool.MaxPendingTxsPerSender <value>

    The max number of pending transactions per single sender. 0 to lift the limit. Defaults to 0.

  • TxPool.MaxTxSize​

    --txpool-maxtxsize <value>
    --TxPool.MaxTxSize <value>

    The max transaction size allowed, in bytes. Defaults to 131072.

  • TxPool.MinBaseFeeThreshold​

    --txpool-minbasefeethreshold <value>
    --TxPool.MinBaseFeeThreshold <value>

    The minimal percentage of the current base fee that must be surpassed by the max fee (max_fee_per_gas) for the transaction to be broadcasted. Defaults to 70.

  • TxPool.MinBlobTxPriorityFee​

    --txpool-minblobtxpriorityfee <value>
    --TxPool.MinBlobTxPriorityFee <value>

    The minimum priority fee in wei for blob transactions to be accepted into the transaction pool. Defaults to 0.

  • TxPool.PeerNotificationThreshold​

    --txpool-peernotificationthreshold <value>
    --TxPool.PeerNotificationThreshold <value>

    The average percentage of transaction hashes from persistent broadcast sent to a peer together with hashes of the last added transactions. Defaults to 5.

  • TxPool.PersistentBlobStorageSize​

    --txpool-persistentblobstoragesize <value>
    --TxPool.PersistentBlobStorageSize <value>

    The max number of full blob transactions stored in the database (increasing the number of transactions in the blob pool also results in higher memory usage). The default value uses max 13GB for 6 blobs where one blob is 2GB (16386 * 128KB). Defaults to 16384.

  • TxPool.PersistentBroadcastEnabled​

    --txpool-persistentbroadcastenabled [true|false]
    --TxPool.PersistentBroadcastEnabled [true|false]

    Add local transactions to persistent broadcast. Allowed values: true false. Defaults to true.

  • TxPool.ReportMinutes​

    --txpool-reportminutes <value>
    --TxPool.ReportMinutes <value>

    The current transaction pool state reporting interval, in minutes. Defaults to null.

  • TxPool.Size​

    --txpool-size <value>
    --TxPool.Size <value>

    The max number of transactions held in the mempool (the more transactions in the mempool, the more memory used). Defaults to 2048.

  • TxPool.SparseBlobProviderProbabilityPercent​

    --txpool-sparseblobproviderprobabilitypercent <value>
    --TxPool.SparseBlobProviderProbabilityPercent <value>

    The EIP-8070 full-provider selection probability for normal sparse blob-pool nodes, in percent. Values are clamped to the protocol-compliant range 15..100. Nodes with at least 64 custody columns act as supernodes and request every announced cell. Defaults to 15.

Wallet​

  • Wallet.DevAccounts​

    --wallet-devaccounts <value>
    --Wallet.DevAccounts <value>

    The number of autogenerated developer accounts to work with. Developer accounts have private keys from 00...01 to 00...n. Defaults to 10.

Environment variables​

All configuration options have their environment variable counterparts, so Nethermind can be configured with environment variables the same way as with command line options. The environment variables follow this naming convention:

NETHERMIND_{NAMESPACE}CONFIG_{OPTION}

For instance, the environment variable equivalent of the JsonRpc.JwtSecretFile option is NETHERMIND_JSONRPCCONFIG_JWTSECRETFILE. For the full list of the available environment variables, see Options by namespaces.

Configuration file​

The configuration files use JSON format. The bundled configuration files are located in the configs directory and named after the network they are used for. For instance, see the Mainnet configuration file mainnet.json.