---
eip: 8070
label: EIP-8070
title: eth/72 - Sparse Blobpool
status: Last Call
type: Standards Track
category: Networking
created: 2025-10-29
requires: 4844, 7594, 7870, 8159
official: https://eips.ethereum.org/EIPS/eip-8070
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8070.md
canonical: https://eips.huatuo.xyz/zh/eip-8070/
lang: zh
tldr: 引入 eth/72，使执行层客户端通常只下载其共识层客户端所托管的 blob 单元（cell），而不是每个完整的 blob，将 blobpool 的平均带宽削减约四倍。
tags: [networking, blobs, devp2p, peerdas, mempool]
---

# EIP-8070: eth/72 - Sparse Blobpool

> Introduce custody-aligned sampling in the EL blobpool to vacate bandwidth

**TL;DR:** 引入 eth/72，使执行层客户端通常只下载其共识层客户端所托管的 blob 单元（cell），而不是每个完整的 blob，将 blobpool 的平均带宽削减约四倍。

## 它解决什么问题？

blob 交易（[EIP-4844](/eip-4844/)）通过执行层（EL）内存池完整地广播，因此每个节点都要下载每个 blob。在共识层一侧，PeerDAS（[EIP-7594](/eip-7594/)）已经让节点只需采样部分列。规范指出，在 Fusaka 开发网中，EL blobpool 使用的带宽约为 CL 的 4–5 倍。随着 blob 数量增长，它会威胁 [EIP-7870](/eip-7870/) 的带宽指南，并可能挤占区块和见证的传播。

稀疏 blobpool 把采样也带到 EL，同时保持内存池简单、无结构。

## 它如何运作

对于节点听说的每一笔新 blob 交易，它都会掷一次骰子：

- 以概率 **p = 0.15** 成为**提供者（provider）**：获取完整的 blob 数据，并重新通告为完全可用。
- 否则成为**采样者（sampler）**：先获取不含 blob 的交易，再只获取与其 CL 的**托管列**（custody columns，至少 `SAMPLES_PER_SLOT = 8` 列）对应的单元，外加从提供者处获取的 `C_extra = 1` 个随机列。额外的这一列用来抓出只是假装成提供者的对等节点。

对于最小配置的节点，这相当于当前带宽的约 `0.15 + 0.85 / 8 ≈ 0.25`。在有 50 个对等节点的情况下，规范计算出至少有 3 个节点持有完整数据的概率为 98.6%，并且可以用采样者的列重建数据作为后备。

`eth/72` 中的协议变更（扩展 [EIP-8159](/eip-8159/) 的 `eth/71`）：

- `NewPooledTransactionHashes` 增加一个 16 字节的 `cell_mask`，表明通告方持有哪些列。
- `PooledTransactions` 响应发送的 blob 交易带有空的 `blobs` 列表。承诺（commitment）和单元证明（cell proof）仍会发送。
- 新的 `GetCells`（`0x14`）/ `Cells`（`0x15`）消息用于请求和返回特定的单元。
- Engine API：CL 通过 `engine_forkchoiceUpdatedV4` 上新增的 `custodyColumns` 参数告知 EL 其托管集合，并通过 `engine_getBlobsV4` 获取单元。

本地区块构建者应当对其打算打包的每一笔 blob 交易充当提供者（p = 1）。

## 示例代码

提供者/采样者决策的伪代码：

```python
P_PROVIDER = 0.15
C_EXTRA = 1

def on_new_blob_tx(tx_hash, announcer):
    if stable_random(tx_hash, epoch_salt()) < P_PROVIDER:      # provider role
        tx = get_pooled_transactions(announcer, [tx_hash])       # blobs elided
        cells = get_cells(announcer, [tx_hash], mask=ALL_CELLS)  # full payload
        verify_cells(tx, cells)
        announce(tx_hash, cell_mask=ALL_CELLS)
    else:                                                        # sampler role
        wait_for_provider_announcements(tx_hash, at_least=2)
        tx = get_pooled_transactions(announcer, [tx_hash])
        mask = custody_columns() | random_columns(C_EXTRA)
        cells = get_cells(a_provider(tx_hash), [tx_hash], mask=mask)
        verify_cells(tx, cells)
        announce(tx_hash, cell_mask=custody_columns())
```

## 需要注意

- **状态：Last Call。** 它只改变网络层，不改变共识规则。作者建议随硬分叉一起发布，同时评估逐步推出的方案。
- 用户和 rollup 提交 blob 交易的方式与之前完全相同。变化在于节点如何广播它们。
- 每条通告消息只有一个 `cell_mask`，这意味着完全可用和部分可用的交易必须在不同的消息中通告。
- 对等节点公平性和断开连接的启发式规则留给客户端自行决定。刻意没有设置标准的对等节点评分。
- 规范把进一步的威胁建模以及与 replace-by-fee 的交互列为未决事项，其测试用例为 TBD。


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-8070
