Bitcoin Forum
December 04, 2016, 12:02:25 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: help, recovering from wallet.dat  (Read 3102 times)
etotheipi
Legendary
*
Offline Offline

Activity: 1428


Core Armory Developer


View Profile WWW
January 01, 2012, 04:25:40 PM
 #21

I might take a shot at this, since I have a very similar encryption scheme in the client I'm about to release.  It's a pretty healthy bounty, too Smiley

The only thing I don't know for sure, is where to find the nDeriveIterations value.  I'm sure it's stored in the wallet file somewhere...




Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
1480809745
Hero Member
*
Offline Offline

Posts: 1480809745

View Profile Personal Message (Offline)

Ignore
1480809745
Reply with quote  #2

1480809745
Report to moderator
1480809745
Hero Member
*
Offline Offline

Posts: 1480809745

View Profile Personal Message (Offline)

Ignore
1480809745
Reply with quote  #2

1480809745
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480809745
Hero Member
*
Offline Offline

Posts: 1480809745

View Profile Personal Message (Offline)

Ignore
1480809745
Reply with quote  #2

1480809745
Report to moderator
mcorlett
Donator
Sr. Member
*
Offline Offline

Activity: 308



View Profile
January 01, 2012, 04:54:50 PM
 #22

The only thing I don't know for sure, is where to find the nDeriveIterations value.  I'm sure it's stored in the wallet file somewhere...
That's right. It defaults to 25000, if I'm not mistaken.

Good luck!

etotheipi
Legendary
*
Offline Offline

Activity: 1428


Core Armory Developer


View Profile WWW
January 01, 2012, 05:43:22 PM
 #23

25,000 is the minimum.  The client tests the speed of your system and determines how much computation can be done in ... 0.1s?  If it's 40,000 SHA512 hashes, it uses that.  If it's 10,000, it uses 25,000.  i.e.  max(computeSysSpeed(), 25,000)

So that value must be stored in the wallet file somewhere, I just don't know where...

mcorlett... if you figure this out, I think I have all the other pieces it would take me a couple hours to put together a script that would take nDeriveIter and the passphrase, and spit out a list of pub/priv keypairs... maybe we could negotiate a splitting of the bounty for this?  Smiley

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
tlhonmey
Jr. Member
*
Offline Offline

Activity: 37


View Profile
January 19, 2012, 07:28:52 PM
 #24

When and if you get your coins back, the first thing to do with the new wallet file is to run the client with the parameter -keypool=10000.  This will change the number of pre-generated addresses from the pitifully small 100 that it is by default, to a large enough quantity that your backup copy should be good for at least a year or two.  10k addresses puts the wallet size at about 70Mb, which is large, but not unbearably so, and the inconvenience is far less than that of losing coins.  It may take a half hour or so to generate them, depending on how fast your machine is, but after that it will run as normal.

Non plaudite, iam pecuniam iacite.
1N3nbedLt7PLKLapLbR1Jq7k5rTRGvjEV5
Pages: « 1 [2]  All
  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!