{"repo":"bitcoin-data/block-arrival-times","free":true,"listed":false,"github":"https://github.com/bitcoin-data/block-arrival-times","clone":"git clone https://github.com/bitcoin-data/block-arrival-times.git","description":"A public Bitcoin Block Arrival Time Dataset licensed under CC0.","language":"Python","stars":15,"topics":["bitcoin","block-arrivial-times","csv","cc0"],"license":"CC0-1.0","category":"blockchain-web3","readme_excerpt":"Bitcoin Block Arrival Time Dataset A dataset of block arrival times as seen by multiple nodes on the Bitcoin Network. Dataset The dataset is split over multiple CSV files in the data directory. One CSV file per source. Each file contains the block height , the header hash , the millisecond timestamp the block arrived/was first connected at the node. The CVS files do not have a header. Example: The sources can be combined into one, multi-source CSV file with the Python script contrib/combine.py . Adding Data To add your block arrival times, create a CSV file with the above format in the data directory. Make sure the timestamps are in millisecond precision. Also, remember to update the data-availability graph (see below). Block arrival timestamps can be parsed from the Bitcoin Core debug.log . A Python tool is provided under contrib/process-debug-log.py . This expects a debug.log as input file, and a CSV file output name. Quality Assurance The dataset is run through automatic quality assurance checks in the CI. There is a check for the arrival timestamps. We assume these should be either two hours before or after the block header timestamp. For this, we maintain a list of height and header timestamps in qa/block-timestamps/block-timestamps.csv . When adding new timestamps, the list might need to be updated. This can be done with the Bash script qa/block-timestamps/update-block-timestamps.sh requiring a Bitcoin Core instance with the REST server enabled.","default_branch":null,"files":null,"tree":[],"storefront":"/r/bitcoin-data","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bitcoin-data/block-arrival-times/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}