Bitcoin Forum
June 28, 2024, 02:20:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: How to check balance of 86400 bitcoin private key easily?  (Read 194 times)
julia335 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
June 21, 2024, 03:00:27 PM
 #1

Hello all,

I have 86400 bitcoin private keys. Within these keys there is high chance of getting 4 btc. I am not jocking.

All keys are important. I have checked some. Example:

e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

686f746a95b6f836d7d70567c302c3f9ebb5ee0def3d1220ee9d4e9f34f5e131

etc

Is there any easy way to check all 86400 keys and find out desired key which has bitcoin. I am looking for code or ready balance checker script for bitcon.

NB:
1. I have only private keys. No address
2. As it has balance so I want to check in my local computer
3. I have found an application whch can check blance but very limited (only 5 at a time)

Is there anybody who could help me? If I get bitcoin, I will give you tip.
BitMaxz
Legendary
*
Offline Offline

Activity: 3304
Merit: 3033


BTC price road to $80k


View Profile WWW
June 21, 2024, 03:15:53 PM
Merited by bitmover (1)
 #2

I don't think there's a balance checker tool that can check the balances of private keys but there are a few checkers that require only public keys.
So I think you need to convert them first into public key in order to use those few tools available out there.

Check this thread below to get some idea how to mass convert them into public key via python.

- https://bitcointalk.org/index.php?topic=1580255.0

Once you get all public key check these checkers below

- https://bitcoindata.science/bitcoin-balance-check
- https://cointool.app/batchCheckBalance/btc

open-source checker

- https://github.com/geniusprodigy/bitcoin-qt

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Z_MBFM
Sr. Member
****
Offline Offline

Activity: 434
Merit: 278



View Profile WWW
June 21, 2024, 03:22:57 PM
 #3

I have 86400 bitcoin private keys. Within these keys there is high chance of getting 4 btc. I am not jocking.
86400 Bitcoin Address Hughes. there is no way to check the balance without logging into the wallet with the private key.  You must login wallets to check balance. It takes a lot of time to login and check all the wallets you mentioned, a person has to work continuously for about 15-20 days to finish checking them.

Quote
Is there anybody who could help me? If I get bitcoin, I will give you tip.
Checking them is a long process. But what if there are no bitcoins after checking all the wallets? Then all his efforts will be in vain. So you have to offer salary to do this work. Since you have confidence they are around 4 bitcoins it won't hurt to spend your $2k on it.  If you offer $2k I can do it. And you can keep them in escrow.

julia335 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
June 21, 2024, 03:32:31 PM
 #4

BitMaxz -
First of all converting big number of pivate key to address is really difficult, but possible using python.

But balance checking is becoming impossible using your method. It is using https://blockchain.info/address/%s?format=json" % check_address, timeout=10 which stops working after 100 checking




Z_MBFM - Who will share these keys with you? I have already got 0.08BTC checking 897 keys. Task is to be done by me, and, no way to share it any relatives let alone stranger like you.
seoincorporation
Legendary
*
Offline Offline

Activity: 3206
Merit: 3004


Top Crypto Casino


View Profile
June 21, 2024, 03:42:42 PM
Merited by DaveF (2), pooya87 (2), hugeblack (2), davis196 (1), ABCbits (1)
 #5

There are some methods to do that:

1.- Import all the private keys on Bitcoin core, you could use a script for that, something like:

Code:
for a in $(cat privatekeys.txt)
do
bitcoin-cli importprivkey $a
done

