Commit graph

7 commits

Author SHA1 Message Date
Csaba Kiraly
27994a7c09
core/txpool/blobpool: adopt log calculation to new max decrease
EIP-7892 (BPO) changed the maximum blobfee decrease in a slot
from 1.125 to 1.17 . Since we want priorties to approximate time,
we should change our log calculation.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2026-02-26 01:19:27 +01:00
Csaba Kiraly
a19f1ff11b
core/txpool/blobpool: remove the log-log grouping for positive priorities
The priority groups for positive fee difference were not used. In these
cases we always used the tip as the basis for comparison. Thus, it
is useless to do an extra log, just to then throw it away.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2026-02-25 21:25:46 +01:00
Csaba Kiraly
c376651c42
core/txpool/blobpool: update blobpool eviction policy
Previously, blobpool eviction priority did not differentiate well
transactions that are close to the basefee limit and transactions that
are way under the limit. Here we improve this differentiation, giving
more priority to transactions that are closer to the current base fee
and/or blob fee, thus potentially includable in a shorter time.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2026-02-04 09:04:09 +01:00
Csaba Kiraly
ba9d3548d4
core/txpool/blobpool: simplify evictionPriority code
evictionPriority was used in only one place, where we cap it to 0.
Cleaner to do it right in the function.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2026-02-04 08:21:06 +01:00
Aaron Chen
0444388c74
core/txpool/blobpool: calculate log1.125 faster (#29300) 2024-03-20 14:51:05 +01:00
0xbstn
a081130081
core/txpool: fix typos (#28213)
fix(core/txpool): fix typos
2023-09-28 09:48:14 +08:00
Péter Szilágyi
1662228ac6
core/txpool/blobpool: 4844 blob transaction pool (#26940)
* core/blobpool: implement txpool for blob txs

* core/txpool: track address reservations to notice any weird bugs

* core/txpool/blobpool: add support for in-memory operation for tests

* core/txpool/blobpool: fix heap updating after SetGasTip if account is evicted

* core/txpool/blobpool: fix eviction order if cheap leading txs are included

* core/txpool/blobpool: add note as to why the eviction fields are not inited in reinject

* go.mod: pull in inmem billy form upstream

* core/txpool/blobpool: fix review commens

* core/txpool/blobpool: make heap and heap test deterministic

* core/txpool/blobpool: luv u linter

* core/txpool: limit blob transactions to 16 per account

* core/txpool/blobpool: fix rebase errors

* core/txpool/blobpool: luv you linter

* go.mod: revert some strange crypto package dep updates
2023-07-27 13:45:35 +03:00