bitcoin-mining-pool-templates
收藏资源简介:
该数据集记录了比特币矿池构建区块时的模板信息,具体包括每个矿池在特定时刻向矿工发放的工作模板。数据由DataForge (dataforge-labs)收集,通过连接约120个对等节点,从2026年8月28日至9月3日共7天的固定窗口内采样。数据集包含约10万至100万条记录,以Parquet格式分区分块存储。主要数据表为`e20_stratum_jobs_direct`,每行代表一个矿池的一个作业,字段包括:所扩展的区块哈希、nTime(矿池本地时钟时间)、coinbase字段、Merkle分支计数及第一个条目、以及clean_jobs标志(指示是否切换区块)。数据适用于时间序列预测任务,可用于分析矿池行为、区块传播延迟、网络拓扑等。注意:该数据集仅从一个视角采样,不代表全网络;nTime为矿池自身时钟,不同步;共涉及11个端点(10个运营商),可能不反映各运营商的全部工作。数据采用ODC-BY许可,使用时需注明来源。
This dataset records the template information of Bitcoin mining pools when constructing blocks, specifically including the work templates issued by each pool to miners at specific moments. The data was collected by DataForge (dataforge-labs) by connecting approximately 120 peer nodes, sampled over a fixed 7-day window from August 28 to September 3, 2026. The dataset contains about 100,000 to 1 million records, stored in Parquet format partitioned into blocks. The main data table is `e20_stratum_jobs_direct`, where each row represents a job from a mining pool. Fields include: extended block hash, nTime (pools local clock time), coinbase field, Merkle branch count and first entry, and clean_jobs flag (indicating whether to switch blocks). The data is suitable for time series prediction tasks and can be used to analyze pool behavior, block propagation delay, network topology, etc. Note: This dataset is sampled from a single perspective and does not represent the entire network; nTime is the pools own clock and is not synchronized; it involves 11 endpoints (10 operators) and may not reflect all work of each operator. The data is licensed under ODC-BY, and attribution is required when using.
数据集概述
基本信息
- 数据集名称: Bitcoin mining pool templates
- 发布机构: DataForge (dataforge-labs)
- 许可证: ODC-BY(允许自由使用,需注明出处:"DataForge (dataforge-labs)")
- 数据集规模: 100K < n < 1M 条记录
- 任务类型: 时间序列预测
- 数据格式: Parquet 文件,按采集窗口分文件存储,路径结构为
dataset/YYYY/MM/ - 数据覆盖时间: 2026-08-28 至 2026-09-03(固定7天样本窗口,不滚动更新)
核心内容
- 数据集主题: 比特币矿池在每一秒正在构建的内容——即矿池向矿工分发的工作任务模板
- 主要表:
e20_stratum_jobs_direct,每一行代表一个矿池的一个工作任务,包含:- 矿池所扩展的区块
- nTime(矿池自身时钟)
- coinbase(矿池认领的奖励脚本)
- Merkle 分支数量
- clean-jobs 标志
- 辅助表:
e0_run_manifest,列出每个采集窗口的轮询次数和失败次数,完整发布、无窗口限制
数据关键洞察
- 在同一区块上,不同矿池构建的内容存在结构性分歧,而非表面差异。例如:nTime 在单个区块上跨 30 秒分布,coinbase 长度从 318 到 1,488 字符不等,Merkle 分支数在 10 到 13 之间分裂
- 同一运营商运行的两个端点在时间上可能相差 10 秒
重要字段说明
pool: 所连接的端点,而非从数据推断的身份operator: 属于同一运营商的端点集合,建议按此字段进行数据分组observed_ts: 跨矿池一致的时间戳,用于到达顺序排序clean_jobs = true: 表示矿池切换区块,按observed_ts排序可得到矿池反应顺序
使用注意事项
- 数据来自单一观察点,约连接 120 个对等节点(网络总数可达数万个),是网络样本而非全网数据
- 共覆盖 11 个端点、10 个运营商;运行区域端点的矿池在其他区域可能提供不同的工作,因此这是运营商构建内容的样本而非完整普查
- Merkle 分支仅存储计数和首个条目,完整列表较大且大部分冗余
- 采集窗口之间的间隔是真实的、无法事后填补,数据无插值处理
访问方式
通过 Hugging Face Hub 下载: python from huggingface_hub import snapshot_download import pandas as pd, glob
path = snapshot_download("dataforge-labs/bitcoin-mining-pool-templates", repo_type="dataset", allow_patterns="e20_stratum_jobs_direct/") df = pd.concat(map(pd.read_parquet, glob.glob(f"{path}/e20_stratum_jobs_direct//*.parquet", recursive=True)))
联系与获取完整历史
- 问题及完整历史数据请求可通过讨论区(Discussions tab)提出
- 完整历史数据私有保存,可按需提供