2.- You could use a script to get the address from those private keys, just search for one or create one with chatgpt, then use the list of all the addresses with the balance provided by loyce (http://addresses.loyce.club/) then compare your address with the list of all address with balance and you will get the address with balance on your private keys.

And another important thing is, if those address used to have balances in the past, then you could use them to claim som altcoins like clamcoin Wink

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
madogss
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
June 21, 2024, 07:06:05 PM
Last edit: June 22, 2024, 05:30:11 PM by hilariousandco
 #6

Hello all,

I have 86400 bitcoin private keys. Within these keys there is high chance of getting 4 btc. I am not jocking.

All keys are important. I have checked some. Example:

e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

686f746a95b6f836d7d70567c302c3f9ebb5ee0def3d1220ee9d4e9f34f5e131

etc

Is there any easy way to check all 86400 keys and find out desired key which has bitcoin. I am looking for code or ready balance checker script for bitcon.

NB:
1. I have only private keys. No address
2. As it has balance so I want to check in my local computer
3. I have found an application whch can check blance but very limited (only 5 at a time)

Is there anybody who could help me? If I get bitcoin, I will give you tip.


from bit import Key
Code:
import requests, json, time
import sys
import re
from time import sleep
from urllib.request import urlopen



i = 0
n = 86400
files = open('list76.txt', 'r')
start = time.time()
for i in range(n):
        line = files.readline(i)
        full = '80' + line
        print(i)
        Private_Key = Key.from_hex(full)

        print(Private_Key)
        addr = Private_Key.address

        blockchain_tags_json = [
            'final_balance',
            ]
        check_address = addr
        SATOSHIS_PER_BTC = 1e+8

        parse_address_structure = re.match(r' *([a-zA-Z1-9]{1,34})', check_address)
        if ( parse_address_structure is not None ):
            check_address = parse_address_structure.group(1)
        else:
            print( "\nThis Bitcoin Address is invalid" + check_address )
            exit(1)
        
        reading_state=1
        while (reading_state):
            try:
                htmlfile = urlopen("https://blockchain.info/address/%s?format=json" % check_address, timeout = 10)
                htmltext = htmlfile.read().decode('utf-8')
                reading_state  = 0
            except:
                reading_state+=1
                print( "Checking... " + str(reading_state) )
                sleep(60*reading_state)
        blockchain_info_array = []
        tag = ''
        try:
            for tag in blockchain_tags_json:
                blockchain_info_array.append (
                    float( re.search( r'%s":(\d+),' % tag, htmltext ).group(1) ) )
        except:
            print( "Error '%s'." % tag )
            exit(1)
        i += 1
        for i, btc_tokens in enumerate(blockchain_info_array):
            wow = (btc_tokens/SATOSHIS_PER_BTC)
            sys.stdout.write ("%s = " % blockchain_tags_json[i])
            if btc_tokens > 0.00000:
                with open('FoundValue.txt', 'a') as vf:
                    vf.write(f"{addr}    Balance: {wow}\n{line}\n{'=' * 55}\n")
                vf.close()
                print(wow)
            else:
                print("0 Bitcoin" )
end = time.time()
print(f"Time Taken: {(end-start)*10**3:.03f}ms")

This should do it just replace the file that you are opening to the file with all your private keys

I don't know if it works for linux so far i've only used it on windows
It will take a while
alexeyneu
Member
**
Offline Offline

Activity: 346
Merit: 32


View Profile
June 21, 2024, 08:10:09 PM
Last edit: June 21, 2024, 08:48:44 PM by alexeyneu
 #7

if i'll have goal like this i'll then buy month subscription on quicknode with bcoin client for $35 then run my code
https://github.com/alexeyneu/BlockZero/blob/master/connection/x.cpp#L456-L538
after last line you'll have balance in bignum.
what quicknode does  here: you supply list of addresses to it and receive list where balance stands against each one.
(bcoin has api command that does it which they just call, more precisely : they provide its api to you and you call it on their node . Really you can just install bcoin and do not deal with quicknode if you're ready to deal with bitcoin fullnode then)


i didn't read other answers but more than sure you'll be  advised to use some db. I do not trust this stuff

if i'll  need to write code like this now i'll rather use libcurl to receive http chunk transfer than to handle it raw
bitmover
Legendary
*
Offline Offline

Activity: 2352
Merit: 6076


bitcoindata.science


View Profile WWW
June 21, 2024, 08:13:43 PM
 #8


I just want to point out that  bitcoindata.science balance Checker is also open source.
https://github.com/bitmover-studio/bitcoindata/tree/main/

You just need to convert the private keys to public addresses and you can check the balance of nearly 500 addresses simultaneously.  And export the results to csv or json

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Kamoheapohea
Jr. Member
*
Offline Offline

Activity: 33
Merit: 11


View Profile
June 21, 2024, 10:04:53 PM
Merited by pooya87 (2)
 #9

Download from and check locally:
http://addresses.loyce.club/
https://bitcointalk.org/index.php?topic=5254914.0

Thanks to forum member LoyceV.
DaveF
Legendary
*
Offline Offline

Activity: 3528
Merit: 6372


Crypto Swap Exchange


View Profile WWW
June 23, 2024, 12:20:12 AM
Merited by pooya87 (4), ABCbits (2)
 #10

1) Download and install core
2) Run one of the import methods described above
3) Connect to the internet and let core sync.

