You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gitbook/src/fundamentals/configuring-erigon/README.md
+31-11Lines changed: 31 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ These flags cover the general behavior and configuration of the Erigon client.
38
38
* Default: `false`, means that Caplin is enabled.
39
39
*`--override.osaka value`: Manually specifies the Osaka fork time.
40
40
* Default: `0`
41
+
*`--override.amsterdam value`: Manually specifies the Amsterdam fork time.
42
+
* Default: `0`
41
43
*`--vmdebug`: Records information for VM and contract debugging.
42
44
* Default: `false`
43
45
*`--gdbme`: Restarts Erigon under gdb for debugging.
@@ -80,9 +82,7 @@ Flags for managing how old chain data is handled and stored.
80
82
* Default: `0`
81
83
*`--prune.distance.blocks value`: Keeps block history for the latest `N` blocks.
82
84
* Default: `0`
83
-
*`--prune.experimental.include-commitment-history, --experimental.commitment-history`: Enables faster `eth_getProof` for executed blocks.
84
-
* Default: `false`
85
-
*`--prune.include-commitment-history` : (experimental) Enables the storage of commitment history. When enabled, it allows for blazing fast retrieval of Merkle proofs for executed blocks using the `eth_getProof` JSON-RPC method.
85
+
*`--prune.include-commitment-history, --prune.experimental.include-commitment-history, --experimental.commitment-history`: (experimental) Enables blazing fast `eth_getProof` for executed blocks by storing commitment history.
86
86
* Default: `false`
87
87
*`--snap.keepblocks`: Keeps ancient blocks in the database for debugging.
88
88
* Default: `false`
@@ -139,13 +139,9 @@ These flags manage network connectivity, peer discovery, and traffic control.
139
139
*`--nodiscover`: Disables peer discovery.
140
140
* Default: `false`
141
141
*`--discovery.v4`, `--discv4`: Enables the Node Discovery Protocol v4 (Discv4) for managed ENRs and topic discovery.
142
-
* Default: `true`
142
+
* Default: `false`
143
143
*`--discovery.v5`, `--discv5`, `--v5disc`: Enables the Node Discovery Protocol v5 (Discv5) for managed ENRs and topic discovery.
144
144
* Default: `true`
145
-
*`--discovery.parallelism value`: The number of concurrent lookup requests allowed per discovery query.
146
-
* Default: `3`
147
-
*`**`--discovery.ban-threshold value`: The number of failed handshake attempts before an IP is temporarily blacklisted.
148
-
* Default: `5`
149
145
*`--netrestrict value`: Restricts network communication to specific IP networks.
150
146
*`--nodekey value`: The P2P node key file.
151
147
*`--nodekeyhex value`: The P2P node key as a hexadecimal string.
@@ -242,6 +238,15 @@ Flags for configuring various RPC servers and their behavior.
242
238
*`--healthcheck`: Enables gRPC health checks.
243
239
* Default: `false`
244
240
241
+
### MCP Server
242
+
243
+
Flags for configuring the Model Context Protocol (MCP) server.
244
+
245
+
*`--mcp.addr value`: The MCP server listening address.
246
+
* Default: `127.0.0.1`
247
+
*`--mcp.port value`: The MCP server listening port.
248
+
* Default: `8553`
249
+
245
250
### Logging and Profiling
246
251
247
252
Flags for controlling logging and performance profiling.
@@ -261,7 +266,7 @@ Flags for controlling logging and performance profiling.
261
266
*`--log.dir.path value`: The path to store user and error logs.
262
267
*`--log.dir.prefix value`: The file name prefix for logs stored on disk.
263
268
*`--log.dir.verbosity value`: Sets the log verbosity for disk logs.
264
-
* Default: `info`
269
+
* Default: `dbug`
265
270
*`--log.delays`: Enables block delay logging.
266
271
* Default: `false`
267
272
*`--pprof`: Enables the pprof HTTP server.
@@ -367,6 +372,17 @@ These flags control the block synchronization and data downloading process, incl
367
372
*`--torrent.verbosity value`: Sets the verbosity level for BitTorrent logs. 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (must set `--verbosity` to equal or higher level)
368
373
* Default: `1`
369
374
375
+
### Fork Choice Update (FCU)
376
+
377
+
Flags for configuring Fork Choice Update behavior.
378
+
379
+
*`--fcu.timeout value`: FCU timeout before switching to async processing (use `0` to disable).
380
+
* Default: `1s`
381
+
*`--fcu.background.prune`: Enables background pruning after FCU.
382
+
* Default: `true`
383
+
*`--fcu.background.commit`: Enables background flush and commit after FCU.
384
+
* Default: `false`
385
+
370
386
### Caplin (Consensus Layer)
371
387
372
388
Flags for configuring the Caplin consensus layer.
@@ -600,6 +616,7 @@ GLOBAL OPTIONS:
600
616
--prune.include-commitment-history, --experimental.commitment-history, --prune.experimental.include-commitment-history Enables blazing fast eth_getProof for executed block (default: false)
601
617
--fcu.timeout value FCU timeout before it switches to being process async (use 0 to disable) (default: 1s)
602
618
--fcu.background.prune Enables background pruning post fcu (default: true)
619
+
--fcu.background.commit Enables background flush and commit post fcu (default: false)
603
620
--batchSize value Batch size for the execution stage (default: "512M")
604
621
--bodies.cache value Limit on the cache for block bodies (default: "268435456")
605
622
--database.verbosity value Enabling internal db logs. Very high verbosity levels may require recompile db. Default: 2, means warning. (default: 2)
@@ -688,7 +705,7 @@ GLOBAL OPTIONS:
688
705
"stun" Uses STUN to detect an external IP using a default server
689
706
"stun:<server>" Uses STUN to detect an external IP using the given server (host:port)
0 commit comments