What Are Mempools: Dark Forest of Blockchains 

Company

GETBLOCK

July 16, 2021

8 分鐘閱讀

article cover

Why are they crucial for normal blockchain operations?

What is going on when we authorize a transaction in blockchain? Why are transactions verified faster or slower? Blockchain mempools and their metrics can tell us more about how decentralized networks actually work.

TL; DR

Mempool is a place where the transactions are stored before being included in new blocks of this or that network. When network activity is too high, the number of transactions in mempool rockets and transfers slow down.

As the manipulations with transaction queues can bring various arbitrage opportunities, mempool sniping mechanisms are popular among tech-savvy traders. They allow you to send the transaction with enormous speed.

What are mempools?

Mempool (derived from ‘memory’ and ‘pool’) should be referred to as a node mechanism that allows blockchains to store information about unconfirmed transactions. All valid transactions enter mempool before being broadcast to miners (included into new blocks).

Thus, mempools are necessary for blockchains as no network is powerful enough to broadcast all transactions to blocks instantly.

Once the transaction is included into mempool, nodes start to send it to their peers. Actually, a single transaction isn’t validated by the entire computational power of this or that blockchain: various nodes validate transactions in various periods of blockchain activity.

Entry-level devices dedicate a small amount of resources to logging transactions while high-end equipment devotes way larger amounts of CPU/RAM.

Why does mempool size matter?

Typically, mempool size and its saturation are estimated as the most relevant indicators for network usage. Thus, while the network is overloaded, its mempool contains many unconfirmed transactions. For the Bitcoin (BTC) network, the record-breaking upsurge of mempool size (number of unconfirmed transactions) was registered during 2017 bull-run.

article image

Image by Blockchain.com

Last congestion of Bitcoin mempool coincided with the upsurge of its price to new ATH in Q1, 2021 and following panic-driven sell-off. Thus, Bitcoin mempool overload can occur as a result of price moves in both directions.

Actually, Bitcoin mempool overload is a dangerous situation: once the mempool clears, the selling pressure on the network can rise dramatically.

The Ethereum network also has a storage for unconfirmed transactions. However, its developers utilize different terminology: in Geth implementation, Ethereum mempool is called TX-POOL while in OpenEthereum (formerly Parity) it is dubbed TX-QUEUE.

Tech-savvy Ethereum users analyze Ethereum mempool to calculate most profitable gas prices, to adjust trading strategies on Ether-based DEXs Uniswap (UNI) and SushiSwap (SUSHI), and so on.

Polygon mempool and Binance Smart Chain mempool work in similar manner: every interested user is able to check their statuses by public explorers.

What is mempool sniping and why might you need it?

As you may know, transactions in Ethereum network may be included into the network slower or faster depending on gas spent by the initiator of transactions. As a result of this rule, the fact that Alice signed her transaction before Bob doesn’t necessarily mean that she will get her transfer included into the block faster.

This discrepancy allows for a variety of manipulations with mempool. Using it for arbitrage or even for preventing transactions from being correctly sent is described by Ethereum OGs Dan Robinson and Georgios Konstantopoulos in their famous Ethereum is a Dark Forest essay.

Mempool sniping refers to a class of techniques that allows to broadcast transactions to blockchain in lightning-fast mode. For instance, mempool sniping bots allow you to catch the most profitable price in the first moments upon asset’s listing on Uniswap (UNI).

Company

GETBLOCK

July 16, 2021

8 分鐘閱讀

twittertwittertelegramtelegramLinkedinLinkedin