And wait. Depending on the speed of your connection and PC it should take anywhere from a couple of days to a couple of weeks.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Kamoheapohea
Jr. Member
*
Offline Offline

Activity: 33
Merit: 11


View Profile
June 23, 2024, 12:42:13 AM
Last edit: June 23, 2024, 06:11:03 AM by Kamoheapohea
 #11

1) Download and install core
2) Run one of the import methods described above
3) Connect to the internet and let core sync.

And wait. Depending on the speed of your connection and PC it should take anywhere from a couple of days to a couple of weeks.

-Dave

I think this is the most reliable way too.
SquirrelJulietGarden
Hero Member
*****
Offline Offline

Activity: 1372
Merit: 752



View Profile
June 23, 2024, 02:23:50 AM
 #12

1) Download and install core
2) Run one of the import methods described above
3) Connect to the internet and let core sync.

And wait. Depending on the speed of your connection and PC it should take anywhere from a couple of days to a couple of weeks.

-Dave
Is it faster to import private keys to Electrum wallet and check balance of those addresses than doing the same with Bitcoin Core?

I see Bitcoin Core takes longer time to fully sync and we can not check balance if the Bitcoin Core wallet is not fully sync. I would like to do this with Electrum wallet, because with a simple task to check balance, doing this with Bitcoin Core takes long time.

If it is for using, Bitcoin Core with full node is better than Electrum, I agree but OP simply want to check balance.

Importing your private keys into Electrum

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
pooya87
Legendary
*
Offline Offline

Activity: 3500
Merit: 10682



View Profile
June 23, 2024, 03:53:02 AM
 #13

1) Download and install core
2) Run one of the import methods described above
3) Connect to the internet and let core sync.

And wait. Depending on the speed of your connection and PC it should take anywhere from a couple of days to a couple of weeks.

-Dave

Why waste time and space if you can just download all addresses with a balance from the links I posted?
Someone who is already wasting time trying to "brute force" private keys by generating random ones for bitcoin and ethereum thinking they can get rich, should at least run a full node Wink

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Kamoheapohea
Jr. Member
*
Offline Offline

Activity: 33
Merit: 11


View Profile
June 23, 2024, 06:15:22 AM
 #14

1) Download and install core
2) Run one of the import methods described above
3) Connect to the internet and let core sync.

And wait. Depending on the speed of your connection and PC it should take anywhere from a couple of days to a couple of weeks.

-Dave

Why waste time and space if you can just download all addresses with a balance from the links I posted?
Someone who is already wasting time trying to "brute force" private keys by generating random ones for bitcoin and ethereum thinking they can get rich, should at least run a full node Wink

I understand. I did not know the purpose. I read in a recent paper that bitcoin core addresses have highest probability of success.
hugeblack
Legendary
*
Offline Offline

Activity: 2562
Merit: 3780


View Profile WWW
June 23, 2024, 07:28:50 AM
Merited by ABCbits (1), SquirrelJulietGarden (1)
 #15


Is it faster to import private keys to Electrum wallet and check balance of those addresses than doing the same with Bitcoin Core?

Electrum wallet is not designed for this. in general, as long as your computer is running, your Electrum wallet can scan any number of addresses, but since it is an SPV wallet[1], most Electrum servers have a DoS-protection limit, which is often less than ~10k addresses[2], so if you have a number greater than 10k, the electrum option will be slow and time-consuming (and here we are talking about 86k, not 10k).

You can avoid this by running full node, so bitcoin core is the appropriate choice.



Time can be reduced by running a script and paid API token from blockchair, and if you are sure that all addresses belong to one wallet, perhaps Wallet Explorer may help you in speeding up access to the addresses that contain the balance (I do not recommend this for privacy reasons).

[1] https://bitcoinwiki.org/wiki/simplified-payment-verification
[2] https://github.com/spesmilo/electrum/issues/2619
ABCbits
Legendary
*
Offline Offline

