Understanding The Cardano Mem-Pool

Cardanians.io (CRDNS pool)
Coinmonks
8 min readMay 8, 2024

--

The mem-pool is where transactions wait to be inserted into a block. Each block producer node needs to maintain its mem-pool. Having control over the mem-pool is an advantage that can be abused. In the article, you will learn what mem-pool is used for. We will explain how a front-running attack works.

What is Mem-Pool?

In a distributed network, there is no central point that controls the production of blocks. In the Cardano network, one node (slot leader) is randomly elected approximately every 20 seconds and gets the right to mint a new block. Block producers (or pools) are located all over the world and a new pool can be launched at any time and anywhere.

When a user submits a transaction to the network, it must reach all pools. This is because it is not known in advance which slot leader will be drawn in the next round. In the ideal case, the transaction reaches all nodes, so there is a chance that the next slot leader will insert it into a new block.

At any given moment, users around the world are submitting transactions. Nodes validate transactions, but that’s the only thing they can do with them at a given moment. If the transactions are valid, they have to wait somewhere before being inserted into a new block.

--

--

Cardanians.io (CRDNS pool)
Coinmonks

Proud Cardano ambassadors Jaromir Tesar & Lukas Barta. Operators of Cardanians pool with ticker #CRDNS — stake with us! https://cardanians.io/en/pools