Bitcoin Forum

Bitcoin => Project Development => Topic started by: Liberty4BTC on September 07, 2017, 05:37:19 PM



Title: What is the fastest way to bulk check btc addresses balance ?
Post by: Liberty4BTC on September 07, 2017, 05:37:19 PM
Hello, i 'm searching for the fastest way to massively check btc address balance? I need to check like 150 millions adress faster as possible.
I have the whole blockchain on my HDD
Python? bitcoinrpc?
The blockchain native api is not enough fast for me. (1 request/10 seconds)
I'm sorry for my bad english.
Thank you in advance
 


Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: jokowi on September 08, 2017, 06:01:27 PM
Hello, i 'm searching for the fastest way to massively check btc address balance? I need to check like 150 millions adress faster as possible.
I have the whole blockchain on my HDD
Python? bitcoinrpc?
The blockchain native api is not enough fast for me. (1 request/10 seconds)
I'm sorry for my bad english.
Thank you in advance
 

wow, it's really a horrible number. Why do you need to check all of them? Is it really necessary? I think only the experts can give you solutions.


Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: boy130 on September 08, 2017, 07:35:53 PM
Hello, i 'm searching for the fastest way to massively check btc address balance? I need to check like 150 millions adress faster as possible.
I have the whole blockchain on my HDD
Python? bitcoinrpc?
The blockchain native api is not enough fast for me. (1 request/10 seconds)
I'm sorry for my bad english.
Thank you in advance
 

Try web sockets for it..


Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: ferumflex on September 10, 2017, 05:22:50 AM
So according to this stats https://blockchain.info/charts/n-unique-addresses
we have about 600k addresses used. So it is better to get this list than check 150m addresses. Probably you can get them by modifying bitcoinrpc source code.


Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: paveldurov on July 25, 2018, 05:55:11 AM
I generated 1,100,000,000 bitcoin address and private key pairs, I want to check them all if there a way that I can check by bulk addresses, instead of checking one by one.


Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: Initscri on July 25, 2018, 04:31:55 PM
If it were me, I'd write a script to use the bitcoin-cli getbalance, https://bitcoin.stackexchange.com/questions/43621/how-to-find-bitcoin-balance-via-command-line.

If you're adverse to that (although 1 request/10 seconds seems super slow), I'm not sure it's possible with bitcoinrpc.

Where do you have the addresses stored? Is it like a CSV file?


Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: Liberty4BTC on November 14, 2018, 08:58:57 PM
I generated 1,100,000,000 bitcoin address and private key pairs, I want to check them all if there a way that I can check by bulk addresses, instead of checking one by one.

brainflayer


Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: MeatPopsicle on November 14, 2018, 11:33:58 PM
Brainflayer is meant to go the other way.

Check a bunch of passwords against a list of addresses.




Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: cryptur on June 14, 2019, 01:41:32 PM
did you find a fast way to do it?


Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: BitcoinCashoutGroup on June 16, 2019, 10:10:47 PM
Hello, i 'm searching for the fastest way to massively check btc address balance? I need to check like 150 millions adress faster as possible.
I have the whole blockchain on my HDD
Python? bitcoinrpc?
The blockchain native api is not enough fast for me. (1 request/10 seconds)
I'm sorry for my bad english.
Thank you in advance
 

Hey, we will do it for you. We are a crypto currency exchange, The Crypto Exchange Ltd, UK. You are saying 150M addressess, we can do more than 500m in just half hour. We have installed quite fast systems and our technical staff is much efficient. But you need to pay us for this exclusive service.

Will you pay for our services?

Yours affectionately,


Samantha Phillips
Chief Operating Officer (Investors Relations and Business Development)
Crypto Exchange Ltd (Sister Concern)
Bitcoin CashOut Group
MZ08151830, Registered in England
H5 Ash Tree Court, Business Park,
Nottingham, NG8 6PY, UK
businessdevelopment@bitcoincashoutgroup.dx.am


Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: butt_coin on June 19, 2019, 09:40:29 AM
Run your own Electrum node and write a script to run against it, or index the blockchain into SQL like the Bitcoin-ABE backend and run against that.


Title: Re: What is the fastest way to bulk check btc addresses balance ?
Post by: LoyceV on June 20, 2019, 12:28:18 PM
did you find a fast way to do it?
Although this is an old topic, I'll answer what I would do:
1. Make a list of all existing Bitcoin addresses that have a balance (there's a topic on this where you can easily download the list).
2. You now have 2 lists: "funded" and "tocheck".
3. Make sure each list only has unique addresses.
4. Use "sort" and "uniq" (standard Linux commands) to find duplicates. Something like `cat funded tocheck | sort | uniq -c | sort -nr | head` will tell you if any address occurs on both lists.
5. If there is a match, find it's balance. If there are many matches, adjust the commands a bit.

The benefit of using the tools mentioned in step 4 is that they already exist, and are highly efficient in handling large amounts of data. It may require a lot of RAM, but if needed you can get that on the cloud for a short period.