Blockparser: Difference between revisions
From Leo's Notes
This page was last edited on 1 September 2019, at 06:20.
No edit summary |
m Text replacement - "Category:Linux{{Navbox Linux}}" to "{{Navbox Linux}}Category:Linux" |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
=== Fedora 22 === | === Fedora 22 === | ||
Along with the base development tools including a c++ compiler, ensure you have the following dependencies: | Along with the base development tools including a c++ compiler, ensure you have the following dependencies: | ||
{{highlight|lang=terminal|code= | |||
# boost-devel sparsehash-devel | |||
}} | |||
The source should be compile without any issues. | The source should be compile without any issues. | ||
| Line 13: | Line 15: | ||
=== Fetch All Addresses Ever === | === Fetch All Addresses Ever === | ||
To get all addresses and their balance ever used, use: | To get all addresses and their balance ever used, use: | ||
{{highlight|lang=terminal|code= | |||
# ./parser allBalances > all.txt | |||
}} | |||
To limit this to only addresses with a minimum amount, use: | To limit this to only addresses with a minimum amount, use: | ||
{{highlight|lang=terminal|code= | |||
# ./parser allBalances -w 10 > 10btcOrMore.txt | |||
}} | |||
[[Category:Linux]] | {{Navbox Linux}}[[Category:Linux]] | ||
[[Category: | |||
[[Category:Blockchain]] | |||
{{Navbox Blockchain}} | |||
Latest revision as of 06:20, 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
| ||||||