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/downloader.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@ The Downloader is a service responsible for seeding and downloading historical d
7
7
8
8
**Information**:
9
9
10
-
While all Erigon components are separable and can be run on different machines, the downloader must run on the same machine as Erigon to be able to share downloaded and seeded files.
10
+
While all Erigon components are separable and can be run on different machines, the Downloader must run on the same machine as Erigon to be able to share downloaded and seeded files.
11
11
12
12
</div>
13
13
14
-
For a comprehensive understanding of the Downloader's functionality, configuration, and usage, please refer to the embedded file you can find in your compiled Erigon folder at `./cmd/downloader/README.md`. This file covers the following key topics:
14
+
For a comprehensive understanding of the Downloader's functionality, configuration, and usage, please refer to [./cmd/downloader/README.md](https://github.com/erigontech/erigon/blob/main/cmd/downloader/readme.md) with the following key topics:
15
15
16
16
1.**Snapshots overview**: An introduction to snapshots, their benefits, and how they are created and used in Erigon.
17
17
2.**Starting Erigon with snapshots support**: Instructions on how to start Erigon with snapshots support, either by default or as a separate process.
Copy file name to clipboardExpand all lines: src/advanced/options.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ USAGE:
21
21
erigon [command] [flags]
22
22
23
23
VERSION:
24
-
3.00.0-alpha7-34714c0c
24
+
3.00.0-beta1-0b94461f
25
25
26
26
COMMANDS:
27
27
init Bootstrap and initialize a new genesis block
@@ -124,6 +124,7 @@ GLOBAL OPTIONS:
124
124
--snap.keepblocks Keep ancient blocks in db (useful for debug) (default: false)
125
125
--snap.stop Workaround to stop producing new snapshots, if you meet some snapshots-related critical bug. It will stop move historical data from DB to new immutable snapshots. 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)
126
126
--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)
127
+
--snap.skip-state-snapshot-download Skip state download and start from genesis block (default: false)
127
128
--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")
128
129
--db.size.limit value Runtime limit of chaindata db size (can change at any time) (default: "200GB")
129
130
--db.writemap Enable WRITE_MAP feature for fast database writes and fast commit times (default: true)
@@ -196,7 +197,7 @@ GLOBAL OPTIONS:
196
197
--bor.minblocksize Ignore the bor block period and wait for 'blocksize' transactions (for testing purposes) (default: false)
197
198
--bor.milestone Enabling bor milestone processing (default: true)
198
199
--bor.waypoints Enabling bor waypont recording (default: false)
199
-
--polygon.sync Enabling syncing using the new polygon sync component (default: false)
200
+
--polygon.sync Enabling syncing using the new polygon sync component (default: true)
200
201
--polygon.sync.stage Enabling syncing with a stage that uses the polygon sync component (default: false)
201
202
--ethstats value Reporting URL of a ethstats service (nodename:secret@host:port)
202
203
--override.prague value Manually specify the Prague fork time, overriding the bundled setting (default: 0)
@@ -219,6 +220,7 @@ GLOBAL OPTIONS:
219
220
--sentinel.addr value Address for sentinel (default: "localhost")
220
221
--sentinel.port value Port for sentinel (default: 7777)
221
222
--sentinel.bootnodes value [ --sentinel.bootnodes value ] Comma separated enode URLs for P2P discovery bootstrap
223
+
--sentinel.staticpeers value [ --sentinel.staticpeers value ] connect to comma-separated Consensus static peers
222
224
--ots.search.max.pagesize value Max allowed page size for search methods (default: 25)
--caplin.blobs-no-pruning disable blob pruning in caplin (default: false)
248
252
--caplin.checkpoint-sync.disable disable checkpoint sync in caplin (default: false)
249
-
--caplin.archive enables archival node in caplin (default: false)
250
253
--caplin.snapgen enables snapshot generation in caplin (default: false)
251
254
--caplin.snapgen enables snapshot generation in caplin (default: false)
252
255
--caplin.mev-relay-url value MEV relay endpoint. Caplin runs in builder mode if this is set
@@ -261,7 +264,8 @@ GLOBAL OPTIONS:
261
264
--sync.parallel-state-flushing Enables parallel state flushing (default: true)
262
265
--chaos.monkey Enable 'chaos monkey' to generate spontaneous network/consensus/etc failures. Use ONLY for testing (default: false)
263
266
--shutter Enable the Shutter encrypted transactions mempool (defaults to false) (default: false)
264
-
--shutter.keyper.bootnodes value [ --shutter.keyper.bootnodes value ] Use to override the default keyper bootnodes (defaults to using the bootnodes from the embedded config)
267
+
--shutter.p2p.bootstrap.nodes value [ --shutter.p2p.bootstrap.nodes value ] Use to override the default p2p bootstrap nodes (defaults to using the values in the embedded config)
268
+
--shutter.p2p.listen.port value Use to override the default p2p listen port (defaults to 23102) (default: 0)
265
269
--pprof Enable the pprof HTTP server (default: false)
266
270
--pprof.addr value pprof HTTP server listening interface (default: "127.0.0.1")
267
271
--pprof.port value pprof HTTP server listening port (default: 6060)
Copy file name to clipboardExpand all lines: src/advanced/sentry.md
+1-10Lines changed: 1 addition & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,25 +59,16 @@ Where `value` is comma separated sentry addresses '<host>:<port>,<host>:<port>'.
59
59
60
60
For other information regarding Sentry functionality, configuration, and usage, please refer to the embedded file you can find in your compiled Erigon folder at `./cmd/sentry/README.md`.
61
61
62
-
## Options
63
-
64
-
The --help flag listing is reproduced below for your convenience.
65
-
66
-
```bash
67
-
./build/bin/sentry --help
68
-
```
69
-
70
62
### Command Line Options
71
63
72
64
To display available options for Sentry digit:
73
65
74
66
```bash
75
-
./build/bin/sentry -h
67
+
./build/bin/sentry --help
76
68
```
77
69
78
70
The `--help` flag listing is reproduced below for your convenience.
Copy file name to clipboardExpand all lines: src/getting-started/sw-requirements.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Software Requirements
2
2
3
-
Before we start, please note that building software from source can be complex. If you're not comfortable with technical tasks, you might want to check the [Docker](./docker.md) installation.
3
+
Before we start, please note that building software from source can be complex. If you're not comfortable with technical tasks, you might want to check the [Docker](/installation/docker.md) installation.
4
4
5
5
Erigon works only from command line interface (CLI), so it is advisable to have a good confidence with basic commands.
Copy file name to clipboardExpand all lines: src/installation/docker.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,33 +19,32 @@ Here are the steps to download and start Erigon 3 in Docker:
19
19
20
20
1. Install the latest version of Docker Engine, see instructions [here](https://docs.docker.com/engine/install/).
21
21
22
-
2. Visit the Erigon Docker Hub page to view the available releases. For Erigon 3, search for the [latest available release](https://hub.docker.com/r/erigontech/erigon/tags?name=v3).
23
-
1. Install the latest version of Docker Engine, see instructions [here](https://docs.docker.com/engine/install/).
24
-
25
22
2. Visit the Erigon Docker Hub page to view the available releases. For Erigon 3, search for the [latest available release](https://hub.docker.com/r/erigontech/erigon/tags?name=v3).
26
23
27
-
3. Download the latest version:
28
24
3. Download the latest version:
29
25
30
26
```bash
31
-
docker pull erigontech/erigon:v3.0.0-alpha7
27
+
docker pull erigontech/erigon:v3.0.0-beta1
32
28
```
29
+
33
30
* List the downloaded images to get the IMAGE ID:
31
+
34
32
```bash
35
33
docker images
36
34
```
35
+
37
36
* Check which Erigon version has been downloaded:
37
+
38
38
```bash
39
39
docker run -it <image_id> --v
40
40
```
41
-
* If you want to start Erigon add the options according to the [basic usage](/basic-usage.md) page or the advanced customization page. For example:
42
41
43
42
* If you want to start Erigon add the options according to the [basic usage](/basic-usage.md) page or the advanced customization page. For example:
44
43
45
44
```bash
46
45
docker run -it 50bef1b5d0f9 --chain=holesky --prune.mode=minimal
47
-
docker run -it 50bef1b5d0f9 --chain=holesky --prune.mode=minimal
48
46
```
47
+
49
48
* When done, exit the container or press `Ctrl+C`. The container will stop.
Copy file name to clipboardExpand all lines: src/installation/linux.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
The basic Erigon configuration is suitable for most users just wanting to run a node. For building the latest stable release use the following command:
Copy file name to clipboardExpand all lines: src/installation/upgrading-md
+13-37Lines changed: 13 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -3,36 +3,32 @@
3
3
To upgrade Erigon to a newer version when you've originally installed it via Git and manual compilation, you should follow these steps without needing to delete the entire folder:
4
4
5
5
* **Terminate your Erigon** session by pressing CTRL+C
6
-
* *Navigate to your Erigon directory*
6
+
7
+
* **Navigate to your Erigon directory**
8
+
7
9
* **Fetch the latest changes from the repository**: You need to make sure your local repository is up-to-date with the main GitHub repository. Run:
10
+
8
11
```bash
9
12
git fetch --tags
10
13
```
11
-
```bash
12
-
git fetch --tags
13
-
```
14
+
14
15
* **Check out** the [latest version](https://github.com/ledgerwatch/erigon/releases) and switch to it using:
16
+
15
17
```bash
16
18
git checkout <new_version_tag>
17
19
```
18
-
Replace `<new_version_tag>` with the version tag of the new release, for example:
19
-
```bash
20
-
git checkout <new_version_tag>
21
-
```
20
+
22
21
Replace `<new_version_tag>` with the version tag of the new release, for example:
23
22
24
23
```bash
25
-
git checkout v3.0.0-alpha7
24
+
git checkout v3.0.0-beta1
26
25
```
27
26
28
27
* **Rebuild Erigon**: Since the codebase has changed, you need to compile the new version. Run:
29
28
30
29
```bash
31
30
make erigon
32
31
```
33
-
```bash
34
-
make erigon
35
-
```
36
32
37
33
This process updates your installation to the latest version you specify, while maintaining your existing data and configuration settings in the Erigon folder. You're essentially just replacing the executable with a newer version.
38
34
@@ -44,64 +40,44 @@ If you're using Docker to run Erigon, the process to upgrade to a newer version
44
40
```bash
45
41
docker pull erigontech/erigon:<new_version_tag>
46
42
```
43
+
47
44
Replace `<new_version_tag>` with the actual version tag you wish to use. For example:
45
+
48
46
```bash
49
-
docker pull erigontech/erigon:<new_version_tag>
47
+
docker pull erigontech/erigon:v3.0.0-beta1
50
48
```
51
-
Replace `<new_version_tag>` with the actual version tag you wish to use. For example:
52
49
53
-
```bash
54
-
docker pull erigontech/erigon:3.0.0
55
-
```
56
-
```bash
57
-
docker pull erigontech/erigon:3.0.0
58
-
```
59
50
* **List Your Docker Images**: Check your downloaded images to confirm the new image is there and get the new image ID:
60
51
61
52
```bash
62
53
docker images
63
54
```
64
-
```bash
65
-
docker images
66
-
```
55
+
67
56
* **Stop the Running Erigon Container**: If you have a currently running Erigon container, you'll need to stop it before you can start the new version. First, find the container ID by listing the running containers:
68
57
69
58
```bash
70
59
docker ps
71
60
```
72
-
Then stop the container using:
73
-
```bash
74
-
docker ps
75
-
```
61
+
76
62
Then stop the container using:
77
63
78
-
```bash
79
-
docker stop <container_id>
80
-
```
81
64
```bash
82
65
docker stop <container_id>
83
66
```
84
67
85
68
Replace `<container_id>` with the actual ID of the container running Erigon.
86
-
Replace `<container_id>` with the actual ID of the container running Erigon.
87
69
88
70
* **Remove the Old Container**: (Optional) If you want to clean up, you can remove the old container after stopping it:
89
71
90
72
```bash
91
73
docker rm <container_id>
92
74
```
93
-
```bash
94
-
docker rm <container_id>
95
-
```
96
75
97
76
* **Run the New Image**: Now you can start a new container with the new Erigon version using the new image ID:
98
77
99
78
```bash
100
79
docker run -it <new_image_id>
101
80
```
102
-
```bash
103
-
docker run -it <new_image_id>
104
-
```
105
81
106
82
* **Verify Operation**: Ensure that Erigon starts correctly and connects to the desired network, verifying the logs for any initial errors.
0 commit comments