Skip to content

Add Bitcoin mining difficulty and network data dataset - #103

Open
Jahankohan wants to merge 1 commit into
bitcoin-data:mainfrom
Jahankohan:add-bitcoin-mining-data
Open

Jahankohan wants to merge 1 commit into
bitcoin-data:mainfrom
Jahankohan:add-bitcoin-mining-data

Conversation

@Jahankohan

Copy link
Copy Markdown

Adds an entry for an open dataset of Bitcoin difficulty adjustments and daily hashrate estimates, published by Doefin Research. Disclosure: this pull request comes from the publisher.

Sources for each claim:

  • Rows and fields: datapackage.json (Data Package 2.0) defines every column: https://github.com/Doefin/bitcoin-mining-data/blob/main/datapackage.json
  • Built from block headers fetched over P2P, checked from genesis: scripts/sync_headers.py and scripts/chain.py (linkage, proof of work, the retarget rule, median time past), described in the README's "How the files are built".
  • Hashrate method and its noise: DATASHEET.md, sections "Computation" and "Known limits": https://github.com/Doefin/bitcoin-mining-data/blob/main/DATASHEET.md
  • Licence: LICENSE is the CC BY 4.0 text, and datapackage.json declares CC-BY-4.0.
  • DOI: concept DOI 10.5281/zenodo.24763653, which resolves to the latest version (first version: https://zenodo.org/records/24763654).
  • period_start: the first row of data/hashrate-daily.csv is 2009-01-03, the genesis block.
  • period_open: .github/workflows/daily.yml rebuilds the files every day and commits them (for example "Data as of block 978533"), and tags a release at each difficulty adjustment.

Tags: difficulty and hashrate are new, because no existing tag covers them. The others are existing tags.

python3 build.py --check passes.

This branch has not been deployed

No deployments
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