Bitcoin Forum
June 21, 2024, 02:15:28 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Wallet software / Re: Combine multiple OLD wallets? on: July 08, 2021, 08:37:19 PM
ive found 7 so far, ranging between 0.01 (label: freebitcoins, lol!) and 0.000001 basicly. (mostly 0.00005 or 1

How many addresses hold a balance? And if they do, don't forget about Forkcoins.
Huh
2  Bitcoin / Wallet software / Re: Combine multiple OLD wallets? on: July 08, 2021, 05:18:26 PM
I thought I'd share the end result here as a thanks from me.



Code:

$ for f in wallets/*.dat; do pywallet/pywallet.py -d -w $f  | grep "\"addr\"" | cut -d \" -f 4 | tee -a addr-list; done

$ comm -12  Bitcoin_addresses_LATEST.txt <(cat addr-list | sort | uniq)

Code:
By the way:

$ ls -l wallets | wc -l
63

$ cat addr-list | sort | uniq | wc -l
267273


I know for a fact some are encrypted and also pywallet crashes on some wallets, investigating now why
3  Bitcoin / Wallet software / Re: Combine multiple OLD wallets? on: July 08, 2021, 03:19:40 PM
Why are you trying to combine all wallet addresses anyway? Each wallet contains hundreds of addresses, mostly empty, stored in its file. Wouldn't it make more sense to sweep the coins from each wallet to another one (after claiming any forks first see LoyceV reply below)?

Why? I'm trying the check the balances of each one, and extract the remaining coins - if any.

Newer versions of Bitcoin Core enable you to open multiple wallets at once...

Just put copies of all your wallet.dat files into the Bitcoin Core datadir... you'll obviously need to give them all unique names. Then start Bitcoin Core and use the "File -> Open Wallet" command on each wallet.dat.

It'll need to rescan each and every wallet as you do this, so that could take a while if the wallets haven't been used in a while. You could also potentially use the -wallet commandline option to specify them all at once on startup.

Once you've scanned them all, you'll easily be able to see which ones have funds and which ones dont... and then you can worry about consolidating the funds etc. Wink

I did not know that, thanks for the answer!

What about dumping all his wallets addresses and then importing them in batches into a watch-only wallet.
This is much faster:
The most likely use is to check a long list of Bitcoin addresses for a remaining balance.
On Linux, use this to find matching addresses:
Code:
comm -12 Bitcoin_addresses_LATEST.txt <(cat mylist.txt | sort | uniq)
  • Bitcoin_addresses_LATEST.txt: the extracted latest version downloaded from addresses.loyce.club.
  • mylist.txt: your own list of addresses, one address per line.
This takes only seconds to check millions of addresses. If your text file has Microsoft formatting, you may need to use this instead:
Code:
comm -12 Bitcoin_addresses_LATEST.txt <(cat mylist.txt | fromdos | sort | uniq)

THANKS!! That was the answer i was looking for, i think! Now it's just the matter of exporting all addresses, but that should be pretty easy - i think!

they all was POSSIBLE used last 6-8 years go...
Any chance some of them are altcoin wallets?

Quote
Checking each wallet MANUALLY with bitcoind seems like a really hard way to go, even if i try...
How many wallets are you talking about? Hundreds?

There wasn't any altcoins back when i was playing with bitcoind, or yeah - well, maybe namecoin i guess. But nothing besides that afaik.



Thanks all for your answers, i'll go ahead and try to extract the addresses in full and run them again that list, i think that will be the fastest way.

Cheerio!
4  Bitcoin / Wallet software / Combine multiple OLD wallets? on: June 09, 2021, 06:08:42 PM
Hi!

my first post here, but lets see if this is the place to ask. I have multiple old wallet backups (wallet.dat) from ... long time ago, i'm not sure exactly when, but i think it was 2012-2015 sometime.. When mtgox existed?

Some wallets have some 0.01 "free" coins that was given away, and some have *alot* of pregenereated keys (10000+) - but all empty) Others are just duplicates of the some other wallet, possibly with the key that holds 0.01 free bitcoin, and also 1000-10000 addresses, and so on...

How is the best way to combine/use/check the possible balance of these wallets? None are encrypted (i think, maybe some is...), but they all was POSSIBLE used last 6-8 years go...

We're talking about both wallets with free 0.01 transactions *only* and with multiple that has seen some usage. Checking each wallet MANUALLY with bitcoind seems like a really hard way to go, even if i try...
Help me out!
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!