Content pfp
Content
@
0 reply
0 recast
2 reactions

Roman pfp
Roman
@bobelyuk
Today, I delved a bit deeper into how mempools works and discovered a lot of new information. It turns out there is no single global state of the mempool. Each node initializes its own mempool. This happens approximately as follows: 1. The node initializes the mempool (via the New() method) and has its own RPC server that listens for incoming transactions from wallets and dApps. 2. The node calls the Add() method when transactions arrive and immediately distributes these transactions across the subpools of the main mempool. 3. When creating the mempool in the New() method, the node launches loop() which listens for blockchain events and filters the local mempool when needed, possibly discarding some transactions. This is another way of synchronization. 4. The Pending() method of the mempool returns transactions from all subpools in the pending status, which I don't really like. As an MEV searcher, I would like to see transactions in all states, unloading all subpools.
3 replies
1 recast
25 reactions

EddyNock pfp
EddyNock
@eddynock
Відробляєш загалом проекти на ретро? Давніше писав про Whales Market, дійсно купляв якісь поінти через нестачу часу? Бо здається як не дуже вигідна тактика
0 reply
0 recast
0 reaction