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
{{ message }}
This repository was archived by the owner on Dec 22, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: src/advanced/options.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,17 @@
1
1
# Options
2
+
2
3
*All available options*
3
4
4
5
Erigon is primarily controlled using the command line, started using the `./build/bin/erigon` command and stopped by pressing `CTRL-C`.
5
6
6
7
Using the command-line options allows for configurations, and several functionalities can be called using sub commands.
7
8
8
-
The `--help` flag listing is reproduced below for your convenience.
9
+
The `--help` flag listing is reproduced below for your convenience.
9
10
10
11
```bash
11
12
./build/bin/erigon --help
12
13
```
13
14
14
-
15
-
16
15
## Commands
17
16
18
17
```
@@ -118,7 +117,7 @@ GLOBAL OPTIONS:
118
117
--snap.state.stop Workaround to stop producing new state files, if you meet some state-related critical bug. It will stop aggregate DB history in a state files. DB will grow and may slightly slow-down - and removing this flag in future will not fix this effect (db size will not greatly reduce). (default: false)
119
118
--snap.skip-state-snapshot-download Skip state download and start from genesis block (default: false)
120
119
--db.pagesize value DB is splitted to 'pages' of fixed size. Can't change DB creation. Must be power of 2 and '256b <= pagesize <= 64kb'. Default: equal to OperationSystem's pageSize. Bigger pageSize causing: 1. More writes to disk during commit 2. Smaller b-tree high 3. Less fragmentation 4. Less overhead on 'free-pages list' maintainance (a bit faster Put/Commit) 5. If expecting DB-size > 8Tb then set pageSize >= 8Kb (default: "4KB")
121
-
--db.size.limit value Runtime limit of chaindata db size (can change at any time) (default: "200GB")
120
+
--db.size.limit value Runtime limit of chaindata db size (can change at any time) (default: "1TB")
122
121
--db.writemap Enable WRITE_MAP feature for fast database writes and fast commit times (default: true)
123
122
--torrent.port value Port to listen and serve BitTorrent protocol (default: 42069)
124
123
--torrent.maxpeers value Unused parameter (reserved for future use) (default: 100)
0 commit comments