Activity: 2926
Merit: 7599


Crypto Swap Exchange


View Profile
June 23, 2024, 09:07:11 AM
 #16

There are some methods to do that:

1.- Import all the private keys on Bitcoin core, you could use a script for that, something like:

Code:
for a in $(cat privatekeys.txt)
do
bitcoin-cli importprivkey $a
done

You forget 2 important things,
1. importprivkey only works on non-descriptor wallet.
2. By default importprivkey will rescan whole blockchain, so you need to pass false parameter to avoid rescan whole blockchain 86400 times.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
SquirrelJulietGarden
Hero Member
*****
Offline Offline

Activity: 1372
Merit: 752



View Profile
June 23, 2024, 09:22:14 AM
 #17

Electrum wallet is not designed for this. in general, as long as your computer is running, your Electrum wallet can scan any number of addresses, but since it is an SPV wallet[1], most Electrum servers have a DoS-protection limit, which is often less than ~10k addresses[2], so if you have a number greater than 10k, the electrum option will be slow and time-consuming (and here we are talking about 86k, not 10k).

You can avoid this by running full node, so bitcoin core is the appropriate choice.
Running a Bitcoin Core full node is a best option but it is best if this balance checking activity needs to repeat many times, like daily check.

If it is only one time check with curiosity only, I don't see why we need to run a full node. The OP's purpose is not to check these addresses' balance too often, it's my guess. Depends on the purpose, Electrum or Bitcoin Core full node can be used.

With 86k private keys ~ addresses, we can split it to 9 parts and check each of 9 parts. Do you think it can avoid Dos-protection and won't be too slow and time-consuming?

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
DaveF
Legendary
*
Offline Offline

Activity: 3528
Merit: 6372


Crypto Swap Exchange


View Profile WWW
June 23, 2024, 11:17:42 AM
 #18

There are some methods to do that:

1.- Import all the private keys on Bitcoin core, you could use a script for that, something like:

Code:
for a in $(cat privatekeys.txt)
do
bitcoin-cli importprivkey $a
done

You forget 2 important things,
1. importprivkey only works on non-descriptor wallet.
2. By default importprivkey will rescan whole blockchain, so you need to pass false parameter to avoid rescan whole blockchain 86400 times.

Which was why I mentioned to do it on an clean new node. This way if any transactions exist it would find them as it downloads the blockchain. No re-scanning the entire change for 86k+ addresses. Also if something happens it will pick up where it left off. Last time I checked if the rescan make it 98% of the way and something happens it would start again from the beginning.

As has been discussed other places on the forum you can get a good basic PC for under $175 and a good 1TB SSD for under $100 and you will at that point always have a node handy.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ABCbits
Legendary
*
Offline Offline

Activity: 2926
Merit: 7599


Crypto Swap Exchange


View Profile
June 24, 2024, 08:47:39 AM
 #19

With 86k private keys ~ addresses, we can split it to 9 parts and check each of 9 parts. Do you think it can avoid Dos-protection and won't be too slow and time-consuming?

That may work, although i'm not sure how efficient is that when each address may have different total of transaction history.

Last time I checked if the rescan make it 98% of the way and something happens it would start again from the beginning.

What do you mean by "something happens"? Besides, rescan usually doesn't take that long even if you store everything on HDD.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
DaveF
Legendary
*
Offline Offline

Activity: 3528
Merit: 6372


Crypto Swap Exchange


View Profile WWW
June 24, 2024, 10:34:41 AM
 #20

With 86k private keys ~ addresses, we can split it to 9 parts and check each of 9 parts. Do you think it can avoid Dos-protection and won't be too slow and time-consuming?

That may work, although i'm not sure how efficient is that when each address may have different total of transaction history.

Last time I checked if the rescan make it 98% of the way and something happens it would start again from the beginning.

What do you mean by "something happens"? Besides, rescan usually doesn't take that long even if you store everything on HDD.

If you doe the full block download and then import all the private keys and after the last one do a rescan and it gets to 98% and then core crashes or you have a power outage or anything else happens to interrupt the process it starts the rescan from the beginning.

Or at least it used to work this way. Ran out of memory twice while pulling in a wallet years ago and both times it started from scratch.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1] 2 »  All
  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!