From 32eff5dfcfd251104db0ce02c0780aead7f6c882 Mon Sep 17 00:00:00 2001 From: 0xb10c Date: Fri, 29 Aug 2025 12:30:36 +0200 Subject: [PATCH] add: --show-missing docs --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 8d3c56f..f49e4db 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,17 @@ These can be imported back to a Bitcoin Core node with, for example: ``` cat blocks/813210-000000000000000000021c9f203786c0adcd7ae9a68a25d5e430d2a3dba613d5.bin | xxd -p | tr -d $'\n' | bitcoin-cli -stdin submitblock ``` + +## Show missing headers and block + +To list the headers and block-files missing from the dataset, the following +command can be used: + +``` +$ get-data.py --show-missing +... +Missing blockfile 845869 00000000000000000000858fe3cb999f449bcbfcadd3bdb240641b6b9c39bb30 +Missing blockfile 833411 000000000000000000018450917aeae08339ffd3172807420dd35c736032898f +Missing header 824221 00000000000000000003a0653dbab14cc0f6fef121442b29d6b4005cdcdbc0d5 +... +```