Blockparser

From Leo's Notes
Last edited on 1 September 2019, at 06:20.

Blockparser is a utility that can read through the bitcoin block chain. Its project site can be found on github at https://github.com/znort987/blockparser

Installation

Fedora 22

Along with the base development tools including a c++ compiler, ensure you have the following dependencies:

# boost-devel sparsehash-devel

The source should be compile without any issues.

Usage

Blockparser will eat a lot of memory. It'll also use a lot of IO.

Fetch All Addresses Ever

To get all addresses and their balance ever used, use:

# ./parser allBalances > all.txt

To limit this to only addresses with a minimum amount, use:

# ./parser allBalances -w 10 > 10btcOrMore.txt