Skip to content

Conversation

@healthykim
Copy link
Contributor

@healthykim healthykim commented Sep 11, 2025

This PR implements cell-storing logic in the blob pool.

Changes

  • Introduce the PooledTx type for data stored in the blobpool
  • Introduce the BlobTxCellSidecar type

The conversion from types.Transaction in the database to the pooledTx type
occurs inside the Init() function.
Considering that the current blobpool maintains roughly 4 MB of blob transactions,
the maximum number of blobs would be around 32.
Given that the EC operation on a single blob takes about 1.5 ms,
the overhead in this average case seems be acceptable.

Also possible option:
Since parity cells are currently being discarded (otherwise we would have to store twice as much data),
the stored cells are simply the result of splitting the blob.
We can modify the computeCells function to take a removeParity parameter so that when it is set to true,
the function only performs the split without any additional computation.
Similarly, recoverBlob is equivalent to concatenating the cells, so the same approach can be applied there as well.

@healthykim healthykim force-pushed the bs/cell-blobpool/ver-1 branch from d3cb961 to 721fd79 Compare September 11, 2025 16:24
@healthykim healthykim force-pushed the bs/cell-blobpool/ver-1 branch from 27e2694 to cfee930 Compare September 16, 2025 02:13
@cskiraly cskiraly self-requested a review September 29, 2025 07:55
@healthykim healthykim changed the title [WIP] Cell level blobpool core/txpool/blobpool: cell level blobpool Oct 24, 2025
@healthykim healthykim marked this pull request as ready for review October 24, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant