Bitcoin Forum
May 07, 2024, 05:35:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is the fastest way to bulk check btc addresses balance ?  (Read 852 times)
Liberty4BTC (OP)
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile WWW
September 07, 2017, 05:37:19 PM
Last edit: September 07, 2017, 05:49:34 PM by Liberty4BTC
 #1

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
 
1715103358
Hero Member
*
Offline Offline

Posts: 1715103358

View Profile Personal Message (Offline)

Ignore
1715103358
Reply with quote  #2

1715103358
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jokowi
Hero Member
*****
Offline Offline

Activity: 867
Merit: 522



View Profile
September 08, 2017, 06:01:27 PM
 #2

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.
boy130
Sr. Member
****
Offline Offline

Activity: 616
Merit: 263



View Profile
September 08, 2017, 07:35:53 PM
 #3

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..
ferumflex
Full Member
***
Offline Offline

Activity: 256
Merit: 102


View Profile WWW
September 10, 2017, 05:22:50 AM
 #4

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.
paveldurov
Newbie
*
Offline Offline

Activity: 65
Merit: 0


View Profile
July 25, 2018, 05:55:11 AM
 #5

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.
Initscri
Hero Member
*****
Offline Offline

Activity: 1554
Merit: 759


View Profile WWW
July 25, 2018, 04:31:55 PM
 #6

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?

----------------------------------
Web Developer. PM for details.
----------------------------------
Liberty4BTC (OP)
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile WWW
November 14, 2018, 08:58:57 PM
 #7

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
MeatPopsicle
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
November 14, 2018, 11:33:58 PM
Last edit: November 15, 2018, 05:24:29 PM by MeatPopsicle
 #8

Brainflayer is meant to go the other way.

Check a bunch of passwords against a list of addresses.


cryptur
Member
**
Offline Offline

Activity: 82
Merit: 11


View Profile
June 14, 2019, 01:41:32 PM
 #9

did you find a fast way to do it?
BitcoinCashoutGroup
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
June 16, 2019, 10:10:47 PM
 #10

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
butt_coin
Copper Member
Newbie
*
Offline Offline

Activity: 20
Merit: 4


View Profile
June 19, 2019, 09:40:29 AM
 #11

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.
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16616


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
June 20, 2019, 12:28:18 PM
Last edit: December 05, 2021, 02:39:40 PM by LoyceV
 #12

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!