Bitcoin Forum
November 20, 2017, 08:17:50 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: multiple wallet parser  (Read 672 times)
achillez
Hero Member
*****
Offline Offline

Activity: 819


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.
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511165870
Hero Member
*
Offline Offline

Posts: 1511165870

View Profile Personal Message (Offline)

Ignore
1511165870
Reply with quote  #2

1511165870
Report to moderator
1511165870
Hero Member
*
Offline Offline

Posts: 1511165870

View Profile Personal Message (Offline)

Ignore
1511165870
Reply with quote  #2

1511165870
Report to moderator
1511165870
Hero Member
*
Offline Offline

Posts: 1511165870

View Profile Personal Message (Offline)

Ignore
1511165870
Reply with quote  #2

1511165870
Report to moderator
tytanick
Legendary
*
Offline Offline

Activity: 1022


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 ...

I DONT REPLY to PRIVATE MESSAGES ON FORUM
Ask on forum or if you cant find answer then: admin@simplemining.net
Easy mining OS from Pendrive and SimpleRigResetter: simplemining.net
achillez
Hero Member
*****
Offline Offline

Activity: 819


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: 1022


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

I DONT REPLY to PRIVATE MESSAGES ON FORUM
Ask on forum or if you cant find answer then: admin@simplemining.net
Easy mining OS from Pendrive and SimpleRigResetter: simplemining.net
achillez
Hero Member
*****
Offline Offline

Activity: 819


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

Activity: 819


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

heh guess not
markm
Legendary
*
Offline Offline

Activity: 2002



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

Activity: 819


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!