flâneur — a map of the web's best reading

Diving into the mempool. Learning about the Ethereum mempool via… | by greged | Kakarot zkEVM

blog.kakarot.org · saved by 1 readers

Have you ever daydreamed about the inner workings of Ethereum? Then this article should (partially) quench your thirst. First, what is a mempool? A mempool, short for memory pool, is used by nodes in order to retain, sort and validate transactions that are yet to be executed by the node. We will explore the basics of the Ethereum mempool by diving into the associated Reth codebase. Reth, short for Rust Ethereum, is an implementation of the Ethereum execution layer written in Rust and aims to be user-friendly and modular. We’ll start by taking a look into the centerpiece of the pool, defined via the TransactionPool interface (or trait in Rust). The trait exposes the main API of the pool such as adding, filtering and querying transactions, adding listeners and more. We will then proceed to study the main implementation of the trait, along with the various inner pool it contains (queued, pending and basefee pool). To finish, we will present the way transactions are ordered and how a trans

Have you ever daydreamed about the inner workings of Ethereum? Then this article should (partially) quench your thirst. First, what is a mempool? A mempool, short for memory pool, is used by nodes in order to retain, sort and validate transactions that are yet to be executed by the node. We will explore the basics of the Ethereum mempool by diving into the associated Reth codebase. Reth, short for Rust Ethereum, is an implementation of the Ethereum execution layer written in Rust and aims to be user-friendly and modular. We’ll start by taking a look into the centerpiece of the pool, defined vi

Explore this link on the map →