bitcoin-network-propagation
收藏资源简介:
该数据集记录了比特币点对点网络的区块和交易传播动态,通过同时连接约120个对等节点进行测量。数据集的目的是量化比特币网络学习新信息的速度,涵盖区块和交易传播的延迟、中继费用以及节点连接状态。数据集包含四个子表:e21_btc_block_propagation(每个对等节点宣布一个区块的时间戳,反映原始中继速度)、e21_btc_tx_propagation(每个对等节点宣布一个采样交易的时间戳,由于节点随机化宣布时间以隐藏交易来源,交易传播时间显著长于区块)、e21_btc_relay_floor(每个对等节点在宣布其最低中继费用时的值,低于该费用的交易不会被转发)、e21_btc_p2p_peers(每个对等节点连接的详细信息,包括用户代理、服务和握手状态)。数据规模在100万到1000万行之间,格式为Parquet,按年/月分区。每个数据集包含一个固定的7天采样窗口(2026-08-29至2026-09-04),用于模式验证和质量检查。完整历史数据可私下请求获取。该数据集适用于时间序列预测任务,如预测网络传播延迟、分析中继费用分布、研究比特币区块链的传播特性。使用注意事项包括:时间戳包含网络距离;采样仅涵盖约120个对等方,并非整个网络;断开连接的对等方可能被误认为慢速;中继费用在市场平静时保持稳定。
This dataset records the dynamics of block and transaction propagation in the Bitcoin peer-to-peer network, measured by simultaneously connecting to approximately 120 peer nodes. The purpose of the dataset is to quantify the speed at which the Bitcoin network learns new information, covering the latency of block and transaction propagation, relay fees, and node connection status. The dataset contains four sub-tables: e21_btc_block_propagation (timestamps when each peer announces a block, reflecting the original relay speed), e21_btc_tx_propagation (timestamps when each peer announces a sampled transaction; due to nodes randomizing announcement times to hide transaction sources, transaction propagation times are significantly longer than blocks), e21_btc_relay_floor (the value at which each peer announces its minimum relay fee; transactions below this fee are not forwarded), and e21_btc_p2p_peers (detailed information about each peers connections, including user agent, services, and handshake status). The data scale ranges from 1 million to 10 million rows, stored in Parquet format, partitioned by year/month. Each dataset includes a fixed 7-day sampling window (2026-08-29 to 2026-09-04) for schema validation and quality checks. Full historical data is available upon private request. This dataset is suitable for time series prediction tasks, such as predicting network propagation delays, analyzing relay fee distributions, and studying the propagation characteristics of the Bitcoin blockchain. Usage notes include: timestamps include network distance; sampling covers only about 120 peers, not the entire network; disconnected peers may be mistakenly considered slow; relay fees remain stable during market calm periods.
数据集概述
Bitcoin network propagation 是一个记录比特币点对点网络中区块和交易传播延迟时间的数据集,由 DataForge (dataforge-labs) 发布。该数据集通过同时连接约 120 个比特币对等节点,测量网络学习新信息的速度。
数据内容
数据集包含四个主要子表:
| 子表名称 | 行代表含义 |
|---|---|
e21_btc_block_propagation |
某个节点宣布某个区块的时间戳记录 |
e21_btc_tx_propagation |
某个节点宣布某个采样交易的时间戳记录 |
e21_btc_relay_floor |
某节点宣布自身最小中继费率的时刻快照 |
e21_btc_p2p_peers |
每行记录一个已连接节点的用户代理、服务标志、握手状态 |
关键特征
- 规模:1M 至 10M 行之间
- 许可:ODC-BY 开放许可,需标注 "DataForge (dataforge-labs)"
- 数据格式:Parquet 文件,按
dataset/YYYY/MM/目录组织 - 采样方式:交易按 txid 哈希随机采样(约 1/64),保证在不同节点上采样一致性
- 时间窗口:每个数据集包含一个固定的 7 天采样窗口,覆盖 2026-08-29 至 2026-09-04,不会自动更新
区块与交易传播差异
- 区块传播:在一组 4 个区块样本中,半数节点约在 0.4 秒内接收到新区块,最长尾部延迟达 52 秒
- 交易传播:中位传播时间约 23 秒(首末节点间),p90 为 71 秒,最大 103 秒
- 这种差异源于节点对交易公告引入随机延迟以隐藏交易来源,而区块公告不做此处理
中继费率观察
e21_btc_relay_floor记录节点的最小中继费率- 在某次 41 个节点的样本中,发现 8 种不同的费率值
- 仅有 34% 节点使用常见的 1.0 sat/vB 默认值,56% 低于该值,10% 高于该值
- 非整数值通常来自内存池正在驱逐交易的节点
使用注意事项
- 测量包含网络距离:时间包含到各节点的地理距离影响,毫秒级差异可能源于距离,秒级差异则不是
- 样本有限:约 120 个对等节点(整个网络可达节点数万),代表网络样本而非全貌
- 断线影响:节点断开后停止公告,可能被误认为慢速;需结合
e21_btc_p2p_peers中的握手状态区分 - 中继费率变动:内存池空闲时费率趋于稳定,内存池填满时才开始变动
元数据
e0_run_manifest 文件以完整(非窗口化)形式公布所有采集窗口的轮询计数和失败计数,已知缺口为真实缺失,未进行插值处理。





