Author

Topic: Why wallet.dat.rewrite ? (Read 2552 times)

legendary
Activity: 1072
Merit: 1181
August 03, 2012, 06:24:54 AM
#10
Bumping this old thread because I noticed that I still have a wallet.dat.rewrite in my data directory, even though I'm now on 0.6.3...

What exactly does this file contain? If it's true that it contains unencrypted private keys, then it is quite dangerous to leave it lying around.

If you don't delete the file, it will remain there.

What happens is that when you encrypt your wallet, a new encrypted version of the wallet is written to wallet.dat.rewrite. Then the old one is closed, and the rewrite is renamed to wallet.dat. If for any reason that rename fails, the rewrite file stays there. This file does not contain unencrypted private keys, ever.
foo
sr. member
Activity: 409
Merit: 250
August 02, 2012, 11:32:03 PM
#9
Bumping this old thread because I noticed that I still have a wallet.dat.rewrite in my data directory, even though I'm now on 0.6.3...

What exactly does this file contain? If it's true that it contains unencrypted private keys, then it is quite dangerous to leave it lying around.
member
Activity: 138
Merit: 25
April 30, 2012, 05:15:45 AM
#8
"wallet.dat.rewrite SHOULD be automatically removed as part of the upgrade-to-0.5 process; I don't know why it isn't in some cases-- and, frankly, I would much rather spend time getting really, truly secure wallet solutions working."

wallet.dat.rewrite not removed - it is very dangerous because it is not crypted
member
Activity: 138
Merit: 25
April 30, 2012, 05:12:23 AM
#7
Seems odd, what version of Bitcoin?
I install client Bitcoin a few days ago from Ubuntu PPA. Unfortunately has not menu About with version number.
legendary
Activity: 2506
Merit: 1010
April 29, 2012, 05:59:09 PM
#6
Near wallet.dat I have wallet.dat.rewrite? If I delete this file I send bitcoins without fee, if I restore this file, fee is again.

Having a fee required has nothing to do with whether or not that file exists.  When a spend transaction occurs, the code looks at your wallet and based on the makeup of the coins it will determine if a fee will be required.  So that is why one transaction might not require any fee, and the next transaction, nearly identical and just a few seconds later might differ and a fee is required.

As far as wallet.dat.rewrite, that can be purged.  If you are worried about security, you can spend your entire balance to a new address (that is now protected with encryption)  so that the old addresses (prior to when you started encryption) have no balance.   And, of course, no longer use those old addresses for any incoming payments.
full member
Activity: 196
Merit: 100
April 29, 2012, 05:13:52 PM
#5
I think so this file is backup of your wallet, which occurs when you update the client.
donator
Activity: 308
Merit: 250
legendary
Activity: 1246
Merit: 1016
Strength in numbers
April 29, 2012, 03:20:27 PM
#3
Seems odd, what version of Bitcoin?
sr. member
Activity: 374
Merit: 250
Tune in to Neocash Radio
April 29, 2012, 03:19:26 PM
#2
I don't have this file.  I am interested in the answer to this question.  Maybe someone knows?   Huh
member
Activity: 138
Merit: 25
April 29, 2012, 10:16:51 AM
#1
Near wallet.dat I have wallet.dat.rewrite? If I delete this file I send bitcoins without fee, if I restore this file, fee is again.
What about this file? This file is encrypted or not? If not encrypted, this is dangerous.
Jump to: