Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Commit 6f36baa

Browse files
bloxsterBloxsterAskAlexSharov
authored
3.1 Release (#32)
* 3.1 updates * fixed disk size for mainnet * updated disk sizes and upgrading * updated upgrading, compiling, ver., sizes * updated shutter and persist.receipts in nodes * updated size for gno and eth minimal node * cleared instructions * updated with port flags * updated formatting * save * save * HW requirements, downloader and RPC, upgrading * removed duplicate info * updated data managing --------- Co-authored-by: Bloxster <[email protected]> Co-authored-by: alex <[email protected]>
1 parent b4baf99 commit 6f36baa

27 files changed

+923
-727
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
book
2+
/tools/installation.md
3+
/tools/introduction.md
4+
/tools/options.md
5+
/tools/setup.md
6+
/tools/user_interface.md
7+
8+

src/SUMMARY.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
- [Basic Usage](basic-usage.md)
2020
- [Type of Node](basic/node.md)
21-
- [Disk Space Required](basic/disk-space.md)
22-
- [Optimizing Storage](basic/optimizing-storage.md)
2321
- [Supported Networks](basic/networks.md)
2422
- [Default Ports and Firewalls](basic/ports.md)
2523
- [YAML/TOML Config](basic/yaml.md)
@@ -38,26 +36,21 @@
3836
- [Caplin](advanced/caplin.md)
3937
- [JWT secret](advanced/jwt.md)
4038
- [Options](advanced/options.md)
39+
- [Optimizing Storage](advanced/optimizing-storage.md)
4140
- [RPC Daemon](advanced/JSONRPC-daemon.md)
4241
- [The trace Module](advanced/JSONRPC-trace-module.md)
4342
- [TxPool](advanced/txpool.md)
4443
- [Sentry](advanced/sentry.md)
4544
- [Downloader](advanced/downloader.md)
46-
- [Running an Op-node](advanced/op-node.md)
4745
- [TLS Authentication](advanced/tls-authentication.md)
46+
- [Running an Op-node](advanced/op-node.md)
47+
- [Otterscan](tools/otterscan.md)
4848
- [Performance Tricks](advanced/performance.md)
4949

5050
- [Staking](staking.md)
5151
- [External CL](advanced/bp-ext.md)
5252
- [Caplin](advanced/bp-caplin.md)
53-
54-
- [Tools](tools.md)
55-
- [Diagnostics Tool](tools/introduction.md)
56-
- [Installation](tools/installation.md)
57-
- [Setup](tools/setup.md)
58-
- [Options](tools/options.md)
59-
- [Browser Interface](tools/user_interface.md)
60-
- [Otterscan](tools/otterscan.md)
53+
- [Shutter Network](advanced/shutter.md)
6154

6255
- [About](about.md)
6356
- [License](about/license.md)

src/_introduction.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ With Erigon 3 the default configuration shifts from archive node to full node, e
88

99
# Topics
1010

11-
- Review the hardware and software requirements [get started](getting_started.md).
11+
- Review the hardware and software requirements to [get started](getting_started.md).
1212
- Follow the [installation guide](installation.md) to set up Erigon.
1313
- Learn the [basic usage](basic-usage.md) of Erigon.
1414
- Quickly deploy your own Ethereum, Gnosis, or Polygon [node](quick_nodes.md).
1515
- Explore Erigon's [advanced features](advanced.md).
1616
- Discover the capabilities of the [RPC Daemon](advanced/JSONRPC-daemon.md).
17-
- Utilize integrated [tools](tools.md) like Diagnostic Tools and Otterscan.
1817

1918
# Additional Resources and Information
2019

src/advanced.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
Erigon is by default an "all-in-one" binary solution, but it's possible start any internal component as a separated processes:
44

5-
- [RPCDaemon](./advanced/JSONRPC-daemon.md), the JSON RPC layer
5+
- [RPCDaemon](./advanced/JSONRPC-daemon.md), the JSON RPC layer. (Most battle-tested external component)
66
- [TxPool](./advanced/txpool.md), the transaction pool
77
- [Sentry](./advanced/sentry.md), the p2p layer
8-
- [Downloader](./advanced/downloader.md), the history download layer
8+
- [Downloader](./advanced/downloader.md), the history download layer (we don't recommend run it externally)
99
- [Caplin](./advanced/caplin.md), the novel Consensus Layer
1010

1111
This may be for security, scalability, decentralisation, resource limitation, custom implementation, or any other reason you/your team deems appropriate. See the appropriate section to understand how to start each service separately.

src/advanced/JSONRPC-daemon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# RPC Daemon
33
*Remote Procedure Call*
44

5-
The RPC daemon is a crucial component of Erigon, enabling JSON remote procedure calls and providing access to various APIs.
5+
The RPC daemon is a crucial component of Erigon, enabling JSON remote procedure calls and providing access to various APIs. It is designed to operate effectively both as an internal or as an external component. For detailed instructions on running it remotely, refer to the documentation [here](https://github.com/erigontech/erigon/blob/main/cmd/rpcdaemon/README.md#running-remotely).
66

77
## Erigon RPC Method Guidelines
88

src/advanced/configuring.md

Lines changed: 395 additions & 86 deletions
Large diffs are not rendered by default.

src/advanced/downloader.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33

44
The Downloader is a service responsible for seeding and downloading historical data using the BitTorrent protocol. Data is stored in the form of immutable `.seg` files, known as **snapshots**. The Ethereum core instructs the Downloader to download specific files, identified by their unique info hashes, which include both block headers and block bodies. The Downloader then communicates with the BitTorrent network to retrieve the necessary files, as specified by the Ethereum core.
55

6-
<div class="warning">
7-
8-
**Information**:
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.
11-
12-
</div>
6+
> **Warning**: 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.
137
148
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:
159

src/advanced/optimizing-storage.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Optimizing Storage
2+
*Using fast disks and cheap disks*
3+
4+
For optimal performance, it's recommended to store the datadir on a fast NVMe-RAID disk. However, if this is not feasible, you can store the history on a cheaper disk and still achieve good performance.
5+
6+
## Step 1: Store datadir on the slow disk
7+
8+
Place the `datadir` on the slower disk. Then, create symbolic links (using `ln -s`) to the **fast disk** for the following sub-folders:
9+
10+
- `chaindata`
11+
- `snapshots/domain`
12+
13+
This will speed up the execution of E3.
14+
15+
On the **slow disk** place `datadir` folder with the following structure:
16+
- `chaindata` (linked to fast disk)
17+
- `snapshots`
18+
- `domain` (linked to fast disk)
19+
- `history`
20+
- `idx`
21+
- `accessor`
22+
- `temp`
23+
24+
25+
## Step 2: Speed Up History Access (Optional)
26+
27+
If you need to further improve performance try the following improvements step by step:
28+
29+
1. Store the `snapshots/accessor` folder on the fast disk. This should provide a noticeable speed boost.
30+
2. If the speed is still not satisfactory, move the `snapshots/idx` folder to the fast disk.
31+
3. If performance is still an issue, consider moving the entire `snapshots/history` folder to the fast disk.
32+
33+
By following these steps, you can optimize your Erigon 3 storage setup to achieve a good balance between performance and cost.

0 commit comments

Comments
 (0)