Bitcoin Forum
June 21, 2024, 10:49:30 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: Get list of all addresses with a balance over x? on: September 03, 2017, 10:10:26 AM
This list may be generated from raw dat files (blkindex.dat).
Generate it from the UTXO set, which is saved in the chainstate folder from bitcoin core.
Currently about 18M Addresses.

Thanks for the data.
I'm currently trying to write a tool that can also calculate the balances based on the chainstate LevelDB. However, the deserialization of the values seems very complex (see https://github.com/bitcoin/bitcoin/blob/d4a42334d447cad48fb3996cad0fd5c945b75571/src/coins.h#L21). I'm curious if you were able to reuse any code of the bitcoin core client or if you rewrote everything by yourself.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!