geth to maintain a minimal diff.
The following sections provide detailed documentation for all available op-geth configuration options, organized by functionality.
Account management
Options for managing accounts, keystores, and external signers.keystore
Directory for the keystore. The default is inside the data directory.- Syntax
- Example
- Environment Variable
--keystore <value>lightkdf
Reduce key-derivation RAM & CPU usage at some expense of KDF strength. The default value isfalse.
- Syntax
- Example
- Environment Variable
--lightkdfpassword
Password file to use for non-interactive password input.- Syntax
- Example
- Environment Variable
--password <value>pcscdpath
Path to the smartcard daemon (pcscd) socket file. The default value is"/run/pcscd/pcscd.comm".
- Syntax
- Example
- Environment Variable
--pcscdpath <value>signer
External signer (url or path to ipc file).- Syntax
- Example
- Environment Variable
--signer <value>usb
Enable monitoring and management of USB hardware wallets. The default value isfalse.
- Syntax
- Example
- Environment Variable
--usbRPC and API configuration
Configure HTTP, WebSocket, authenticated RPC endpoints, and console access.authrpc.addr
Listening address for authenticated APIs. The default value is"localhost".
- Syntax
- Example
- Environment Variable
--authrpc.addr <value>authrpc.jwtsecret
Path to a JWT secret to use for authenticated RPC endpoints.- Syntax
- Example
- Environment Variable
--authrpc.jwtsecret <value>authrpc.port
Listening port for authenticated APIs. The default value is8551.
- Syntax
- Example
- Environment Variable
--authrpc.port <value>authrpc.vhosts
Comma separated list of virtual hostnames from which to accept requests (server enforced). The default value is"localhost". Accepts ’*’ wildcard.
- Syntax
- Example
- Environment Variable
--authrpc.vhosts <value>exec
Execute JavaScript statement.- Syntax
- Example
- Environment Variable
--exec <value>graphql
Enable GraphQL on the HTTP-RPC server. Note that GraphQL can only be started if an HTTP server is started as well. The default value isfalse.
- Syntax
- Example
- Environment Variable
--graphqlgraphql.corsdomain
Comma separated list of domains from which to accept cross origin requests (browser enforced).- Syntax
- Example
- Environment Variable
--graphql.corsdomain <value>graphql.vhosts
Comma separated list of virtual hostnames from which to accept requests (server enforced). The default value is"localhost". Accepts ’*’ wildcard.
- Syntax
- Example
- Environment Variable
--graphql.vhosts <value>header
Pass custom headers to the RPC server when using--remotedb or the geth attach console. This flag can be given multiple times.
- Syntax
- Example
- Environment Variable
--header <value>, -H <value>http
Enable the HTTP-RPC server. The default value isfalse.
- Syntax
- Example
- Environment Variable
--httphttp.addr
HTTP-RPC server listening interface. The default value is"localhost".
- Syntax
- Example
- Environment Variable
--http.addr <value>http.api
API’s offered over the HTTP-RPC interface.- Syntax
- Example
- Environment Variable
--http.api <value>http.corsdomain
Comma separated list of domains from which to accept cross origin requests (browser enforced).- Syntax
- Example
- Environment Variable
--http.corsdomain <value>http.port
HTTP-RPC server listening port. The default value is8545.
- Syntax
- Example
- Environment Variable
--http.port <value>http.rpcprefix`\
HTTP path prefix on which JSON-RPC is served. Use ’/’ to serve on all paths.- Syntax
- Example
- Environment Variable
--http.rpcprefix <value>http.vhosts
Comma separated list of virtual hostnames from which to accept requests (server enforced). The default value is"localhost". Accepts ’*’ wildcard.
- Syntax
- Example
- Environment Variable
--http.vhosts <value>ipcdisable
Disable the IPC-RPC server. The default value isfalse.
- Syntax
- Example
- Environment Variable
--ipcdisableipcpath
Filename for IPC socket/pipe within the datadir (explicit paths escape it).- Syntax
- Example
- Environment Variable
--ipcpath <value>jspath
JavaScript root path forloadScript. The default value is . (current directory).
- Syntax
- Example
- Environment Variable
--jspath <value>preload
Comma separated list of JavaScript files to preload into the console.- Syntax
- Example
- Environment Variable
--preload <value>rpc.allow-unprotected-txs
Allow for unprotected (non EIP155 signed) transactions to be submitted via RPC. The default value isfalse.
- Syntax
- Example
- Environment Variable
--rpc.allow-unprotected-txsrpc.batch-request-limit
Maximum number of requests in a batch. The default value is1000.
- Syntax
- Example
- Environment Variable
--rpc.batch-request-limit=<value>rpc.batch-response-max-size
Maximum number of bytes returned from a batched call. The default value is25000000.
- Syntax
- Example
- Environment Variable
--rpc.batch-response-max-size=<value>rpc.evmtimeout
Sets a timeout used for eth_call (0=infinite). The default value is5s.
- Syntax
- Example
- Environment Variable
--rpc.evmtimeout <value>rpc.gascap
Sets a cap on gas that can be used in eth_call/estimateGas (0=infinite). The default value is50000000.
- Syntax
- Example
- Environment Variable
--rpc.gascap=<value>rpc.txfeecap
Sets a cap on transaction fee (in ether) that can be sent via the RPC APIs (0 = no cap). The default value is1.
- Syntax
- Example
- Environment Variable
--rpc.txfeecap=<value>ws
Enable the WS-RPC server. The default value isfalse.
- Syntax
- Example
- Environment Variable
--wsws.addr
WS-RPC server listening interface. The default value is"localhost".
- Syntax
- Example
- Environment Variable
--ws.addr=<value>ws.api
API’s offered over the WS-RPC interface.- Syntax
- Example
- Environment Variable
--ws.api=<value>ws.origins
Origins from which to accept websockets requests.- Syntax
- Example
- Environment Variable
--ws.origins=<value>ws.port
WS-RPC server listening port. The default value is8546.
- Syntax
- Example
- Environment Variable
--ws.port=<value>ws.rpcprefix
HTTP path prefix on which JSON-RPC is served over WS. Use ’/’ to serve on all paths.- Syntax
- Example
- Environment Variable
--ws.rpcprefix=<value>Development Chain
Options for running a local development chain with pre-funded accounts.dev
Ephemeral proof-of-authority network with a pre-funded developer account, mining enabled. The default value isfalse.
- Syntax
- Example
- Environment Variable
--devdev.gaslimit
Initial block gas limit. The default value is11500000.
- Syntax
- Example
- Environment Variable
--dev.gaslimit=<value>dev.period
Block period to use in developer mode (0 = mine only if transaction pending). The default value is0.
- Syntax
- Example
- Environment Variable
--dev.period=<value>Chain and network selection
Configure which network to connect to and manage blockchain data storage.bloomfilter.size
Megabytes of memory allocated to bloom-filter for pruning. The default value is2048.
- Syntax
- Example
- Environment Variable
--bloomfilter.size=<value>config
TOML configuration file.- Syntax
- Example
- Environment Variable
--config=<value>datadir
Data directory for the databases and keystore. The default value is/home/<user>/.ethereum.
- Syntax
- Example
- Environment Variable
--datadir=<value>datadir.ancient
Root directory for ancient data (default = inside chaindata).- Syntax
- Example
- Environment Variable
--datadir.ancient=<value>datadir.era
Root directory for era1 history (default = inside ancient/chain).- Syntax
- Example
- Environment Variable
--datadir.era=<value>datadir.minfreedisk
Minimum free disk space in MB, once reached triggers auto shut down (default = —cache.gc converted to MB, 0 = disabled).- Syntax
- Example
- Environment Variable
--datadir.minfreedisk=<value>db.engine
Backing database implementation to use (‘pebble’ or ‘leveldb’).- Syntax
- Example
- Environment Variable
--db.engine=<value>eth.requiredblocks
Comma separated block number-to-hash mappings to require for peering (<number>=<hash>).
- Syntax
- Example
- Environment Variable
--eth.requiredblocks=<value>exitwhensynced
Exits after block synchronization completes. The default value isfalse.
- Syntax
- Example
- Environment Variable
--exitwhensyncedholesky
Holesky network: pre-configured proof-of-stake test network. The default value isfalse.
- Syntax
- Example
- Environment Variable
--holeskyhoodi
Hoodi network: pre-configured proof-of-stake test network. The default value isfalse.
- Syntax
- Example
- Environment Variable
--hoodimainnet
Ethereum mainnet. The default value isfalse.
- Syntax
- Example
- Environment Variable
--mainnetnetworkid
Explicitly set network id (integer). The default value is0. For testnets: use —sepolia, —holesky, —hoodi instead.
- Syntax
- Example
- Environment Variable
--networkid <value>op-network, beta.op-network
Select a pre-configured OP-Stack network (warning: op-mainnet and op-goerli require special sync, datadir is recommended), options: arena-z-mainnet, arena-z-sepolia, automata-mainnet, base-devnet-0-sepolia-dev-0, base-mainnet, base-sepolia, bob-mainnet, camp-sepolia, creator-chain-testnet-sepolia, cyber-mainnet, cyber-sepolia, ethernity-mainnet, ethernity-sepolia, fraxtal-mainnet, funki-mainnet, funki-sepolia, hashkeychain-mainnet, ink-mainnet, ink-sepolia, lisk-mainnet, lisk-sepolia, lyra-mainnet, metal-mainnet, metal-sepolia, mint-mainnet, mode-mainnet, mode-sepolia, op-mainnet, op-sepolia, oplabs-devnet-0-sepolia-dev-0, orderly-mainnet, ozean-sepolia, pivotal-sepolia, polynomial-mainnet, race-mainnet, race-sepolia, radius_testnet-sepolia, redstone-mainnet, rehearsal-0-bn-0-rehearsal-0-bn, rehearsal-0-bn-1-rehearsal-0-bn, settlus-mainnet-mainnet, settlus-sepolia-sepolia, shape-mainnet, shape-sepolia, silent-data-mainnet-mainnet, snax-mainnet, soneium-mainnet, soneium-minato-sepolia, sseed-mainnet, swan-mainnet, swell-mainnet, tbn-mainnet, tbn-sepolia, unichain-mainnet, unichain-sepolia, worldchain-mainnet, worldchain-sepolia, xterio-eth-mainnet, zora-mainnet, zora-sepolia- Syntax
- Example
- Environment Variable
--op-network=<value>override.cancun
Manually specify the Cancun fork timestamp, overriding the bundled setting. The default value is0.
- Syntax
- Example
- Environment Variable
--override.cancun=<value>override.canyon
Manually specify the Optimism Canyon fork timestamp, overriding the bundled setting. The default value is0.
- Syntax
- Example
- Environment Variable
--override.canyon=<value>override.ecotone
Manually specify the Optimism Ecotone fork timestamp, overriding the bundled setting. The default value is0.
- Syntax
- Example
- Environment Variable
--override.ecotone=<value>override.fjord
Manually specify the Optimism Fjord fork timestamp, overriding the bundled setting. The default value is0.
- Syntax
- Example
- Environment Variable
--override.fjord=<value>override.granite
Manually specify the Optimism Granite fork timestamp, overriding the bundled setting. The default value is0.
- Syntax
- Example
- Environment Variable
--override.granite=<value>override.holocene
Manually specify the Optimism Holocene fork timestamp, overriding the bundled setting. The default value is0.
- Syntax
- Example
- Environment Variable
--override.holocene=<value>override.interop
Manually specify the Optimism Interop feature-set fork timestamp, overriding the bundled setting.
The default value is 0.
- Syntax
- Example
- Environment Variable
--override.interop=<value>override.isthmus
Manually specify the Optimism Isthmus fork timestamp, overriding the bundled setting. The default value is0.
- Syntax
- Example
- Environment Variable
--override.isthmus=<value>override.jovian
Manually specify the Optimism Jovian fork timestamp, overriding the bundled setting. The default value is0.
- Syntax
- Example
- Environment Variable
--override.jovian=<value>override.osaka
Manually specify the Osaka fork timestamp, overriding the bundled setting. The default value is0.
- Syntax
- Example
- Environment Variable
--override.osaka=<value>override.verkle
Manually specify the Verkle fork timestamp, overriding the bundled setting. The default value is0.
- Syntax
- Example
- Environment Variable
--override.verkle=<value>sepolia
Sepolia network: pre-configured proof-of-work test network. The default value isfalse.
- Syntax
- Example
- Environment Variable
--sepoliasnapshot
Enables snapshot-database mode. The default value is true.
- Syntax
- Example
- Environment Variable
--snapshotGas price oracle
Configure how gas prices are estimated and suggested to users.gpo.blocks
Number of recent blocks to check for gas prices. The default value is20.
- Syntax
- Example
- Environment Variable
--gpo.blocks=<value>gpo.ignoreprice
Gas price below which GPO will ignore transactions. The default value is2.
- Syntax
- Syntax
- Syntax
--gpo.ignoreprice=<value>gpo.maxprice
Maximum transaction priority fee (or gasprice before London fork) to be recommended by GPO. The default value is500000000000.
- Syntax
- Syntax
- Syntax
--gpo.maxprice=<value>gpo.minsuggestedpriorityfee
Minimum transaction priority fee to suggest. Used on OP chains when blocks are not full. The default value is1000000.
- Syntax
- Syntax
- Syntax
--gpo.minsuggestedpriorityfee=<value>gpo.percentile
Suggested gas price is the given percentile of a set of recent transaction gas prices. The default value is60.
- Syntax
- Example
- Environment Variable
--gpo.percentile=<value>Logging and debugging
Control log output, profiling, and debugging tools.go-execution-trace
Write Go execution trace to the given file.- Syntax
- Example
- Environment Variable
--go-execution-trace <value>log.compress
Compress the log files. The default value isfalse.
- Syntax
- Example
- Environment Variable
--log.compresslog.file
Write logs to a file.- Syntax
- Example
- Environment Variable
--log.file=<value>log.format
Log format to use (json|logfmt|terminal).- Syntax
- Example
- Environment Variable
--log.format=<value>log.maxage
Maximum number of days to retain a log file. The default value is30.
- Syntax
- Example
- Environment Variable
--log.maxage=<value>log.maxbackups
Maximum number of log files to retain. The default value is10.
- Syntax
- Example
- Environment Variable
--log.maxbackups=<value>log.maxsize
Maximum size in MBs of a single log file. The default value is100.
- Syntax
- Example
- Environment Variable
--log.maxsize=<value>log.rotate
Enables log file rotation. The default value is false.
- Syntax
- Example
- Environment Variable
--log.rotatelog.vmodule
Per-module verbosity: comma-separated list of<pattern>=<level> (e.g. eth/*=5,p2p=4).
- Syntax
- Example
- Environment Variable
--log.vmodule=<value>nocompaction
Disables database compaction after import. The default value isfalse.
- Syntax
- Example
- Environment Variable
--nocompactionpprof
Enable the pprof HTTP server. The default value isfalse.
- Syntax
- Example
- Environment Variable
--pprofpprof.addr
pprof HTTP server listening interface. The default value is"127.0.0.1".
- Syntax
- Example
- Environment Variable
--pprof.addr=<value>pprof.blockprofilerate
Turn on block profiling with the given rate. The default value is0.
- Syntax
- Example
- Environment Variable
--pprof.blockprofilerate=<value>pprof.cpuprofile
Write CPU profile to the given file.- Syntax
- Syntax
--pprof.cpuprofile=<value>pprof.memprofilerate
Turn on memory profiling with the given rate. The default value is524288.
- Syntax
- Example
- Environment Variable
--pprof.memprofilerate=<value>pprof.port
pprof HTTP server listening port. The default value is6060.
- Syntax
- Example
- Environment Variable
--pprof.port=<value>remotedb
URL for remote database.- Syntax
- Example
- Environment Variable
--remotedb=<value>verbosity
Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail. The default value is3.
- Syntax
- Example
- Environment Variable
--verbosity=<value>Metrics and monitoring
Enable metrics collection and export to monitoring systems.ethstats
Reporting URL of an ethstats service (nodename:secret@host:port).- Syntax
- Example
- Environment Variable
--ethstats=<value>metrics
Enable metrics collection and reporting. The default value isfalse.
- Syntax
- Example
- Environment Variable
--metricsmetrics.addr
Enable stand-alone metrics HTTP server listening interface.- Syntax
- Example
- Environment Variable
--metrics.addr=<value>metrics.expensive
Enable expensive metrics collection and reporting. The default value isfalse.
- Syntax
- Example
- Environment Variable
--metrics.expensivemetrics.influxdb
Enable metrics export/push to an external InfluxDB database. The default value isfalse.
- Syntax
- Example
- Environment Variable
--metrics.influxdbmetrics.influxdb.bucket
InfluxDB bucket name to push reported metrics to (v2 only). The default value is"geth".
- Syntax
- Example
- Environment Variable
--metrics.influxdb.bucket=<value>metrics.influxdb.database
InfluxDB database name to push reported metrics to. The default value is"geth".
- Syntax
- Example
- Environment Variable
--metrics.influxdb.database=<value>metrics.influxdb.endpoint
InfluxDB API endpoint to report metrics to. The default value is"http://localhost:8086".
- Syntax
- Example
- Environment Variable
--metrics.influxdb.endpoint=<value>metrics.influxdb.organization
InfluxDB organization name (v2 only). The default value is"geth".
- Syntax
- Example
- Environment Variable
--metrics.influxdb.organization=<value>metrics.influxdb.password
Password to authorize access to the database. The default value is"test".
- Syntax
- Example
- Environment Variable
--metrics.influxdb.password=<value>metrics.influxdb.tags
Comma-separated InfluxDB tags (key/values) attached to all measurements. The default value is"host=localhost".
- Syntax
- Example
- Environment Variable
--metrics.influxdb.tags=<value>metrics.influxdb.token
Token to authorize access to the database (v2 only). The default value is"test".
- Syntax
- Example
- Environment Variable
--metrics.influxdb.token=<value>metrics.influxdb.username
Username to authorize access to the database. The default value is"test".
- Syntax
- Example
- Environment Variable
--metrics.influxdb.username=<value>metrics.influxdbv2
Enable metrics export/push to an external InfluxDB v2 database. The default value isfalse.
- Syntax
- Example
- Environment Variable
--metrics.influxdbv2metrics.port
Metrics HTTP server listening port. The default value is6060.
Please note that --metrics.addr must be set to start the server.
- Syntax
- Example
- Environment Variable
--metrics.port=<value>General options
Help, version, and other general-purpose flags.help
Show help. This is typically used to display command-line options and usage information.- Syntax
- Syntax
--help or -hsynctarget
Hash of the block to full sync to (dev testing feature).- Syntax
- Example
- Environment Variable
--synctarget=<value>version
Nodes built from source do not output the correct version numbers that are reported on
the GitHub release page.
- Syntax
- Syntax
--version or -vPeer-to-peer networking
Configure P2P connections, peer discovery, and network settings.bootnodes
Comma separated enode URLs for P2P discovery bootstrap.- Syntax
- Example
- Environment Variable
--bootnodes=<value>discovery.dns
Sets DNS discovery entry points (use "" to disable DNS).- Syntax
- Example
- Environment Variable
--discovery.dns=<value>discovery.port
Use a custom UDP port for P2P discovery. The default value is30303.
- Syntax
- Example
- Environment Variable
--discovery.port=<value>discovery.v4
Enables the V4 discovery mechanism. The default value isfalse.
- Syntax
- Example
- Environment Variable
--discovery.v4 or --discv4discovery.v5
Enables the V5 discovery mechanism. The default value istrue.
- Syntax
- Example
- Environment Variable
--discovery.v5 or --discv5identity
Custom node name.- Syntax
- Example
- Environment Variable
--identity=<value>maxpeers
Maximum number of network peers (network disabled if set to 0). The default value is50.
- Syntax
- Example
- Environment Variable
--maxpeers=<value>maxpendpeers
Maximum number of pending connection attempts (defaults used if set to 0). The default value is0.
- Syntax
- Example
- Environment Variable
--maxpendpeers=<value>nat
NAT port mapping mechanism (any|none|upnp|pmp|pmp:<IP>|extip:<IP>|stun:<IP:PORT>). The default value is "any".
- Syntax
- Example
- Environment Variable
--nat=<value>netrestrict
Restricts network communication to the given IP networks (CIDR masks).- Syntax
- Example
- Environment Variable
--netrestrict=<value>nodekey
P2P node key file.- Syntax
- Example
- Environment Variable
--nodekey=<value>nodekeyhex
P2P node key as hex (for testing).- Syntax
- Example
- Environment Variable
--nodekeyhex=<value>nodiscover
Disables the peer discovery mechanism (manual peer addition). The default value isfalse.
- Syntax
- Example
- Environment Variable
--nodiscoverport
Network listening port. The default value is30303.
- Syntax
- Example
- Environment Variable
--port=<value>Performance and resource management
Tune memory usage, caching, and other performance-related settings.cache
Megabytes of memory allocated to internal caching.
The default is 4096 MB for mainnet full node and 128 MB for light mode.
- Syntax
- Example
- Environment Variable
--cache=<value>cache.blocklogs
Size (in number of blocks) of the log cache for filtering. The default value is32.
- Syntax
- Example
- Environment Variable
--cache.blocklogs=<value>cache.database
Percentage of cache memory allowance to use for database I/O. The default value is50.
- Syntax
- Example
- Environment Variable
--cache.database=<value>cache.gc
Percentage of cache memory allowance to use for trie pruning. The default is25% for full mode
and 0% for archive mode.
- Syntax
- Example
- Environment Variable
--cache.gc=<value>cache.noprefetch
Disable heuristic state prefetch during block import (less CPU and disk IO, more time waiting for data). The default value isfalse.
- Syntax
- Example
- Environment Variable
--cache.noprefetchcache.preimages
Enable recording the SHA3/keccak preimages of trie keys. The default value isfalse.
- Syntax
- Example
- Environment Variable
--cache.preimagescache.snapshot
Percentage of cache memory allowance to use for snapshot caching. The default is10% for full mode and 20% for archive mode.
- Syntax
- Example
- Environment Variable
--cache.snapshot=<value>cache.trie
Percentage of cache memory allowance to use for trie caching. The default is15% for full mode and 30% for archive mode.
- Syntax
- Example
- Environment Variable
--cache.trie=<value>crypto.kzg
KZG library implementation to use; gokzg (recommended) or ckzg. The default value is"gokzg".
- Syntax
- Example
- Environment Variable
--crypto.kzg=<value>fdlimit
Raise the open file descriptor resource limit. The default is the system fd limit.- Syntax
- Example
- Environment Variable
--fdlimit=<value>OP Stack specific options
Configuration options specific to OP Stack rollup functionality.rollup.computependingblock
By default, the pending block equals the latest block to save resources and not leak transactions from the tx-pool. This flag enables computing of the pending block from the tx-pool instead. The default value isfalse.
- Syntax
- Example
- Environment Variable
--rollup.computependingblockrollup.disabletxpoolgossip
Disable transaction pool gossip. The default value isfalse.
- Syntax
- Example
- Environment Variable
--rollup.disabletxpoolgossiprollup.enabletxpooladmission
Add RPC-submitted transactions to the txpool (on by default if —rollup.sequencerhttp is not set). The default value isfalse.
- Syntax
- Example
- Environment Variable
--rollup.enabletxpooladmissionrollup.halt
Opt-in option to halt on incompatible protocol version requirements of the given level (major/minor/patch/none), as signaled through the Engine API by the rollup node.- Syntax
- Example
- Environment Variable
--rollup.halt=<value>rollup.historicalrpc
RPC endpoint for historical data.- Syntax
- Example
- Environment Variable
--rollup.historicalrpc <value>rollup.historicalrpctimeout
Timeout for historical RPC requests. The default value is5s.
- Syntax
- Example
- Environment Variable
--rollup.historicalrpctimeout=<value>rollup.interopmempoolfiltering
If using interop, transactions are checked for interop validity before being added to the mempool (experimental). The default value isfalse.
- Syntax
- Example
- Environment Variable
--rollup.interopmempoolfilteringrollup.interoprpc
RPC endpoint for interop message verification (experimental).- Syntax
- Example
- Environment Variable
--rollup.interoprpc <value>rollup.sequencerhttp
HTTP endpoint for the sequencer mempool.- Syntax
- Example
- Environment Variable
--rollup.sequencerhttp=<value>rollup.sequencertxconditionalcostratelimit
Maximum cost — storage lookups — allowed for conditional transactions in a given second. The default value is5000.
- Syntax
- Example
- Environment Variable
--rollup.sequencertxconditionalcostratelimit <value>rollup.sequencertxconditionalenabled
Serve the eth_sendRawTransactionConditional endpoint and apply the conditional constraints on mempool inclusion & block building. The default value isfalse.
- Syntax
- Example
- Environment Variable
--rollup.sequencertxconditionalenabledrollup.superchain-upgrades
Apply superchain-registry config changes to the local chain-configuration. The default value istrue.
- Syntax
- Example
- Environment Variable
--rollup.superchain-upgrades or --beta.rollup.superchain-upgradesState and history management
Control how much historical state and transaction data to retain.gcmode
Blockchain garbage collection mode, only relevant instate.scheme=hash.
Options are “full” and “archive”. The default value is "full".
- Syntax
- Example
- Environment Variable
--gcmode=<value>history.chain
Blockchain history retention (“all” or “postmerge”). The default value is"all".
- Syntax
- Example
- Environment Variable
--history.chain=<value>history.logs
Number of recent blocks to maintain log search index for. The default is about one year (2350000 blocks), with 0 representing the entire chain.
- Syntax
- Example
- Environment Variable
--history.logs=<value>history.logs.disable
Do not maintain log search index. The default value isfalse.
- Syntax
- Example
- Environment Variable
--history.logs.disablehistory.logs.export
Export checkpoints to file in go source file format.- Syntax
- Example
- Environment Variable
--history.logs.export <value>history.state
Number of recent blocks to retain state history for, only relevant in state.scheme=path. The default is90000 blocks, with 0 representing the entire chain.
- Syntax
- Example
- Environment Variable
--history.state=<value>history.transactions
Number of recent blocks to maintain transactions index for. The default is about one year (2350000 blocks), with 0 representing the entire chain.
- Syntax
- Example
- Environment Variable
--history.transactions=<value>state.scheme
Scheme to use for storing Ethereum state. Options are ‘hash’ or ‘path’.- Syntax
- Example
- Environment Variable
--state.scheme=<value>syncmode
Blockchain sync mode. Options are “snap”, or “full”. The default value is"snap".
- Syntax
- Example
- Environment Variable
--syncmode=<value>Transaction pool - Blob transactions
Configure the blob transaction pool (EIP-4844).blobpool.datacap
Disk space to allocate for pending blob transactions (soft limit). The default value is2684354560.
- Syntax
- Example
- Environment Variable
--blobpool.datacap=<value>blobpool.datadir
Data directory to store blob transactions in. The default value is"blobpool".
- Syntax
- Example
- Environment Variable
--blobpool.datadir=<value>blobpool.pricebump
Price bump percentage to replace an already existing blob transaction. The default value is100.
- Syntax
- Example
- Environment Variable
--blobpool.pricebump=<value>Transaction pool - Standard transactions
Configure the standard EVM transaction pool.txpool.accountqueue
Maximum number of non-executable transaction slots permitted per account. The default value is64.
- Syntax
- Example
- Environment Variable
--txpool.accountqueue=<value>txpool.accountslots
Minimum number of executable transaction slots guaranteed per account. The default value is16.
- Syntax
- Example
- Environment Variable
--txpool.accountslots=<value>txpool.globalqueue
Maximum number of non-executable transaction slots for all accounts. The default value is1024.
- Syntax
- Example
- Environment Variable
--txpool.globalqueue=<value>txpool.globalslots
Maximum number of executable transaction slots for all accounts. The default value is5120.
- Syntax
- Example
- Environment Variable
--txpool.globalslots=<value>txpool.journal
Disk journal for local transactions to survive node restarts. The default value is"transactions.rlp".
- Syntax
- Example
- Environment Variable
--txpool.journal=<value>txpool.journalremotes
Includes remote transactions in the journal. The default value isfalse.
- Syntax
- Example
- Environment Variable
--txpool.journalremotestxpool.lifetime
Maximum amount of time non-executable transactions are queued. The default value is3h0m0s.
- Syntax
- Example
- Environment Variable
--txpool.lifetime=<value>txpool.locals
Comma-separated accounts to treat as locals (no flush, priority inclusion).- Syntax
- Example
- Environment Variable
--txpool.locals=<value>txpool.maxtxgas
Maximum gas limit for individual transactions (0 = no limit). Transactions exceeding this limit will be rejected by the transaction pool. The default value is0.
- Syntax
- Example
- Environment Variable
--txpool.maxtxgas=<value>txpool.nolocals
Disables price exemptions for locally submitted transactions. The default value isfalse.
- Syntax
- Example
- Environment Variable
--txpool.nolocalstxpool.pricebump
Price bump percentage to replace an already existing transaction. The default value is10.
- Syntax
- Example
- Environment Variable
--txpool.pricebump=<value>txpool.pricelimit
Minimum gas price tip to enforce for acceptance into the pool. The default value is1.
- Syntax
- Example
- Environment Variable
--txpool.pricelimit=<value>txpool.rejournal
Time interval to regenerate the local transaction journal. The default value is1h0m0s.
- Syntax
- Example
- Environment Variable
--txpool.rejournal=<value>EVM configuration
Options for EVM debugging and instrumentation.vmdebug
Record information useful for VM and contract debugging. The default value isfalse.
- Syntax
- Example
- Environment Variable
--vmdebugvmtrace
Name of tracer which should record internal VM operations (costly).- Syntax
- Example
- Environment Variable
--vmtrace <value>vmtrace.jsonconfig
Tracer configuration (JSON). The default value is"{}".
- Syntax
- Example
- Environment Variable
--vmtrace.jsonconfig <value>