Bitcoin Forum
May 13, 2024, 02:17:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: multiple wallet parser  (Read 752 times)
achillez (OP)
Hero Member
*****
Offline Offline

Activity: 874
Merit: 1000


View Profile
July 31, 2013, 01:29:43 AM
 #1

Anyone have a script/tool to parse 100s of wallets to see if there is any coins in them? I'm currently doing this via a loading a wallet file into a daemon, using rescan, checking balance and repeat. It seems very inefficient.
1715609863
Hero Member
*
Offline Offline

Posts: 1715609863

View Profile Personal Message (Offline)

Ignore
1715609863
Reply with quote  #2

1715609863
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715609863
Hero Member
*
Offline Offline

Posts: 1715609863

View Profile Personal Message (Offline)

Ignore
1715609863
Reply with quote  #2

1715609863
Report to moderator
1715609863
Hero Member
*
Offline Offline

Posts: 1715609863

View Profile Personal Message (Offline)

Ignore
1715609863
Reply with quote  #2

1715609863
Report to moderator
1715609863
Hero Member
*
Offline Offline

Posts: 1715609863

View Profile Personal Message (Offline)

Ignore
1715609863
Reply with quote  #2

1715609863
Report to moderator
tytanick
Legendary
*
Offline Offline

Activity: 2660
Merit: 1096


Simplemining.net Admin


View Profile WWW
July 31, 2013, 01:33:38 AM
 #2

try to run all coins-daemons at once in background
and then make a bash script like this:

Code:
#!/bin/bash
cd some_directory
echo "LTC:"
./litecoind getinfo | grep balance
echo "BTC"
./bitcoind getinfo | grep balance
etc ...

Manage your GPU farm the easy way with Mining OS (30 days free):  SimpleMining.net
Support available at Discord: https://simplemining.net/page/discord and admin@simplemining.net
Bitcointalk thread: https://bitcointalk.org/index.php?topic=1541084.0
achillez (OP)
Hero Member
*****
Offline Offline

Activity: 874
Merit: 1000


View Profile
July 31, 2013, 01:34:27 AM
 #3

Well my issue is that I have 100s of primecoin wallets and I want to parse them Wink
tytanick
Legendary
*
Offline Offline

Activity: 2660
Merit: 1096


Simplemining.net Admin


View Profile WWW
July 31, 2013, 01:42:12 AM
 #4

Well my issue is that I have 100s of primecoin wallets and I want to parse them Wink

oh, 100 of one coin Cheesy

1. you could use one wallet with multiple addresses but somehow you dont want this i suppose ?

then i could write script for you but it wont be 4 free Cheesy
PM me if you are interested

Manage your GPU farm the easy way with Mining OS (30 days free):  SimpleMining.net
Support available at Discord: https://simplemining.net/page/discord and admin@simplemining.net
Bitcointalk thread: https://bitcointalk.org/index.php?topic=1541084.0
achillez (OP)
Hero Member
*****
Offline Offline

Activity: 874
Merit: 1000


View Profile
July 31, 2013, 01:46:37 AM
 #5

I have a script that copies in the wallet and shutsdown/restarts the daemon with a rescan. Would your script be more efficient then this?
achillez (OP)
Hero Member
*****
Offline Offline

Activity: 874
Merit: 1000


View Profile
July 31, 2013, 04:55:56 AM
 #6

heh guess not
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
July 31, 2013, 04:59:38 AM
 #7

Yes it would if it simply exported all private keys from all wallets and imported them into one big wallet.

Then if you actually do for some reason later want only some of the keys in some smaller wallet(s) you can export again.

Do you actually care which wallet has how much in it?

If so, maybe the script can use the wallet based 'accounts' system to label which addresses belonged to which old wallet.

But if all you really want is all the coins from all the wallets just export all keys from all of them then import that whole lot into one wallet.

-MarkM-


Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
achillez (OP)
Hero Member
*****
Offline Offline

Activity: 874
Merit: 1000


View Profile
August 01, 2013, 12:54:34 AM
 #8

Yes it would if it simply exported all private keys from all wallets and imported them into one big wallet.

Then if you actually do for some reason later want only some of the keys in some smaller wallet(s) you can export again.

Do you actually care which wallet has how much in it?

If so, maybe the script can use the wallet based 'accounts' system to label which addresses belonged to which old wallet.

But if all you really want is all the coins from all the wallets just export all keys from all of them then import that whole lot into one wallet.

-MarkM-



I would be perfectly fine to have all the keys in one wallet. IS there a limit on how many keys you can have in a wallet? If not then this sounds perfect. What's the best way to get the keys out and into another wallet - use the daemon?
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!