`: This flag specifies the data directory for Erigon. This is where Erigon stores its databases and other data.
+
+- `--http=false`: This flag disables the HTTP API server in Erigon (default: `true)`. When running the txpool as a separate process, this flag is used to prevent the internal HTTP server from interfering with the external txpool.
+
+- `--sentry.api.addr=localhost:9091`: This flag sets the address and port for the sentry API. The sentry API is used for communication between the txpool and the sentry.
+
+- `--txpool.api.addr=localhost:9094`: This flag sets the address and port for the txpool API (default: use value of `--private.api.addr`). The txpool API is used for communication between the txpool and other Erigon components.
+
+- `--pprof`: Enable the pprof HTTP server (default: `false`)
+
+- `--pprof.addr 0.0.0.0`: This flag sets the address for the pprof HTTP server (default: `127.0.0.1`). The pprof server is used for profiling and debugging Erigon. By setting this flag to `0.0.0.0`, the pprof server is made accessible from outside the local machine.
-For other information regardin Txpool functionality, configuration, and usage, please refer to the embedded file you can find in your compiled Erigon folder at `./cmd/txpool/README.md`.
## Command Line Options
@@ -45,13 +83,14 @@ To display available options for Txpool digit:
The `--help` flag listing is reproduced below for your convenience.
```
+./build/bin/txpool --help
Launch external Transaction Pool instance - same as built-into Erigon, but as independent Process
Usage:
txpool [flags]
Flags:
- --datadir string Data directory for the databases (default "/home/bloxster/.local/share/erigon")
+ --datadir string Data directory for the databases (default "/home/user/.local/share/erigon")
--db.writemap Enable WRITE_MAP feature for fast database writes and fast commit times (default true)
--diagnostics.disabled Disable diagnostics
--diagnostics.endpoint.addr string Diagnostics HTTP server listening interface (default "127.0.0.1")
diff --git a/src/basic/disk-space.md b/src/basic/disk-space.md
index 31eaa04..9f50c6f 100644
--- a/src/basic/disk-space.md
+++ b/src/basic/disk-space.md
@@ -3,12 +3,13 @@
# Mainnets
+Below is the size of the `--datadir` used by Erigon.
## Erigon with Caplin
| Network | Archive Node | Full Node | Minimal Node |
|----------|--------------|-----------|--------------|
-| Ethereum | 1.7 TB | 900 GB | 310 GB |
+| Ethereum | 1.7 TB | 1000 GB | 310 GB |
| Gnosis | 535 GB | 365 GB | 210 GB |
| Polygon | 4.3 TB | 2 TB | 873 GB |
@@ -16,7 +17,6 @@ See also [sync times](https://github.com/erigontech/erigon?tab=readme-ov-file#sy
-
## Erigon with an external Consensus Layer client
*(Values obtained with [Lighthouse](https://lighthouse-book.sigmaprime.io/))*
@@ -34,12 +34,10 @@ See also [sync times](https://github.com/erigontech/erigon?tab=readme-ov-file#sy
# Testnets
## Erigon with Caplin
-
| Network | Archive Node | Full Node | Minimal Node |
|----------|--------------|-----------|--------------|
| Holesky | 170 GB | 110 GB | 53 GB |
-| Sepolia | 186 GB | 116 GB | 63 GB |
+| Sepolia | 950 GB | 510 GB | 122 GB |
| Chiado | 25 GB | 17 GB | 12 GB |
-
See also hints on [optimizing storage](/basic/optimizing-storage.md).
diff --git a/src/basic/networks.md b/src/basic/networks.md
index 5341d26..1f7a2ff 100644
--- a/src/basic/networks.md
+++ b/src/basic/networks.md
@@ -20,10 +20,11 @@ Utilize the flag `--chain=` to synchronize with one of the supported networ
## Ethereum testnets
-|Chain | Tag| ChainId |
-|----------|-------|-----------|
-|Holesky |holesky| 17000 |
-|Sepolia |sepolia| 11155111|
+|Chain | Tag| ChainId |
+|----------|-------|----------|
+|Holesky |holesky| 17000 |
+|Sepolia |sepolia| 11155111|
+|Hoodi |hoodi | 560048 |
## Polygon testnets
diff --git a/src/basic/yaml.md b/src/basic/yaml.md
new file mode 100644
index 0000000..7d2cc9c
--- /dev/null
+++ b/src/basic/yaml.md
@@ -0,0 +1,34 @@
+# Using TOML or YAML Config Files
+
+
+You can set Erigon flags via a YAML or TOML configuration file with the flag `--config`. The flags set in the configuration file can be overridden by writing the flags directly to the Erigon command line.
+
+## YAML
+
+Assuming we have `--chain=mainnet` in our configuration file, adding `--chain=holesky` will override the flag inside the yaml configuration file and set the chain to Holesky.
+
+```bash
+./build/bin/erigon --config ./config.yaml --chain=holesky
+```
+
+Example of setting up a YAML config file:
+
+```bash
+datadir : 'your datadir'
+chain : "mainnet"
+http : true
+
+http.api : ["eth","debug","net"]
+```
+
+## TOML
+
+Example of setting up TOML config file:
+
+```bash
+datadir = 'your datadir'
+chain = "mainnet"
+http = true
+
+"http.api" = ["eth","debug","net"]
+```
\ No newline at end of file
diff --git a/src/images/Erigon-2024-ICON-V1-O-scaled.webp b/src/images/Erigon-2024-ICON-V1-O-scaled.webp
new file mode 100644
index 0000000..3554974
Binary files /dev/null and b/src/images/Erigon-2024-ICON-V1-O-scaled.webp differ
diff --git a/src/installation/build_exec_win.md b/src/installation/build_exec_win.md
index 90ecf45..9da7577 100644
--- a/src/installation/build_exec_win.md
+++ b/src/installation/build_exec_win.md
@@ -55,7 +55,7 @@ Then click on the "**New**" button and paste the following path:
Open the Command Prompt and type the following:
```bash
-git clone --branch v3.0.0-beta2 --single-branch https://github.com/erigontech/erigon.git
+git clone --branch release/3.0 --single-branch https://github.com/erigontech/erigon.git
```
You might need to change the `ExecutionPolicy` to allow scripts created locally or signed by a trusted publisher to run:
diff --git a/src/installation/docker.md b/src/installation/docker.md
index 288903c..c1f98d9 100644
--- a/src/installation/docker.md
+++ b/src/installation/docker.md
@@ -24,7 +24,7 @@ Here are the steps to download and start Erigon 3 in Docker:
3. Download the latest version:
```bash
-docker pull erigontech/erigon:v3.0.0-beta2
+docker pull erigontech/erigon:v3.0.0
```
* List the downloaded images to get the IMAGE ID:
@@ -42,7 +42,7 @@ docker run -it --v
* 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:
```bash
-docker run -it 50bef1b5d0f9 --chain=holesky --prune.mode=minimal
+docker run -it 36f25992dd1a --chain=holesky --prune.mode=minimal
```
* When done, exit the container or press `Ctrl+C`. The container will stop.
diff --git a/src/installation/linux.md b/src/installation/linux.md
index c3c7b20..757886b 100644
--- a/src/installation/linux.md
+++ b/src/installation/linux.md
@@ -4,7 +4,7 @@
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:
```bash
-git clone --branch v3.0.0-beta2 --single-branch https://github.com/erigontech/erigon.git
+git clone --branch release/3.0 --single-branch https://github.com/erigontech/erigon.git
cd erigon
make erigon
```
diff --git a/src/installation/upgrading-md b/src/installation/upgrading-md
index 8ffc3e6..7653ead 100644
--- a/src/installation/upgrading-md
+++ b/src/installation/upgrading-md
@@ -23,7 +23,7 @@ To upgrade Erigon to a newer version when you've originally installed it via Git
Replace `` with the version tag of the new release, for example:
```bash
- git checkout v3.0.0-beta2
+ git checkout v3.0.0
```
* **Rebuild Erigon**: Since the codebase has changed, you need to compile the new version. Run:
diff --git a/src/nodes/ethereum.md b/src/nodes/ethereum.md
index b0072f5..9ab342f 100644
--- a/src/nodes/ethereum.md
+++ b/src/nodes/ethereum.md
@@ -18,7 +18,7 @@ Check which [type of node](/basic/node.md) you might want to run and the [disk s
For MacOS and Linux, run the following commands to build from source the latest Erigon version:
```bash
-git clone --branch v3.0.0-beta2 --single-branch https://github.com/erigontech/erigon.git
+git clone --branch release/3.0 --single-branch https://github.com/erigontech/erigon.git
cd erigon
make erigon
```
diff --git a/src/nodes/gnosis.md b/src/nodes/gnosis.md
index 95bef41..d3e880a 100644
--- a/src/nodes/gnosis.md
+++ b/src/nodes/gnosis.md
@@ -18,7 +18,7 @@ Check which [type of node](/basic/node.md) you might want to run and the [disk s
For MacOS and Linux, run the following commands to build from source the latest Erigon version:
```bash
-git clone --branch v3.0.0-beta2 --single-branch https://github.com/erigontech/erigon.git
+git clone --branch release/3.0 --single-branch https://github.com/erigontech/erigon.git
cd erigon
make erigon
```
@@ -53,7 +53,7 @@ The basic command to run Erigon with Caplin on Gnosis Chain is:
1. Start Erigon:
```bash
- ./build/bin/erigon --externalcl
+ ./build/bin/erigon --chain=gnosis --externalcl
```
2. Install Lighthouse, another popular client that can be used with Erigon for block building. Follow the instructions until the chapter **Build Lighthouse**, skipping the `make` instruction.:
diff --git a/src/nodes/polygon.md b/src/nodes/polygon.md
index 526c85a..e619748 100644
--- a/src/nodes/polygon.md
+++ b/src/nodes/polygon.md
@@ -18,7 +18,7 @@ Check which [type of node](/basic/node.md) you might want to run and the [disk s
For MacOS and Linux, run the following commands to build from source the latest Erigon version:
```bash
-git clone --branch v3.0.0-beta2 --single-branch https://github.com/erigontech/erigon.git
+git clone --branch release/3.0 --single-branch https://github.com/erigontech/erigon.git
cd erigon
make erigon
```
diff --git a/src/staking.md b/src/staking.md
index caaded4..ce2e92c 100644
--- a/src/staking.md
+++ b/src/staking.md
@@ -4,6 +4,6 @@
Erigon is a comprehensive execution and consensus layer that also supports staking, aka block production, for Ethereum and Gnosis Chain. Both remote miners and Caplin are supported.
-- Using a [external consensus client](/advanced/bp-ext.md) as validator;
+- Using a [external consensus client as validator](/advanced/bp-ext.md);
- Using [Caplin as validator](/advanced/bp-caplin.md).