Skip to content

Commit 999a9ad

Browse files
summary erigon doc
1 parent 2b06380 commit 999a9ad

File tree

2 files changed

+21
-22
lines changed

2 files changed

+21
-22
lines changed

docs/cdk/erigon/summary.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,41 @@
1-
Erigon, previously known as Turbo-Geth, is a high-performance Ethereum client designed to handle the growing demands of the Ethereum blockchain. It focuses on optimizing performance, disk space, and synchronization speed. Erigon is notable for its modular architecture, which makes it highly efficient and customizable for various blockchain tasks.
1+
[Erigon](https://github.com/ledgerwatch/erigon), previously known as Turbo-Geth, is a high-performance Ethereum client designed to handle the growing demands of the Ethereum blockchain. It focuses on optimizing performance, disk space, and synchronization speed.
22

3-
Below is a high-level diagram illustrating the core components of Erigon.
3+
Erigon has a modular architecture, which makes it highly efficient and customizable for various common blockchain tasks.
44

5-
![Erigon High-Level Architecture](https://raw.githubusercontent.com/ledgerwatch/erigon/master/docs/architecture.png)
5+
## Key features
66

7-
1. **Networking**: Handles P2P communication with other nodes.
8-
2. **Block Processing**: Manages the validation and execution of blocks.
9-
3. **Database**: Stores blockchain data in a highly optimized format.
10-
4. **RPC Interface**: Provides methods for external applications to interact with the node.
7+
- Modular architecture: Erigon's modular design allows different components to be developed, optimized, and updated independently. This separation of concerns helps in improving the performance and reliability of each module.
118

12-
### Key features of Erigon
9+
- Performance optimization: Erigon employs advanced techniques for data handling, such as memory-mapped files and optimized data structures, to ensure high-speed processing of blockchain data.
1310

14-
1. **Modular Architecture**: Erigon's modular design allows different components to be developed, optimized, and updated independently. This separation of concerns helps in improving the performance and reliability of each module.
11+
- Reduced disk usage: By implementing a more efficient database schema, Erigon significantly reduces disk usage compared to other Ethereum clients.
1512

16-
2. **Performance Optimization**: Erigon employs advanced techniques for data handling, such as memory-mapped files and optimized data structures, to ensure high-speed processing of blockchain data.
13+
- Fast synchronization: Erigon's fast sync method allows nodes to catch up with the blockchain more quickly by downloading only the most recent state of the blockchain, rather than the entire history.
1714

18-
3. **Reduced Disk Usage**: By implementing a more efficient database schema, Erigon significantly reduces disk usage compared to other Ethereum clients.
15+
## Erigon as a sequencer
1916

20-
4. **Fast Synchronization**: Erigon's fast sync method allows nodes to catch up with the blockchain more quickly by downloading only the most recent state of the blockchain, rather than the entire history.
17+
Blockchain sequencers play a critical role in ordering transactions and creating new blocks. Erigon's sequencer processes incoming transactions, organizes them into blocks, and propagates these blocks across the network.
2118

22-
### Erigon as a sequencer
19+
## RPC node
2320

24-
In the context of Ethereum, a sequencer plays a critical role in ordering transactions and creating new blocks. Erigon's sequencer efficiently processes incoming transactions, organizes them into blocks, and propagates these blocks across the network.
21+
The remote procedure call (RPC) interface in Erigon allows external applications to interact with the underlying blockchain. This interface is essential for decentralized applications such as dApps, wallets, and other blockchain services. The RPC provides methods for querying blockchain data, sending transactions, and managing accounts.
2522

26-
### RPC node
23+
The following sequence diagram shows how a transaction is processed by the Erigon node.
2724

28-
The Remote Procedure Call (RPC) interface in Erigon allows external applications to interact with the Ethereum blockchain. This interface is essential for decentralized applications (DApps), wallets, and other blockchain services. It provides methods for querying blockchain data, sending transactions, and managing accounts.
25+
![Erigon transactions](../../img/cdk/erigon/erigon.png)
2926

27+
## CDK erigon
3028

31-
#### Sequence diagram for transaction processing
29+
The CDK implementation of Erigon, available at [0xPolygonHermez/cdk-erigon](https://github.com/0xPolygonHermez/cdk-erigon), is a specialized adaptation that provides a framework for creating and managing blockchain networks with customized consensus algorithms, transaction handling, and state management tailored to specific use cases.
3230

33-
The following sequence diagram shows how a transaction is processed by the Erigon node.
31+
### Differences from the standard Erion
3432

35-
![Erigon transactions](../../img/cdk/erigon/erigon.png)
33+
- Custom consensus mechanisms: The CDK implementation allows for the integration of custom consensus protocols, enhancing the flexibility and adaptability of the blockchain.
3634

35+
- Optimized for layer 2 solutions: This adaptation is optimized for layer 2 scaling solutions which focus on high throughput and reduced transaction costs.
3736

38-
### Summary
37+
- Enhanced modular architecture: While Erigon is already modular, the CDK implementation extends this modularity, allowing developers to more easily customize and replace components, such as the consensus mechanism, transaction pool, and state management.
3938

40-
Erigon's design and performance improvements make it a powerful Ethereum client, particularly suitable for handling high transaction throughput and large data volumes. Its modular architecture allows for efficient transaction processing and data storage, making it a preferred choice for developers and node operators looking for a robust and scalable solution.
39+
- Integration with the Polygon ecosystem**: CDK Erigon is designed to seamlessly integrate with the broader Polygon ecosystem, facilitating interoperability with Polygon products and services, scaling solutions and tools.
4140

42-
With its advanced features, Erigon stands out as an optimal client for running both sequencer and RPC node roles in the Ethereum ecosystem. It efficiently processes transactions, maintains blockchain data, and provides a reliable interface for external applications to interact with the Ethereum blockchain.
41+
5. Tailored RPC interface: The RPC interface in the CDK implementation is adapted to support additional functionalities and optimizations, enabling more efficient communication and interaction with the network.

docs/img/cdk/erigon/erigon.png

8.29 KB
Loading

0 commit comments

Comments
 (0)