Bitcoin Forum
May 10, 2024, 10:33:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why wallet.dat.rewrite ?  (Read 2539 times)
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
April 29, 2012, 03:16:51 PM
 #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.
1715380384
Hero Member
*
Offline Offline

Posts: 1715380384

View Profile Personal Message (Offline)

Ignore
1715380384
Reply with quote  #2

1715380384
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715380384
Hero Member
*
Offline Offline

Posts: 1715380384

View Profile Personal Message (Offline)

Ignore
1715380384
Reply with quote  #2

1715380384
Report to moderator
1715380384
Hero Member
*
Offline Offline

Posts: 1715380384

View Profile Personal Message (Offline)

Ignore
1715380384
Reply with quote  #2

1715380384
Report to moderator
Rothgar
Sr. Member
****
Offline Offline

Activity: 374
Merit: 250


Tune in to Neocash Radio


View Profile WWW
April 29, 2012, 08:19:26 PM
 #2

I don't have this file.  I am interested in the answer to this question.  Maybe someone knows?   Huh

Visit http://neocashradio.com for the premier weekly bitcoin podcast.
Follow neocashradio on twitter.  https://twitter.com/NeocashRadio
FreeMoney
Legendary
*
Offline Offline

Activity: 1246
Merit: 1014


Strength in numbers


View Profile WWW
April 29, 2012, 08:20:27 PM
 #3

Seems odd, what version of Bitcoin?

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
mcorlett
Donator
Sr. Member
*
Offline Offline

Activity: 308
Merit: 250



View Profile
April 29, 2012, 08:21:06 PM
 #4

https://bitcointalk.org/index.php?topic=54717.msg653898#msg653898

neo_rage
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 29, 2012, 10:13:52 PM
 #5

I think so this file is backup of your wallet, which occurs when you update the client.

Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
April 29, 2012, 10: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.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
April 30, 2012, 10: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.
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
April 30, 2012, 10: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
foo
Sr. Member
****
Offline Offline

Activity: 409
Merit: 250



View Profile
August 03, 2012, 04:32:03 AM
 #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.

I know this because Tyler knows this.
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
August 03, 2012, 11: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.

I do Bitcoin stuff.
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!