Blockparser: Difference between revisions

From Leo's Notes
This page was last edited on 1 September 2019, at 05:10.
m Text replacement - "Category:Linux" to "Category:Linux{{Navbox Linux}}"
m Text replacement - "{{Navbox Linux}}{{Navbox Linux}}" to "{{Navbox Linux}}"
Line 24: Line 24:
}}
}}


[[Category:Linux]]{{Navbox Linux}}{{Navbox Linux}}
[[Category:Linux]]{{Navbox Linux}}


[[Category:Blockchain]]
[[Category:Blockchain]]
{{Navbox Blockchain}}
{{Navbox Blockchain}}

Revision as of 05:10, 1 September 2019

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