# A Lightweight Architecture for Ethereum Archive Nodes

- Channel: [EthCC](https://streameth.org/ethcc)
- Date: 2024-08-09
- Duration: 21:20
- Topics: blockchain, ethereum, cybersecurity, research, data storage, fintech, developers
- Watch: https://streameth.org/watch/66b6216d14dae87d37926baf

## Description

The core idea is to maintain compacted, flattened, and fine-grained (i.e., transaction-level) historical states by flattening the minimum state changes of each transaction required for the world state. The video features a talk by Andy, the CEO of BlockSec and a professor at Zhejiang University, discussing their research on optimizing Ethereum archive nodes. The research is a collaborative effort between BlockSec, students, and other partners. Andy emphasizes the importance of building real systems with tangible impacts and outlines BlockSec's role in enhancing blockchain security through various products and solutions.

Andy explains that blockchain optimization can be achieved at different layers, including consensus mechanisms, execution layers, and storage engines. Their work focuses on optimizing the storage engine to improve efficiency and reduce costs by modifying the state model within Ethereum's archive nodes.

He provides an overview of Ethereum's storage layer, explaining that it operates as a state machine driven by transactions that change states. The state is an account-based model with each account having its own storage referenced by a storage root. All states are encoded in a Merkle Patricia Tree (MPT) for quick data authentication.

Different types of Ethereum nodes exist with varying capabilities regarding historical data storage. Full nodes only maintain the latest world state for reorganization tolerance while archive nodes preserve all historical states but require significant disk space due to saving all intermediate MPTs at each block.

Archive nodes are essential for detecting transaction attacks and smart contract vulnerabilities through historical transaction analysis. They also help
