go-ethereum/core/txpool/blobpool
Csaba Kiraly b993cb6f38
core/txpool/blobpool: allow gaps in blobpool (#32717)
Allow the blobpool to accept blobs out of nonce order

Previously, we were dropping blobs that arrived out-of-order. However,
since fetch decisions are done on receiver side,
out-of-order delivery can happen, leading to inefficiencies.

This PR:
- adds an in-memory blob tx storage, similar to the queue in the
legacypool
- a limited number of received txs can be added to this per account
- txs waiting in the gapped queue are not processed further and not
propagated further until they are unblocked by adding the previos nonce
to the blobpool

The size of the in-memory storage is currently limited per account,
following a slow-start logic.
An overall size limit, and a TTL is also enforced for DoS protection.

---------

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
Co-authored-by: MariusVanDerWijden <m.vanderwijden@live.de>
2026-01-09 10:43:15 +01:00
..
blobpool.go core/txpool/blobpool: allow gaps in blobpool (#32717) 2026-01-09 10:43:15 +01:00
blobpool_test.go core/txpool/blobpool: allow gaps in blobpool (#32717) 2026-01-09 10:43:15 +01:00
config.go core/txpool/blobpool: reduce default database cap for rollout (#29090) 2024-02-26 14:27:56 +02:00
evictheap.go all: drop x/exp direct dependency (#30558) 2025-02-27 15:53:52 +01:00
evictheap_test.go core/txpool: add GetMetadata to transaction pool (#31433) 2025-04-02 15:47:56 +08:00
interface.go core/txpool/blobpool: 4844 blob transaction pool (#26940) 2023-07-27 13:45:35 +03:00
limbo.go core/txpool/blobpool: fix slotter size limit (#33474) 2025-12-24 09:44:17 +08:00
lookup.go core/txpool/blobpool: remove legacy sidecar conversion (#33352) 2025-12-18 12:33:07 -07:00
metrics.go core/txpool/blobpool: post-crash cleanup and addition/removal metrics (#28914) 2024-02-02 18:26:35 +02:00
priority.go core/txpool/blobpool: calculate log1.125 faster (#29300) 2024-03-20 14:51:05 +01:00
priority_test.go params,core: add max and target value to chain config (#31002) 2025-02-04 15:43:18 +01:00
slotter.go core/txpool/blobpool: fix slotter size limit (#33474) 2025-12-24 09:44:17 +08:00
slotter_test.go core/txpool/blobpool: migrate billy to new slot size (#31966) 2025-09-15 21:34:57 +08:00