From 168440f5682bd1da4b321ccaea25a0ee27f0253b Mon Sep 17 00:00:00 2001 From: soyboy Date: Thu, 15 Feb 2024 13:39:29 -0800 Subject: [PATCH 1/4] updating op-node configuration section --- .../management/configuration.mdx | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/pages/builders/node-operators/management/configuration.mdx b/pages/builders/node-operators/management/configuration.mdx index 1972a848d..83333af68 100644 --- a/pages/builders/node-operators/management/configuration.mdx +++ b/pages/builders/node-operators/management/configuration.mdx @@ -214,7 +214,8 @@ The command line help listing is reproduced below for your convenience. ### op-node -`op-node` implements most rollup-specific functionality as Consensus-Layer, similar to a L1 beacon-node. The following options are from the `--help` in [v1.3.1](https://github.com/ethereum-optimism/optimism/tree/op-node/v1.3.1). +`op-node` implements most rollup-specific functionality as Consensus-Layer, similar to a L1 beacon-node. +The following options are from the `--help` in [v1.5.1](https://github.com/ethereum-optimism/optimism/releases/tag/v1.5.1). #### GLOBAL OPTIONS @@ -751,7 +752,10 @@ Hex-encoded private key for signing off on p2p application messages as sequencer ###### p2p.static -Comma-separated multiaddr-format peer list. Static connections to make and maintain, these peers will be regarded as trusted. +Comma-separated multiaddr-format peer list. Static connections to make and +maintain, these peers will be regarded as trusted. Addresses of the local peer +are ignored. Duplicate/Alternative addresses for the same peer all apply, but +only a single connection per peer is maintained. `--p2p.static=` @@ -789,6 +793,16 @@ Enable the pprof server. Default is `false`. `OP_NODE_PPROF_ENABLED=false` +###### pprof.path + +pprof file path. If it is a directory, the path is \{dir\}/\{profileType\}.prof + + + `--pprof.path=` + `--pprof.path={dir}/{profileType}.prof` + `OP_NODE_PPROF_PATH={dir}/{profileType}.prof` + + ###### pprof.port pprof listening port. Default is `6060`. @@ -799,6 +813,16 @@ pprof listening port. Default is `6060`. `OP_NODE_PPROF_PORT=6060` +###### pprof.type + +pprof profile type. One of cpu, heap, goroutine, threadcreate, block, mutex, allocs + + + `--pprof.type=` + `--pprof.type=cpu` + `OP_NODE_PPROF_TYPE=cpu` + + ###### rollup.config Rollup chain parameters. From 1c0d1d50b48acd1eeaf0446cff8604a5cd253720 Mon Sep 17 00:00:00 2001 From: soyboy Date: Thu, 15 Feb 2024 14:48:10 -0800 Subject: [PATCH 2/4] updating op-geth configuration section --- .../management/configuration.mdx | 508 ++++++++++-------- 1 file changed, 275 insertions(+), 233 deletions(-) diff --git a/pages/builders/node-operators/management/configuration.mdx b/pages/builders/node-operators/management/configuration.mdx index 83333af68..a51392b5d 100644 --- a/pages/builders/node-operators/management/configuration.mdx +++ b/pages/builders/node-operators/management/configuration.mdx @@ -966,6 +966,11 @@ Show help. The default value is `false`. ###### --version, -v + + Nodes built from source do not output the correct version numbers that are reported on + the GitHub release page. + + Print the version. The default value is `false`. @@ -975,7 +980,8 @@ Print the version. The default value is `false`. ### `op-geth` -`op-geth` implements the Execution-Layer, with minimal changes for a secure Ethereum-equivalent application environment. The following are options from [v1.101304.1](https://github.com/ethereum-optimism/op-geth/tree/v1.101304.1) +`op-geth` implements the Execution-Layer, with minimal changes for a secure Ethereum-equivalent application environment. +The following are options from [v1.101308.0](https://github.com/ethereum-optimism/op-geth/releases/tag/v1.101308.0) Please note that the executable is still named `geth` to maintain a [minimal diff](https://op-geth.optimism.io/). @@ -983,7 +989,7 @@ Please note that the executable is still named `geth` to maintain a [minimal dif ##### ACCOUNT -###### `allow-insecure-unlock` +###### allow-insecure-unlock Allows insecure account unlocking when account-related RPCs are exposed by HTTP. The default value is `false`. @@ -993,7 +999,7 @@ Allows insecure account unlocking when account-related RPCs are exposed by HTTP. `GETH_ALLOW_INSECURE_UNLOCK=false` -###### `keystore` +###### keystore Directory for the keystore. The default is inside the data directory. @@ -1003,7 +1009,7 @@ Directory for the keystore. The default is inside the data directory. `GETH_KEYSTORE=/path/to/keystore` -###### `lightkdf` +###### lightkdf Reduce key-derivation RAM & CPU usage at some expense of KDF strength. The default value is `false`. @@ -1013,7 +1019,7 @@ Reduce key-derivation RAM & CPU usage at some expense of KDF strength. The defau `GETH_LIGHTKDF=false` -###### `password` +###### password Password file to use for non-interactive password input. @@ -1023,7 +1029,7 @@ Password file to use for non-interactive password input. `GETH_PASSWORD=/path/to/passwordfile` -###### `pcscdpath` +###### pcscdpath Path to the smartcard daemon (pcscd) socket file. The default value is `"/run/pcscd/pcscd.comm"`. @@ -1033,7 +1039,7 @@ Path to the smartcard daemon (pcscd) socket file. The default value is `"/run/pc `GETH_PCSCDPATH=/custom/path/to/pcscd.comm` -###### `signer` +###### signer External signer (url or path to ipc file). @@ -1043,7 +1049,7 @@ External signer (url or path to ipc file). `GETH_SIGNER=/path/to/ipcfile` -###### `unlock` +###### unlock Comma separated list of accounts to unlock. @@ -1053,7 +1059,7 @@ Comma separated list of accounts to unlock. `GETH_UNLOCK=0x1234,0x5678` -###### `usb` +###### usb Enable monitoring and management of USB hardware wallets. The default value is `false`. @@ -1065,7 +1071,7 @@ Enable monitoring and management of USB hardware wallets. The default value is ` ##### API AND CONSOLE -###### `authrpc.addr` +###### authrpc.addr Listening address for authenticated APIs. The default value is `"localhost"`. @@ -1075,7 +1081,7 @@ Listening address for authenticated APIs. The default value is `"localhost"`. `GETH_AUTHRPC_ADDR="localhost"` -###### `authrpc.jwtsecret` +###### authrpc.jwtsecret Path to a JWT secret to use for authenticated RPC endpoints. @@ -1085,7 +1091,7 @@ Path to a JWT secret to use for authenticated RPC endpoints. `GETH_AUTHRPC_JWTSECRET=/path/to/jwtsecret` -###### `authrpc.port` +###### authrpc.port Listening port for authenticated APIs. The default value is `8551`. @@ -1095,9 +1101,10 @@ Listening port for authenticated APIs. The default value is `8551`. `GETH_AUTHRPC_PORT=8551` -###### `authrpc.vhosts` +###### authrpc.vhosts -Comma separated list of virtual hostnames from which to accept requests (server enforced). The default value is `"localhost"`. Accepts '\*' wildcard. +Comma separated list of virtual hostnames from which to accept requests (server enforced). +The default value is `"localhost"`. Accepts '\*' wildcard. `--authrpc.vhosts ` @@ -1105,7 +1112,7 @@ Comma separated list of virtual hostnames from which to accept requests (server `GETH_AUTHRPC_VHOSTS="localhost"` -###### `exec` +###### exec Execute JavaScript statement. @@ -1115,9 +1122,10 @@ Execute JavaScript statement. `GETH_EXEC="console.log('Hello, World!')"` -###### `graphql` +###### 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 is `false`. +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 is `false`. `--graphql` @@ -1125,7 +1133,7 @@ Enable GraphQL on the HTTP-RPC server. Note that GraphQL can only be started if `GETH_GRAPHQL=false` -###### `graphql.corsdomain` +###### graphql.corsdomain Comma separated list of domains from which to accept cross origin requests (browser enforced). @@ -1135,7 +1143,7 @@ Comma separated list of domains from which to accept cross origin requests (brow `GETH_GRAPHQL_CORSDOMAIN="http://example.com"` -###### `graphql.vhosts` +###### graphql.vhosts Comma separated list of virtual hostnames from which to accept requests (server enforced). The default value is `"localhost"`. Accepts '\*' wildcard. @@ -1145,7 +1153,7 @@ Comma separated list of virtual hostnames from which to accept requests (server `GETH_GRAPHQL_VHOSTS="localhost"` -###### `header` +###### header Pass custom headers to the RPC server when using `--remotedb` or the geth attach console. This flag can be given multiple times. @@ -1155,7 +1163,7 @@ Pass custom headers to the RPC server when using `--remotedb` or the geth attach Not applicable for environment variables -###### `http` +###### http Enable the HTTP-RPC server. The default value is `false`. @@ -1165,7 +1173,7 @@ Enable the HTTP-RPC server. The default value is `false`. `GETH_HTTP=false` -###### `http.addr` +###### http.addr HTTP-RPC server listening interface. The default value is `"localhost"`. @@ -1175,7 +1183,7 @@ HTTP-RPC server listening interface. The default value is `"localhost"`. `GETH_HTTP_ADDR="localhost"` -###### `http.api` +###### http.api API's offered over the HTTP-RPC interface. @@ -1185,7 +1193,7 @@ API's offered over the HTTP-RPC interface. `GETH_HTTP_API="eth,web3"` -###### `http.corsdomain` +###### http.corsdomain Comma separated list of domains from which to accept cross origin requests (browser enforced). @@ -1195,7 +1203,7 @@ Comma separated list of domains from which to accept cross origin requests (brow `GETH_HTTP_CORSDOMAIN="http://example.com"` -###### `http.port` +###### http.port HTTP-RPC server listening port. The default value is `8545`. @@ -1205,7 +1213,7 @@ HTTP-RPC server listening port. The default value is `8545`. `GETH_HTTP_PORT=8545` -###### `http.rpcprefix` +###### http.rpcprefix`\ HTTP path prefix on which JSON-RPC is served. Use '/' to serve on all paths. @@ -1215,7 +1223,7 @@ HTTP path prefix on which JSON-RPC is served. Use '/' to serve on all paths. `GETH_HTTP_RPCPREFIX="/"` -###### `http.vhosts` +###### http.vhosts Comma separated list of virtual hostnames from which to accept requests (server enforced). The default value is `"localhost"`. Accepts '\*' wildcard. @@ -1225,7 +1233,7 @@ Comma separated list of virtual hostnames from which to accept requests (server `GETH_HTTP_VHOSTS=localhost` -###### `ipcdisable` +###### ipcdisable Disable the IPC-RPC server. The default value is `false`. @@ -1235,7 +1243,7 @@ Disable the IPC-RPC server. The default value is `false`. `GETH_IPCDISABLE=false` -###### `ipcpath` +###### ipcpath Filename for IPC socket/pipe within the datadir (explicit paths escape it). @@ -1245,7 +1253,7 @@ Filename for IPC socket/pipe within the datadir (explicit paths escape it). `GETH_IPCPATH=/path/to/ipcfile` -###### `jspath` +###### jspath JavaScript root path for `loadScript`. The default value is `.` (current directory). @@ -1255,7 +1263,7 @@ JavaScript root path for `loadScript`. The default value is `.` (current directo `GETH_JSPATH=/path/to/scripts` -###### `preload` +###### preload Comma separated list of JavaScript files to preload into the console. @@ -1265,7 +1273,7 @@ Comma separated list of JavaScript files to preload into the console. `GETH_PRELOAD="file1.js,file2.js"` -###### `rpc.allow-unprotected-txs` +###### rpc.allow-unprotected-txs Allow for unprotected (non EIP155 signed) transactions to be submitted via RPC. The default value is `false`. @@ -1275,7 +1283,7 @@ Allow for unprotected (non EIP155 signed) transactions to be submitted via RPC. `GETH_RPC_ALLOW_UNPROTECTED_TXS=false` -###### `rpc.batch-request-limit` +###### rpc.batch-request-limit Maximum number of requests in a batch. The default value is `1000`. @@ -1285,7 +1293,7 @@ Maximum number of requests in a batch. The default value is `1000`. `GETH_RPC_BATCH_REQUEST_LIMIT=1000` -###### `rpc.batch-response-max-size` +###### rpc.batch-response-max-size Maximum number of bytes returned from a batched call. The default value is `25000000`. @@ -1295,7 +1303,7 @@ Maximum number of bytes returned from a batched call. The default value is `2500 `GETH_RPC_BATCH_RESPONSE_MAX_SIZE=25000000` -###### `rpc.enabledeprecatedpersonal` +###### rpc.enabledeprecatedpersonal Enables the (deprecated) personal namespace. The default value is `false`. @@ -1305,7 +1313,7 @@ Enables the (deprecated) personal namespace. The default value is `false`. `GETH_RPC_ENABLEDEPRECATEDPERSONAL=false` -###### `rpc.evmtimeout` +###### rpc.evmtimeout Sets a timeout used for eth\_call (0=infinite). The default value is `5s`. @@ -1315,7 +1323,7 @@ Sets a timeout used for eth\_call (0=infinite). The default value is `5s`. `GETH_RPC_EVMTIMEOUT=5s` -###### `rpc.gascap` +###### rpc.gascap Sets a cap on gas that can be used in eth\_call/estimateGas (0=infinite). The default value is `50000000`. @@ -1325,7 +1333,7 @@ Sets a cap on gas that can be used in eth\_call/estimateGas (0=infinite). The de `GETH_RPC_GASCAP=50000000` -###### `rpc.txfeecap` +###### rpc.txfeecap Sets a cap on transaction fee (in ether) that can be sent via the RPC APIs (0 = no cap). The default value is `1`. @@ -1335,7 +1343,7 @@ Sets a cap on transaction fee (in ether) that can be sent via the RPC APIs (0 = Not directly applicable for environment variables -###### `ws` +###### ws Enable the WS-RPC server. The default value is `false`. @@ -1345,7 +1353,7 @@ Enable the WS-RPC server. The default value is `false`. `GETH_WS=false` -###### `ws.addr` +###### ws.addr WS-RPC server listening interface. The default value is `"localhost"`. @@ -1355,7 +1363,7 @@ WS-RPC server listening interface. The default value is `"localhost"`. `GETH_WS_ADDR=localhost` -###### `ws.api` +###### ws.api API's offered over the WS-RPC interface. @@ -1365,7 +1373,7 @@ API's offered over the WS-RPC interface. `GETH_WS_API="eth,web3"` -###### `ws.origins` +###### ws.origins Origins from which to accept websockets requests. @@ -1375,7 +1383,7 @@ Origins from which to accept websockets requests. `GETH_WS_ORIGINS="http://example.com"` -###### `ws.port` +###### ws.port WS-RPC server listening port. The default value is `8546`. @@ -1385,7 +1393,7 @@ WS-RPC server listening port. The default value is `8546`. `GETH_WS_PORT=8546` -###### `ws.rpcprefix` +###### ws.rpcprefix HTTP path prefix on which JSON-RPC is served over WS. Use '/' to serve on all paths. @@ -1397,9 +1405,10 @@ HTTP path prefix on which JSON-RPC is served over WS. Use '/' to serve on all pa ##### DEVELOPER CHAIN -###### `dev` +###### dev -Ephemeral proof-of-authority network with a pre-funded developer account, mining enabled. The default value is `false`. +Ephemeral proof-of-authority network with a pre-funded developer account, mining enabled. +The default value is `false`. `--dev` @@ -1407,7 +1416,7 @@ Ephemeral proof-of-authority network with a pre-funded developer account, mining `GETH_DEV=false` -###### `dev.gaslimit` +###### dev.gaslimit Initial block gas limit. The default value is `11500000`. @@ -1417,7 +1426,7 @@ Initial block gas limit. The default value is `11500000`. `GETH_DEV_GASLIMIT=11500000` -###### `dev.period` +###### dev.period Block period to use in developer mode (0 = mine only if transaction pending). The default value is `0`. @@ -1429,7 +1438,7 @@ Block period to use in developer mode (0 = mine only if transaction pending). Th ##### ETHEREUM -###### `bloomfilter.size` +###### bloomfilter.size Megabytes of memory allocated to bloom-filter for pruning. The default value is `2048`. @@ -1439,7 +1448,7 @@ Megabytes of memory allocated to bloom-filter for pruning. The default value is `GETH_BLOOMFILTER_SIZE=2048` -###### `config` +###### config TOML configuration file. @@ -1449,7 +1458,7 @@ TOML configuration file. `GETH_CONFIG=/path/to/config.toml` -###### `datadir` +###### datadir Data directory for the databases and keystore. The default value is `/home//.ethereum`. @@ -1459,7 +1468,7 @@ Data directory for the databases and keystore. The default value is `/home/`GETH_DATADIR=/home/soyboy/.ethereum` -###### `datadir.ancient` +###### datadir.ancient Root directory for ancient data (default = inside chaindata). @@ -1469,7 +1478,7 @@ Root directory for ancient data (default = inside chaindata). `GETH_DATADIR_ANCIENT=` -###### `datadir.minfreedisk` +###### datadir.minfreedisk Minimum free disk space in MB, once reached triggers auto shut down (default = --cache.gc converted to MB, 0 = disabled). @@ -1479,7 +1488,7 @@ Minimum free disk space in MB, once reached triggers auto shut down (default = - `GETH_DATADIR_MINFREEDISK=0` -###### `db.engine` +###### db.engine Backing database implementation to use ('pebble' or 'leveldb'). @@ -1489,7 +1498,7 @@ Backing database implementation to use ('pebble' or 'leveldb'). `GETH_DB_ENGINE=leveldb` -###### `eth.requiredblocks` +###### eth.requiredblocks Comma separated block number-to-hash mappings to require for peering (`=`). @@ -1499,7 +1508,7 @@ Comma separated block number-to-hash mappings to require for peering (`= `GETH_ETH_REQUIREDBLOCKS="12345=0xabcde12345..."` -###### `exitwhensynced` +###### exitwhensynced Exits after block synchronization completes. The default value is `false`. @@ -1509,7 +1518,7 @@ Exits after block synchronization completes. The default value is `false`. `GETH_EXITWHENSYNCED=false` -###### `goerli` +###### goerli Görli network: pre-configured proof-of-authority test network. The default value is `false`. @@ -1519,7 +1528,7 @@ Görli network: pre-configured proof-of-authority test network. The default valu `GETH_GOERLI=false` -###### `holesky` +###### holesky Holesky network: pre-configured proof-of-stake test network. The default value is `false`. @@ -1529,7 +1538,7 @@ Holesky network: pre-configured proof-of-stake test network. The default value i `GETH_HOLESKY=false` -###### `mainnet` +###### mainnet Ethereum mainnet. The default value is `false`. @@ -1539,7 +1548,7 @@ Ethereum mainnet. The default value is `false`. `GETH_MAINNET=false` -###### `networkid` +###### networkid Explicitly set network id (integer). The default value is `1`. For testnets: use --goerli, --sepolia, --holesky instead. @@ -1549,9 +1558,16 @@ Explicitly set network id (integer). The default value is `1`. For testnets: use `GETH_NETWORKID=1` -###### `op-network` +###### op-network, beta.op-network -Select a pre-configured OP-Stack network (warning: op-mainnet requires special sync, datadir is recommended), options: base-devnet-0-goerli-dev-0, base-goerli, base-mainnet, base-sepolia, conduit-devnet-0-goerli-dev-0, op-goerli, op-labs-chaosnet-0-goerli-dev-0, op-labs-devnet-0-goerli-dev-0, op-mainnet, op-sepolia, pgn-mainnet, pgn-sepolia, zora-mainnet, zora-sepolia +Select a pre-configured OP-Stack network (warning: op-mainnet and op-goerli +require special sync, datadir is recommended), options: +base-devnet-0-goerli-dev-0, base-devnet-0-sepolia-dev-0, base-goerli, +base-mainnet, base-sepolia, conduit-devnet-0-goerli-dev-0, lyra-mainnet, +mode-mainnet, op-goerli, op-labs-chaosnet-0-goerli-dev-0, +op-labs-devnet-0-goerli-dev-0, op-mainnet, op-sepolia, +oplabs-devnet-0-sepolia-dev-0, orderly-mainnet, pgn-mainnet, pgn-sepolia, +zora-mainnet, zora-sepolia `--op-network=` @@ -1559,7 +1575,7 @@ Select a pre-configured OP-Stack network (warning: op-mainnet requires special s `GETH_OP_NETWORK=base-mainnet` -###### `override.cancun` +###### override.cancun Manually specify the Cancun fork timestamp, overriding the bundled setting. The default value is `0`. @@ -1569,7 +1585,7 @@ Manually specify the Cancun fork timestamp, overriding the bundled setting. The `GETH_OVERRIDE_CANCUN=0` -###### `override.canyon` +###### override.canyon Manually specify the Optimism Canyon fork timestamp, overriding the bundled setting. The default value is `0`. @@ -1579,7 +1595,28 @@ Manually specify the Optimism Canyon fork timestamp, overriding the bundled sett `GETH_OVERRIDE_CANYON=0` -###### `override.verkle` +###### override.ecotone + +Manually specify the Optimism Ecotone fork timestamp, overriding the bundled setting. The default value is `0`. + + + `--override.ecotone=` + `--override.ecotone=0` + `GETH_OVERRIDE_ECOTONE=0` + + +###### `override.interop` + +Manually specify the Optimism Interop feature-set fork timestamp, overriding the bundled setting. +The default value is `0`. + + + `--override.interop=` + `--override.interop=0` + `GETH_OVERRIDE_INTEROP=0` + + +###### override.verkle Manually specify the Verkle fork timestamp, overriding the bundled setting. The default value is `0`. @@ -1589,7 +1626,7 @@ Manually specify the Verkle fork timestamp, overriding the bundled setting. The `GETH_OVERRIDE_VERKLE=0` -###### `sepolia` +###### sepolia Sepolia network: pre-configured proof-of-work test network. The default value is `false`. @@ -1611,7 +1648,7 @@ Enables snapshot-database mode. The default value is `true`. ##### GAS PRICE ORACLE -###### `gpo.blocks` +###### gpo.blocks Number of recent blocks to check for gas prices. The default value is `20`. @@ -1621,34 +1658,39 @@ Number of recent blocks to check for gas prices. The default value is `20`. `GETH_GPO_BLOCKS=20` -###### `gpo.ignoreprice` +###### gpo.ignoreprice Gas price below which GPO will ignore transactions. The default value is `2`. `--gpo.ignoreprice=` `--gpo.ignoreprice=2` + `GETH_GPO_IGNOREPRICE=2` -###### `gpo.maxprice` +###### gpo.maxprice -Maximum transaction priority fee (or gasprice before London fork) to be recommended by GPO. The default value is `500000000000`. +Maximum transaction priority fee (or gasprice before London fork) to be recommended by GPO. +The default value is `500000000000`. `--gpo.maxprice=` `--gpo.maxprice=500000000000` + `GETH_GPO_MAXPRICE=500000000000` -###### `gpo.minsuggestedpriorityfee` +###### gpo.minsuggestedpriorityfee -Minimum transaction priority fee to suggest. Used on OP chains when blocks are not full. The default value is `1000000`. +Minimum transaction priority fee to suggest. Used on OP chains when blocks are not full. +The default value is `1000000`. `--gpo.minsuggestedpriorityfee=` `--gpo.minsuggestedpriorityfee=1000000` + `GETH_GPO_MINSUGGESTEDPRIORITYFEE=1000000` -###### `gpo.percentile` +###### gpo.percentile Suggested gas price is the given percentile of a set of recent transaction gas prices. The default value is `60`. @@ -1660,9 +1702,9 @@ Suggested gas price is the given percentile of a set of recent transaction gas p ##### LIGHT CLIENT -###### `light.egress` +###### light.egress -Outgoing bandwidth limit for serving light clients (kilobytes/sec, 0 = unlimited). The default value is `0`. +Outgoing bandwidth limit for serving light clients (deprecated). The default value is `0`. `--light.egress=` @@ -1670,9 +1712,9 @@ Outgoing bandwidth limit for serving light clients (kilobytes/sec, 0 = unlimited `GETH_LIGHT_EGRESS=0` -###### `light.ingress` +###### light.ingress -Incoming bandwidth limit for serving light clients (kilobytes/sec, 0 = unlimited). The default value is `0`. +Incoming bandwidth limit for serving light clients (deprecated). The default value is `0`. `--light.ingress=` @@ -1680,9 +1722,10 @@ Incoming bandwidth limit for serving light clients (kilobytes/sec, 0 = unlimited `GETH_LIGHT_INGRESS=0` -###### `light.maxpeers` +###### light.maxpeers -Maximum number of light clients to serve, or light servers to attach to. The default value is `100`. +Maximum number of light clients to serve, or light servers to attach to (deprecated). +The default value is `100`. `--light.maxpeers=` @@ -1690,9 +1733,9 @@ Maximum number of light clients to serve, or light servers to attach to. The def `GETH_LIGHT_MAXPEERS=100` -###### `light.nopruning` +###### light.nopruning -Disable ancient light chain data pruning. The default value is `false`. +Disable ancient light chain data pruning (deprecated). The default value is `false`. `--light.nopruning` @@ -1700,9 +1743,9 @@ Disable ancient light chain data pruning. The default value is `false`. `GETH_LIGHT_NOPRUNING=false` -###### `light.nosyncserve` +###### light.nosyncserve -Enables serving light clients before syncing. The default value is `false`. +Enables serving light clients before syncing (deprecated) The default value is `false`. `--light.nosyncserve` @@ -1710,9 +1753,10 @@ Enables serving light clients before syncing. The default value is `false`. `GETH_LIGHT_NOSYNCSERVE=false` -###### `light.serve` +###### light.serve -Maximum percentage of time allowed for serving LES requests (multi-threaded processing allows values over 100). The default value is `0`. +Maximum percentage of time allowed for serving LES requests (deprecated). +The default value is `0`. `--light.serv=` @@ -1722,17 +1766,7 @@ Maximum percentage of time allowed for serving LES requests (multi-threaded proc ##### LOGGING AND DEBUGGING -###### `log.backtrace` - -Request a stack trace at a specific logging statement (e.g. "block.go:271"). - - - `--log.backtrace=` - `--log.backtrace="block.go:271"` - `GETH_LOG_BACKTRACE="block.go:271"` - - -###### `log.compress` +###### log.compress Compress the log files. The default value is `false`. @@ -1742,17 +1776,7 @@ Compress the log files. The default value is `false`. `GETH_LOG_COMPRESS=false` -###### `log.debug` - -Prepends log messages with call-site location (file and line number). The default value is `false`. - - - `--log.debug` - `--log.debug=false` - `GETH_LOG_DEBUG=false` - - -###### `log.file` +###### log.file Write logs to a file. @@ -1762,7 +1786,7 @@ Write logs to a file. `GETH_LOG_FILE=/path/to/logfile` -###### `log.format` +###### log.format Log format to use (json|logfmt|terminal). @@ -1772,7 +1796,7 @@ Log format to use (json|logfmt|terminal). `GETH_LOG_FORMAT=logfmt` -###### `log.maxage` +###### log.maxage Maximum number of days to retain a log file. The default value is `30`. @@ -1782,7 +1806,7 @@ Maximum number of days to retain a log file. The default value is `30`. `GETH_LOG_MAXAGE=30` -###### `log.maxbackups` +###### log.maxbackups Maximum number of log files to retain. The default value is `10`. @@ -1792,7 +1816,7 @@ Maximum number of log files to retain. The default value is `10`. `GETH_LOG_MAXBACKUPS=10` -###### `log.maxsize` +###### log.maxsize Maximum size in MBs of a single log file. The default value is `100`. @@ -1812,7 +1836,7 @@ Enables log file rotation. The default value is `false`. `GETH_LOG_ROTATE=false` -###### `log.vmodule` +###### log.vmodule Per-module verbosity: comma-separated list of `=` (e.g. eth/\*=5,p2p=4). @@ -1822,7 +1846,7 @@ Per-module verbosity: comma-separated list of `=` (e.g. eth/\*=5 `GETH_LOG_VMODULE="eth/*=5,p2p=4"` -###### `nocompaction` +###### nocompaction Disables database compaction after import. The default value is `false`. @@ -1832,7 +1856,7 @@ Disables database compaction after import. The default value is `false`. `GETH_NOCOMPACTION=false` -###### `pprof` +###### pprof Enable the pprof HTTP server. The default value is `false`. @@ -1842,7 +1866,7 @@ Enable the pprof HTTP server. The default value is `false`. `GETH_PPROF=false` -###### `pprof.addr` +###### pprof.addr pprof HTTP server listening interface. The default value is `"127.0.0.1"`. @@ -1852,7 +1876,7 @@ pprof HTTP server listening interface. The default value is `"127.0.0.1"`. `GETH_PPROF_ADDR="127.0.0.1"` -###### `pprof.blockprofilerate` +###### pprof.blockprofilerate Turn on block profiling with the given rate. The default value is `0`. @@ -1862,7 +1886,7 @@ Turn on block profiling with the given rate. The default value is `0`. `GETH_PPROF_BLOCKPROFILERATE=0` -###### `pprof.cpuprofile` +###### pprof.cpuprofile Write CPU profile to the given file. @@ -1871,7 +1895,7 @@ Write CPU profile to the given file. `--pprof.cpuprofile=/path/to/cpu.profile` -###### `pprof.memprofilerate` +###### pprof.memprofilerate Turn on memory profiling with the given rate. The default value is `524288`. @@ -1881,7 +1905,7 @@ Turn on memory profiling with the given rate. The default value is `524288`. `GETH_PPROF_MEMPROFILERATE=524288` -###### `pprof.port` +###### pprof.port pprof HTTP server listening port. The default value is `6060`. @@ -1891,7 +1915,7 @@ pprof HTTP server listening port. The default value is `6060`. `GETH_PPROF_PORT=6060` -###### `remotedb` +###### remotedb URL for remote database. @@ -1901,7 +1925,7 @@ URL for remote database. `GETH_REMOTEDB=http://example.com/db` -###### `trace` +###### trace Write execution trace to the given file. @@ -1911,7 +1935,7 @@ Write execution trace to the given file. `GETH_TRACE=/path/to/trace.file` -###### `verbosity` +###### verbosity Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail. The default value is `3`. @@ -1923,7 +1947,7 @@ Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail. The def ##### METRICS AND STATS -###### `ethstats` +###### ethstats Reporting URL of an ethstats service (nodename:secret\@host:port). @@ -1933,7 +1957,7 @@ Reporting URL of an ethstats service (nodename:secret\@host:port). `GETH_ETHSTATS="nodename:secret@host:port"` -###### `metrics` +###### metrics Enable metrics collection and reporting. The default value is `false`. @@ -1943,7 +1967,7 @@ Enable metrics collection and reporting. The default value is `false`. `GETH_METRICS=false` -###### `metrics.addr` +###### metrics.addr Enable stand-alone metrics HTTP server listening interface. @@ -1953,7 +1977,7 @@ Enable stand-alone metrics HTTP server listening interface. `GETH_METRICS_ADDR="127.0.0.1:9090"` -###### `metrics.expensive` +###### metrics.expensive Enable expensive metrics collection and reporting. The default value is `false`. @@ -1963,7 +1987,7 @@ Enable expensive metrics collection and reporting. The default value is `false`. `GETH_METRICS_EXPENSIVE=false` -###### `metrics.influxdb` +###### metrics.influxdb Enable metrics export/push to an external InfluxDB database. The default value is `false`. @@ -1973,7 +1997,7 @@ Enable metrics export/push to an external InfluxDB database. The default value i `GETH_METRICS_INFLUXDB=false` -###### `metrics.influxdb.bucket` +###### metrics.influxdb.bucket InfluxDB bucket name to push reported metrics to (v2 only). The default value is `"geth"`. @@ -1983,7 +2007,7 @@ InfluxDB bucket name to push reported metrics to (v2 only). The default value is `GETH_METRICS_INFLUXDB_BUCKET="geth"` -###### `metrics.influxdb.database` +###### metrics.influxdb.database InfluxDB database name to push reported metrics to. The default value is `"geth"`. @@ -1993,7 +2017,7 @@ InfluxDB database name to push reported metrics to. The default value is `"geth" `GETH_METRICS_INFLUXDB_DATABASE="geth"` -###### `metrics.influxdb.endpoint` +###### metrics.influxdb.endpoint InfluxDB API endpoint to report metrics to. The default value is `"http://localhost:8086"`. @@ -2003,7 +2027,7 @@ InfluxDB API endpoint to report metrics to. The default value is `"http://localh `GETH_METRICS_INFLUXDB_ENDPOINT="http://localhost:8086"` -###### `metrics.influxdb.organization` +###### metrics.influxdb.organization InfluxDB organization name (v2 only). The default value is `"geth"`. @@ -2013,7 +2037,7 @@ InfluxDB organization name (v2 only). The default value is `"geth"`. `GETH_METRICS_INFLUXDB_ORGANIZATION="geth"` -###### `metrics.influxdb.password` +###### metrics.influxdb.password Password to authorize access to the database. The default value is `"test"`. @@ -2023,7 +2047,7 @@ Password to authorize access to the database. The default value is `"test"`. `GETH_METRICS_INFLUXDB_PASSWORD="test"` -###### `metrics.influxdb.tags` +###### metrics.influxdb.tags Comma-separated InfluxDB tags (key/values) attached to all measurements. The default value is `"host=localhost"`. @@ -2033,7 +2057,7 @@ Comma-separated InfluxDB tags (key/values) attached to all measurements. The def `GETH_METRICS_INFLUXDB_TAGS="host=localhost"` -###### `metrics.influxdb.token` +###### metrics.influxdb.token Token to authorize access to the database (v2 only). The default value is `"test"`. @@ -2043,7 +2067,7 @@ Token to authorize access to the database (v2 only). The default value is `"test `GETH_METRICS_INFLUXDB_TOKEN="test"` -###### `metrics.influxdb.username` +###### metrics.influxdb.username Username to authorize access to the database. The default value is `"test"`. @@ -2053,7 +2077,7 @@ Username to authorize access to the database. The default value is `"test"`. `GETH_METRICS_INFLUXDB_USERNAME="test"` -###### `metrics.influxdbv2` +###### metrics.influxdbv2 Enable metrics export/push to an external InfluxDB v2 database. The default value is `false`. @@ -2063,9 +2087,10 @@ Enable metrics export/push to an external InfluxDB v2 database. The default valu `GETH_METRICS_INFLUXDBV2=false` -###### `metrics.port` +###### metrics.port -Metrics HTTP server listening port. The default value is `6060`. Please note that `--metrics.addr` must be set to start the server. +Metrics HTTP server listening port. The default value is `6060`. +Please note that `--metrics.addr` must be set to start the server. `--metrics.port=` @@ -2075,7 +2100,7 @@ Metrics HTTP server listening port. The default value is `6060`. Please note tha ##### MINER -###### `mine` +###### mine Enable mining. The default value is `false`. @@ -2085,7 +2110,7 @@ Enable mining. The default value is `false`. `GETH_MINE=false` -###### `miner.etherbase` +###### miner.etherbase 0x prefixed public address for block mining rewards. @@ -2095,7 +2120,7 @@ Enable mining. The default value is `false`. `GETH_MINER_ETHERBASE=0x123...` -###### `miner.extradata` +###### miner.extradata Block extra data set by the miner (default = client version). @@ -2105,7 +2130,7 @@ Block extra data set by the miner (default = client version). `GETH_MINER_EXTRADATA="Some extra data"` -###### `miner.gaslimit` +###### miner.gaslimit Target gas ceiling for mined blocks. The default value is `30000000`. @@ -2115,7 +2140,7 @@ Target gas ceiling for mined blocks. The default value is `30000000`. `GETH_MINER_GASLIMIT=30000000` -###### `miner.gasprice` +###### miner.gasprice Minimum gas price for mining a transaction. The default value is `0`. @@ -2125,7 +2150,7 @@ Minimum gas price for mining a transaction. The default value is `0`. `GETH_MINER_GASPRICE=0` -###### `miner.newpayload-timeout` +###### miner.newpayload-timeout Specify the maximum time allowance for creating a new payload. The default value is `2s`. @@ -2135,7 +2160,7 @@ Specify the maximum time allowance for creating a new payload. The default value `GETH_MINER_NEWPAYLOAD_TIMEOUT=2s` -###### `miner.recommit` +###### miner.recommit Time interval to recreate the block being mined. The default value is `2s`. @@ -2147,7 +2172,7 @@ Time interval to recreate the block being mined. The default value is `2s`. ##### MISC -###### `help` +###### help Show help. This is typically used to display command-line options and usage information. @@ -2156,7 +2181,7 @@ Show help. This is typically used to display command-line options and usage info `--help` -###### `synctarget` +###### synctarget Hash of the block to full sync to (dev testing feature). @@ -2166,7 +2191,12 @@ Hash of the block to full sync to (dev testing feature). `GETH_SYNCTARGET="0x123...456"` -###### `version` +###### version + + + Nodes built from source do not output the correct version numbers that are reported on + the GitHub release page. + Print the version. This option is typically used to display the version of the software. @@ -2177,7 +2207,7 @@ Print the version. This option is typically used to display the version of the s ##### NETWORKING -###### `bootnodes` +###### bootnodes Comma separated enode URLs for P2P discovery bootstrap. @@ -2187,7 +2217,7 @@ Comma separated enode URLs for P2P discovery bootstrap. `GETH_BOOTNODES=` -###### `discovery.dns` +###### discovery.dns Sets DNS discovery entry points (use "" to disable DNS). @@ -2197,7 +2227,7 @@ Sets DNS discovery entry points (use "" to disable DNS). `GETH_DISCOVERY_DNS=""` -###### `discovery.port` +###### discovery.port Use a custom UDP port for P2P discovery. The default value is `30303`. @@ -2207,7 +2237,7 @@ Use a custom UDP port for P2P discovery. The default value is `30303`. `GETH_DISCOVERY_PORT=30303` -###### `discovery.v4` +###### discovery.v4 Enables the V4 discovery mechanism. The default value is `true`. @@ -2217,7 +2247,7 @@ Enables the V4 discovery mechanism. The default value is `true`. `GETH_DISCOVERY_V4=true` -###### `discovery.v5` +###### discovery.v5 Enables the experimental RLPx V5 (Topic Discovery) mechanism. The default value is `false`. @@ -2227,7 +2257,7 @@ Enables the experimental RLPx V5 (Topic Discovery) mechanism. The default value `GETH_DISCOVERY_V5=false` -###### `identity` +###### identity Custom node name. @@ -2237,7 +2267,7 @@ Custom node name. `GETH_IDENTITY="MyNode"` -###### `maxpeers` +###### maxpeers Maximum number of network peers (network disabled if set to 0). The default value is `50`. @@ -2247,7 +2277,7 @@ Maximum number of network peers (network disabled if set to 0). The default valu `GETH_MAXPEERS=50` -###### `maxpendpeers` +###### maxpendpeers Maximum number of pending connection attempts (defaults used if set to 0). The default value is `0`. @@ -2257,7 +2287,7 @@ Maximum number of pending connection attempts (defaults used if set to 0). The d `GETH_MAXPENDPEERS=0` -###### `nat` +###### nat NAT port mapping mechanism (any|none|upnp|pmp|pmp:`|extip:`). The default value is `"any"`. @@ -2267,7 +2297,7 @@ NAT port mapping mechanism (any|none|upnp|pmp|pmp:`|extip:`). The defaul `GETH_NAT="any"` -###### `netrestrict` +###### netrestrict Restricts network communication to the given IP networks (CIDR masks). @@ -2277,7 +2307,7 @@ Restricts network communication to the given IP networks (CIDR masks). `GETH_NETRESTRICT="192.168.0.0/24"` -###### `nodekey` +###### nodekey P2P node key file. @@ -2287,7 +2317,7 @@ P2P node key file. `GETH_NODEKEY=/path/to/nodekey` -###### `nodekeyhex` +###### nodekeyhex P2P node key as hex (for testing). @@ -2297,7 +2327,7 @@ P2P node key as hex (for testing). `GETH_NODEKEYHEX="abcdef..."` -###### `nodiscover` +###### nodiscover Disables the peer discovery mechanism (manual peer addition). The default value is `false`. @@ -2307,7 +2337,7 @@ Disables the peer discovery mechanism (manual peer addition). The default value `GETH_NODISCOVER=false` -###### `port` +###### port Network listening port. The default value is `30303`. @@ -2321,7 +2351,8 @@ Network listening port. The default value is `30303`. ###### `cache` -Megabytes of memory allocated to internal caching. The default is `1024` MB for light mode and `4096` MB for mainnet full node. +Megabytes of memory allocated to internal caching. +The default is `4096` MB for mainnet full node and `128` MB for light mode. `--cache=` @@ -2329,7 +2360,7 @@ Megabytes of memory allocated to internal caching. The default is `1024` MB for `GETH_CACHE=1024` -###### `cache.blocklogs` +###### cache.blocklogs Size (in number of blocks) of the log cache for filtering. The default value is `32`. @@ -2339,7 +2370,7 @@ Size (in number of blocks) of the log cache for filtering. The default value is `GETH_CACHE_BLOCKLOGS=32` -###### `cache.database` +###### cache.database Percentage of cache memory allowance to use for database I/O. The default value is `50`. @@ -2349,9 +2380,10 @@ Percentage of cache memory allowance to use for database I/O. The default value `GETH_CACHE_DATABASE=50` -###### `cache.gc` +###### cache.gc -Percentage of cache memory allowance to use for trie pruning. The default is `25%` for full mode and `0%` for archive mode. +Percentage of cache memory allowance to use for trie pruning. The default is `25%` for full mode +and `0%` for archive mode. `--cache.gc=` @@ -2359,9 +2391,10 @@ Percentage of cache memory allowance to use for trie pruning. The default is `25 `GETH_CACHE_GC=25` -###### `cache.noprefetch` +###### cache.noprefetch -Disable heuristic state prefetch during block import. The default value is `false`. +Disable heuristic state prefetch during block import (less CPU and disk IO, more +time waiting for data). The default value is `false`. `--cache.noprefetch` @@ -2369,7 +2402,7 @@ Disable heuristic state prefetch during block import. The default value is `fals `GETH_CACHE_NOPREFETCH=false` -###### `cache.preimages` +###### cache.preimages Enable recording the SHA3/keccak preimages of trie keys. The default value is `false`. @@ -2379,9 +2412,10 @@ Enable recording the SHA3/keccak preimages of trie keys. The default value is `f `GETH_CACHE_PREIMAGES=false` -###### `cache.snapshot` +###### cache.snapshot -Percentage of cache memory allowance to use for snapshot caching. The default is `10%` for full mode and `20%` for archive mode. +Percentage of cache memory allowance to use for snapshot caching. +The default is `10%` for full mode and `20%` for archive mode. `--cache.snapshot=` @@ -2389,9 +2423,10 @@ Percentage of cache memory allowance to use for snapshot caching. The default is `GETH_CACHE_SNAPSHOT=10` -###### `cache.trie` +###### cache.trie -Percentage of cache memory allowance to use for trie caching. The default is `15%` for full mode and `30%` for archive mode. +Percentage of cache memory allowance to use for trie caching. +The default is `15%` for full mode and `30%` for archive mode. `--cache.trie=` @@ -2399,9 +2434,10 @@ Percentage of cache memory allowance to use for trie caching. The default is `15 `GETH_CACHE_TRIE=15%` -###### `crypto.kzg` +###### crypto.kzg -KZG library implementation to use; options are gokzg (recommended) or ckzg. The default value is `"gokzg"`. +KZG library implementation to use; gokzg (recommended) or ckzg. +The default value is `"gokzg"`. `--crypto.kzg=` @@ -2409,7 +2445,7 @@ KZG library implementation to use; options are gokzg (recommended) or ckzg. The `GETH_CRYPTO_KZG=gokzg` -###### `fdlimit` +###### fdlimit Raise the open file descriptor resource limit. The default is the system fd limit. @@ -2421,9 +2457,11 @@ Raise the open file descriptor resource limit. The default is the system fd limi ##### ROLLUP NODE -###### `rollup.computependingblock` +###### 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 is `false`. +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 is `false`. `--rollup.computependingblock` @@ -2431,7 +2469,7 @@ By default, the pending block equals the latest block to save resources and not `GETH_ROLLUP_COMPUTEPENDINGBLOCK=false` -###### `rollup.disabletxpoolgossip` +###### rollup.disabletxpoolgossip Disable transaction pool gossip. The default value is `false`. @@ -2441,9 +2479,11 @@ Disable transaction pool gossip. The default value is `false`. `GETH_ROLLUP_DISABLETXPOOLGOSSIP=false` -###### `rollup.halt` +###### rollup.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. +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. `--rollup.halt=` @@ -2451,7 +2491,7 @@ Opt-in option to halt on incompatible protocol version requirements of the given `GETH_ROLLUP_HALT="major"` -###### `rollup.historicalrpc` +###### rollup.historicalrpc RPC endpoint for historical data. @@ -2461,7 +2501,7 @@ RPC endpoint for historical data. `GETH_ROLLUP_HISTORICALRPC="http://example.com"` -###### `rollup.historicalrpctimeout` +###### rollup.historicalrpctimeout Timeout for historical RPC requests. The default value is `5s`. @@ -2471,7 +2511,7 @@ Timeout for historical RPC requests. The default value is `5s`. `GETH_ROLLUP_HISTORICALRPCTIMEOUT=5s` -###### `rollup.sequencerhttp` +###### rollup.sequencerhttp HTTP endpoint for the sequencer mempool. @@ -2481,21 +2521,23 @@ HTTP endpoint for the sequencer mempool. `GETH_ROLLUP_SEQUENCERHTTP="http://example.com"` -###### `rollup.superchain-upgrades` +###### rollup.superchain-upgrades -Apply superchain-registry config changes to the local chain-configuration. The default value is `false`. +Apply superchain-registry config changes to the local chain-configuration. +The default value is `true`. `--rollup.superchain-upgrades` or `--beta.rollup.superchain-upgrades` - `--rollup.superchain-upgrades=false` - `GETH_ROLLUP_SUPERCHAIN_UPGRADES=false` + `--rollup.superchain-upgrades=true` + `GETH_ROLLUP_SUPERCHAIN_UPGRADES=true` ##### STATE HISTORY MANAGEMENT -###### `gcmode` +###### gcmode -Blockchain garbage collection mode, only relevant in `state.scheme=hash`. Options are "full" and "archive". The default value is `"full"`. +Blockchain garbage collection mode, only relevant in `state.scheme=hash`. +Options are "full" and "archive". The default value is `"full"`. `--gcmode=` @@ -2503,9 +2545,10 @@ Blockchain garbage collection mode, only relevant in `state.scheme=hash`. Option `GETH_GCMODE="full"` -##### `history.state` +##### history.state -Number of recent blocks to retain state history for. The default is `90000` blocks, with `0` representing the entire chain. +Number of recent blocks to retain state history for. The default is `90000` +blocks, with `0` representing the entire chain. `--history.state=` @@ -2513,9 +2556,10 @@ Number of recent blocks to retain state history for. The default is `90000` bloc `GETH_HISTORY_STATE=90000` -##### `history.transactions` +##### 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. +Number of recent blocks to maintain transactions index for. +The default is about one year (`2350000` blocks), with `0` representing the entire chain. `--history.transactions=` @@ -2523,7 +2567,7 @@ Number of recent blocks to maintain transactions index for. The default is about `GETH_HISTORY_TRANSACTIONS=2350000` -##### `state.scheme` +##### state.scheme Scheme to use for storing Ethereum state. Options are 'hash' or 'path'. @@ -2533,21 +2577,22 @@ Scheme to use for storing Ethereum state. Options are 'hash' or 'path'. `GETH_STATE_SCHEME="hash"` -##### `syncmode` +##### syncmode -Blockchain sync mode. Options are "snap", "full", or "light". The default value is `"snap"`. +Blockchain sync mode. Options are "snap", or "full". The default value is `"snap"`. `--syncmode=` - `--syncmode="full"` - `GETH_SYNCMODE="full"` + `--syncmode="snap"` + `GETH_SYNCMODE="snap"` ##### TRANSACTION POOL (BLOB) -###### `blobpool.datacap` +###### blobpool.datacap -Disk space to allocate for pending blob transactions (soft limit). The default value is `10737418240` (approximately 10 GB). +Disk space to allocate for pending blob transactions (soft limit). +The default value is `10737418240`. `--blobpool.datacap=` @@ -2555,19 +2600,10 @@ Disk space to allocate for pending blob transactions (soft limit). The default v `GETH_BLOBPOOL_DATACAP=10737418240` -###### `blobpool.datadir` - -Data directory to store blob transactions in. The default value is `"blobpool"`. - - - `--blobpool.datadir=` - `--blobpool.datadir="blobpool"` - `GETH_BLOBPOOL_DATADIR="blobpool"` - - -###### `blobpool.pricebump` +###### blobpool.pricebump -Price bump percentage to replace an already existing blob transaction. The default value is `100`. +Price bump percentage to replace an already existing blob transaction. +The default value is `100`. `--blobpool.pricebump=` @@ -2577,9 +2613,10 @@ Price bump percentage to replace an already existing blob transaction. The defau ##### TRANSACTION POOL (EVM) -###### `txpool.accountqueue` +###### txpool.accountqueue -Maximum number of non-executable transaction slots permitted per account. The default value is `64`. +Maximum number of non-executable transaction slots permitted per account. +The default value is `64`. `--txpool.accountqueue=` @@ -2587,9 +2624,10 @@ Maximum number of non-executable transaction slots permitted per account. The de `GETH_TXPOOL_ACCOUNTQUEUE=64` -###### `txpool.accountslots` +###### txpool.accountslots -Minimum number of executable transaction slots guaranteed per account. The default value is `16`. +Minimum number of executable transaction slots guaranteed per account. +The default value is `16`. `--txpool.accountslots=` @@ -2597,9 +2635,10 @@ Minimum number of executable transaction slots guaranteed per account. The defau `GETH_TXPOOL_ACCOUNTSLOTS=16` -###### `txpool.globalqueue` +###### txpool.globalqueue -Maximum number of non-executable transaction slots for all accounts. The default value is `1024`. +Maximum number of non-executable transaction slots for all accounts. +The default value is `1024`. `--txpool.globalqueue=` @@ -2607,9 +2646,10 @@ Maximum number of non-executable transaction slots for all accounts. The default `GETH_TXPOOL_GLOBALQUEUE=1024` -###### `txpool.globalslots` +###### txpool.globalslots -Maximum number of executable transaction slots for all accounts. The default value is `5120`. +Maximum number of executable transaction slots for all accounts. +The default value is `5120`. `--txpool.globalslots=` @@ -2617,9 +2657,10 @@ Maximum number of executable transaction slots for all accounts. The default val `GETH_TXPOOL_GLOBALSLOTS=5120` -###### `txpool.journal` +###### txpool.journal -Disk journal for local transactions to survive node restarts. The default value is `"transactions.rlp"`. +Disk journal for local transactions to survive node restarts. +The default value is `"transactions.rlp"`. `--txpool.journal=` @@ -2627,7 +2668,7 @@ Disk journal for local transactions to survive node restarts. The default value `GETH_TXPOOL_JOURNAL="transactions.rlp"` -###### `txpool.journalremotes` +###### txpool.journalremotes Includes remote transactions in the journal. The default value is `false`. @@ -2637,9 +2678,10 @@ Includes remote transactions in the journal. The default value is `false`. `GETH_TXPOOL_JOURNALREMOTES=false` -###### `txpool.lifetime` +###### txpool.lifetime -Maximum amount of time non-executable transactions are queued. The default value is `3h`. +Maximum amount of time non-executable transactions are queued. +The default value is `3h0m0s`. `--txpool.lifetime=` @@ -2647,7 +2689,7 @@ Maximum amount of time non-executable transactions are queued. The default value `GETH_TXPOOL_LIFETIME=3h0m0s` -###### `txpool.locals` +###### txpool.locals Comma-separated accounts to treat as locals (no flush, priority inclusion). @@ -2657,7 +2699,7 @@ Comma-separated accounts to treat as locals (no flush, priority inclusion). `GETH_TXPOOL_LOCALS="0x123...,0x456..."` -###### `txpool.nolocals` +###### txpool.nolocals Disables price exemptions for locally submitted transactions. The default value is `false`. @@ -2667,7 +2709,7 @@ Disables price exemptions for locally submitted transactions. The default value `GETH_TXPOOL_NOLOCALS=false` -###### `txpool.pricebump` +###### txpool.pricebump Price bump percentage to replace an already existing transaction. The default value is `10`. @@ -2677,7 +2719,7 @@ Price bump percentage to replace an already existing transaction. The default va `GETH_TXPOOL_PRICEBUMP=10` -###### `txpool.pricelimit` +###### txpool.pricelimit Minimum gas price tip to enforce for acceptance into the pool. The default value is `1`. @@ -2687,7 +2729,7 @@ Minimum gas price tip to enforce for acceptance into the pool. The default value `GETH_TXPOOL_PRICELIMIT=1` -###### `txpool.rejournal` +###### txpool.rejournal Time interval to regenerate the local transaction journal. The default value is `1h0m0s`. @@ -2699,7 +2741,7 @@ Time interval to regenerate the local transaction journal. The default value is ##### VIRTUAL MACHINE -###### `vmdebug` +###### vmdebug Record information useful for VM and contract debugging. The default value is `false`. From 81bae05983e48a7e5f0d01a322d981a8778aee05 Mon Sep 17 00:00:00 2001 From: soyboy Date: Thu, 15 Feb 2024 14:52:23 -0800 Subject: [PATCH 3/4] updating op-geth configuration section --- pages/builders/node-operators/management/configuration.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/builders/node-operators/management/configuration.mdx b/pages/builders/node-operators/management/configuration.mdx index a51392b5d..94a783aa3 100644 --- a/pages/builders/node-operators/management/configuration.mdx +++ b/pages/builders/node-operators/management/configuration.mdx @@ -2583,8 +2583,8 @@ Blockchain sync mode. Options are "snap", or "full". The default value is `"snap `--syncmode=` - `--syncmode="snap"` - `GETH_SYNCMODE="snap"` + `--syncmode="full"` + `GETH_SYNCMODE="full"` ##### TRANSACTION POOL (BLOB) From 5d18fd5745db9b96ad0386aa52c392d2b15a86e5 Mon Sep 17 00:00:00 2001 From: soyboy Date: Thu, 15 Feb 2024 15:29:36 -0800 Subject: [PATCH 4/4] appeasing the linter --- words.txt | 294 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 208 insertions(+), 86 deletions(-) diff --git a/words.txt b/words.txt index d122930a9..cd4e24f15 100644 --- a/words.txt +++ b/words.txt @@ -1,4 +1,6 @@ # Custom Dictionary for CSpell +ACCOUNTQUEUE +ACCOUNTSLOTS ADDI ADDIU ADDU @@ -6,187 +8,307 @@ ANDI Ankr Apeworx Arweave -authrpc -badgeholders -Badgeholders BGEZ BGTZ -Biconomy -birthdate BLEZ -blockhash +BLOBPOOL +BLOCKLOGS +BLOCKPROFILERATE +BLOOMFILTER +BLTZ +Badgeholders +Biconomy Blockpi Blockscout -BLTZ Bluesweep Bootcamp -bootnodes Bootnodes -bottlenecked -callouts -Callouts CCIP +COMPUTEPENDINGBLOCK +Callouts Celestia -chaindata Chainlink Chainlink's Chainnodes +Crossmint +DATACAP +DISABLETXPOOLGOSSIP +DIVU +Devnode +Dework +Discv +ENABLEDEPRECATEDPERSONAL +ETHERBASE +EVERLAND +EVMTIMEOUT +EXITWHENSYNCED +EXTRADATA +FDLIMIT +FPVM +Farcaster +Fastnode +Filecoin +Forkable +Funct +GASCAP +GCMODE +GLOBALQUEUE +GLOBALSLOTS +Görli +HISTORICALRPC +HISTORICALRPCTIMEOUT +Hackswap +Holesky +IGNOREPRICE +INFLUXDBV +IPCDISABLE +IPCPATH +IPFS +Immunefi +Inator +Interlayer +JALR +JOURNALREMOTES +JSPATH +MAXAGE +MAXBACKUPS +MAXPENDPEERS +MAXPRICE +MEMPROFILERATE +MFHI +MFLO +MINSUGGESTEDPRIORITYFEE +MIPSEVM +MOVN +MOVZ +MTHI +MTLO +MULT +MULTU +Merkle +Mintable +Mintplex +Mitigations +Multiweb +NETWORKID +NEWPAYLOAD +NOCOMPACTION +NODEKEY +NODEKEYHEX +NODISCOVER +NOLOCALS +NOPREFETCH +NOPRUNING +NOSYNCSERVE +Numba +Offchain +Opti +POAP +POAPs +PRICEBUMP +PRICELIMIT +Peerstore +Permissionless +Pimlico +Predeployed +Preimage +Protip +Pyth +Quix +RANDAO +REJOURNAL +REMOTEDB +REQUIREDBLOCKS +RPCPREFIX +RPGF +Regenesis +Rollups +SEQUENCERHTTP +SLLV +SLTI +SLTIU +SLTU +SRAV +SRLV +SUBU +SYNCMODE +SYNCTARGET +Sepolia +Superchain +Superchain's +TXPOOL +Tellor +UPNP +Unprotect +VHOSTS +VMDEBUG +VMODULE +Verkle +Viem +XORI +ZKPs +ZKVM +Zora +accountqueue +accountslots +allocs +authrpc +badgeholders +birthdate +blobpool +blockhash +blocklogs +blockprofilerate +bloomfilter +bootnodes +bottlenecked +callouts +chaindata chaosnet ckzg codebases collateralized +computependingblock confs +corsdomain counterfactually -Crossmint datadir dencun derviation devnet devnode -Devnode -Dework direnv -Discv -DIVU -EVERLAND +disabletxpoolgossip +enabledeprecatedpersonal enode erigon ethstats -Farcaster -Fastnode +evmtimeout +exitwhensynced +extradata +fdlimit featureset -Filecoin forkable -Forkable -FPVM -Funct +gascap +gcmode gifs +globalqueue gokzg -Görli -Hackswap hardfork -heartbeating healthcheck +healthcheck +heartbeating +historicalrpc +historicalrpctimeout holesky -Holesky -Immunefi +ignoreprice implicity inator -Inator -Interlayer +influxdbv +ipcdisable +ipcfile +ipcpath ipfs -IPFS -JALR +journalremotes +jspath +jwtsecret keccak leftbar +leveldb +lightkdf +logfile logfmt -Merkle -MFHI -MFLO -Mintable -Mintplex -Mitigations -MIPSEVM +maxage +maxbackups +maxpeers +maxprice +memprofilerate +minfreedisk +minsuggestedpriorityfee mmap -MOVN -MOVZ -MTHI -MTLO -MULT multiaddr multiweb -Multiweb -MULTU nethermind netrestrict +networkid +newpayload nextra -Numba +nocompaction +nodekey +nodename +nodiscover +nolocals +noprefetch +nopruning +nosyncserve offchain -Offchain open source -opnode's oplabs -Opti +opnode's pausable +pcscdpath peerstore -Peerstore peerstores permissioned permissionless -Permissionless permissionlessly perps personhood -Pimlico -POAP -POAPs pprof preconfigured predeploy predeployed -Predeployed predeploys -Preimage preimage preimages prestate +pricebump +pricelimit productionize productionized -Protip pseudorandomly -Pyth quicknode quickstarts -Quix -RANDAO regenesis -Regenesis -Rollups +rejournal +remotedb +requiredblocks rpckind -RPGF +rpcprefix sepolia -Sepolia seqnr +sequencerhttp +serv sidechains signup -SLLV -SLTI -SLTIU -SLTU smartcard snapshotlog soulbound -SRAV -SRLV +soyboy stablecoins subheaders -SUBU superchain -Superchain -Superchain's +syncmode +synctarget syscalls tellor -Tellor therealbytes +threadcreate tility timeseries tranasctions trustlessly trustrpc -Unprotect +txfeecap +txpool unsubmitted -UPNP -Verkle -Viem +vhosts +vmdebug +vmodule voxel wagmi waitlist websockets -XORI xtensibility -ZKPs -ZKVM zora -Zora -zstd -healthcheck +zstd \ No newline at end of file