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

Roman Hirnyak pfp
Roman Hirnyak
@hirnyak
Рома, дуже цікавить, з чого ти починав і як дійшов до м4? Також цікаво, яке твоє основне джерело доходу? В тебе дуже цікаві сторіс в інсті)
1 reply
0 recast
0 reaction

Roman pfp
Roman
@bobelyuk
9 років у айті як дев, паралельно багато чого перепробував
0 reply
0 recast
1 reaction