Bitcoin Forum

Bitcoin => Project Development => Topic started by: albalxzd4 on December 08, 2017, 03:11:45 PM



Title: How to download only all bitcoin addresses?
Post by: albalxzd4 on December 08, 2017, 03:11:45 PM
So I want to check bitcoin addresses on my server app, and I don’t want to rely on third parties like blockchain.info.

What I want is a list of all bitcoin addresses ever used, and if not possible, a list of all addresses with balance.
I don’t need to know the balance, it’s just to not test them all in the blockchain, wich I think thats like 10 seconds.
Is there anywhere I can download a list like this?

Somebody said “Probably you can get them by modifying bitcoinrpc source code”, but I don’t know how to do that.

This graphic https://blockchain.info/charts/n-unique-addresses (https://blockchain.info/charts/n-unique-addresses) What is showing? the number goes up and down so I guess is the number of addressees with balance? Or is it the number of addresses per block?
How many addresses ever used do you think there are in the blockchain?


Title: Re: How to download only all bitcoin addresses?
Post by: mobnepal on December 08, 2017, 06:23:41 PM
What you need is a blockchain explorer script and here is one which open source so that you can use it for free or modify it as per you needs.
https://github.com/bitpay/insight
Quote
insight is an open-source Bitcoin blockchain explorer with complete REST and websocket APIs that can be used for writing web wallets and other apps that need more advanced blockchain queries than provided by bitcoind RPC.

Demo  : https://insight.bitpay.com/

They also have guide on their github  on how to setup this explorer in your server.



Title: Re: How to download only all bitcoin addresses?
Post by: ptrk on December 08, 2017, 06:39:03 PM
Install a Bitcoin full node, download the whole blockchain and retrieve all transactions starting at genesis block by querying the underlying database. That gives you all addresses ever used.