go-ethereum/core/txpool/blobpool
Bosul Mun 726d657a4a
core/txpool/blobpool: add blobTxForPool type (#34882)
This PR introduces a separate transaction pool type for sparse blobpool.

In sparse blobpool, PooledTransactions message delivers transactions without
blobs, partial or full cells are downloaded by Cells message. Blobpool no longer
stores transactions with complete sidecars, and it stores transactions without
blobs, along with the corresponding cells. Because of this, a dedicated type
distinct from types.Transaction is required.

This PR introduces a type called `BlobTxForPool` and stores each sidecar field
independently, in order to bypass the assumption that a sidecar always exists as
a complete unit.

Reintroducing the conversion queue was considered, but was ultimately omitted
because type conversion should be sufficiently fast. With sparse blobpool, blob
-> cell computation would take about ~13ms per blob. Not sure whether this is
fast enough, but otherwise we can add the conversion queue later on the sparse
blobpool branch.
2026-05-12 13:59:33 +02:00
..
blobpool.go core/txpool/blobpool: add blobTxForPool type (#34882) 2026-05-12 13:59:33 +02:00
blobpool_test.go core/txpool/blobpool: add blobTxForPool type (#34882) 2026-05-12 13:59:33 +02:00
config.go core/txpool/blobpool: reduce default database cap for rollout (#29090) 2024-02-26 14:27:56 +02:00
evictheap.go core/txpool/blobpool: delay announcement of low fee txs (#33893) 2026-03-02 23:59:33 +01:00
evictheap_test.go core/txpool/blobpool: delay announcement of low fee txs (#33893) 2026-03-02 23:59:33 +01:00
interface.go cmd, core, trie, triedb: split CachingDB into merkle + binary dbs. (#34700) 2026-04-17 08:55:54 +08:00
limbo.go core/txpool/blobpool: add blobTxForPool type (#34882) 2026-05-12 13:59:33 +02:00
lookup.go core/txpool/blobpool: remove legacy sidecar conversion (#33352) 2025-12-18 12:33:07 -07:00
metrics.go core/txpool/blobpool: fix gapped queue size cap (#34831) 2026-05-02 13:29:21 +02:00
priority.go core/txpool/blobpool: delay announcement of low fee txs (#33893) 2026-03-02 23:59:33 +01:00
priority_test.go core/txpool/blobpool: delay announcement of low fee txs (#33893) 2026-03-02 23:59:33 +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