Bitcoin Forum
November 10, 2024, 01:03:32 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Upgrade to 0.8.1. not working, coins missing, huge memory consumption  (Read 1235 times)
Kumala (OP)
Hero Member
*****
Offline Offline

Activity: 525
Merit: 500



View Profile
April 04, 2013, 12:37:23 AM
 #1

I upgraded my wallet to 0.8.1 and now:
 - coins are missing
 - memory consumptions shows 2.6GB

I did the upgrade twice, both times the same result:
1. Try:
 - on a new computer install the 0.8.1 version
 - start it and let it download the complete blockchain (into the brand new wallet)
 - stop bitcoind
 - replace the wallet .dat with my "real" wallet.dat (which I created using backupwallet)
 - set txindex=1
 - start bitcoind with the parameter -reindex
 
2. Try:
 - on a new computer install the 0.8.1 version
 - copy "real" wallet.dat (which I created using backupwallet) into the data directory
 - set txindex=1 in the conf file
 - start bitcoind

What went wrong? 
a) Why are the number of bitcoins reported with getinfo different from my new and my old system?
b) The process shows 2.6GB !!!! memory usage. It used to be around 600 to 800MB




Hacked Account! Don't send any money.
Kumala (OP)
Hero Member
*****
Offline Offline

Activity: 525
Merit: 500



View Profile
April 04, 2013, 05:55:42 AM
 #2

I am at 2.9GB now and growing.  Is this normal?

Hacked Account! Don't send any money.
Kumala (OP)
Hero Member
*****
Offline Offline

Activity: 525
Merit: 500



View Profile
April 05, 2013, 07:16:43 AM
 #3

Am I the only one who has problems upgrading the wallet to 0.8.1?

I have tried it now like a dozen times, all sorts of combinations, everytime the same issue, 30% of the coins missing.

My new approach would be:
Dump all accounts, privkeys from the old wallet
Get a clean 8.1 installation and import all the privkeys.


Anyone got a tool that dumps all existing accounts and their associated privkeys in a nice list?

Otherwise my current approach would be:
  bitcoind listaccounts
to get all the accounts
then
  bitcoind getaddressesbyaccount "account"
and then
  bitcoind dumpprivkey "address"

Any conerns with the above approach?

Hacked Account! Don't send any money.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
April 05, 2013, 11:29:50 AM
 #4

pywallet

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
doublec
Legendary
*
Offline Offline

Activity: 1078
Merit: 1005


View Profile
April 05, 2013, 11:57:25 AM
 #5

b) The process shows 2.6GB !!!! memory usage. It used to be around 600 to 800MB
I had this too but only during the upgrade/reindex. When I stopped and restarted memory was back to normal. I don't know about the balance difference, that is odd. I didn't actually check when I upgraded, hope I didn't lose anything!
Kumala (OP)
Hero Member
*****
Offline Offline

Activity: 525
Merit: 500



View Profile
April 12, 2013, 03:40:34 PM
 #6

OK, looks like I will be going via the dumpprivkey/importprivkey way.

Test migration worked well:
 Step 1:  listaccounts
 Step 2:  getaddressesbyaccount for each account of step 1
 Step 3: dumpprivkey for each address from step 2
 Step 4: install new bitcoind daemon, delete old wallet
 Step 5: start daemon, import all private keys
 Stope 6: stop deamon, start daemon with -rescan

 All coins are there. Perfect. Only thing missing for me to validate is that all addresses are mached to the correct account names (as I use those for double checking deposits).

 All in all migrated ~10,000 private keys:   Import priv keys took 5 Minutes, rescan took 30 Minutes (on a computer with a SSD card).

Hacked Account! Don't send any money.
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!