Bitcoin Forum
February 28, 2017, 05:46:46 AM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Why does wallet.dat change?  (Read 725 times)
cjg
Newbie
*
Offline Offline

Activity: 6


View Profile
June 24, 2011, 09:29:18 PM
 #1

I've noticed that wallet.dat changes even though I've not generated new addresses, carried out any transactions, etc.

Under what circumstances does wallet.dat change?
1488260806
Hero Member
*
Offline Offline

Posts: 1488260806

View Profile Personal Message (Offline)

Ignore
1488260806
Reply with quote  #2

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

Activity: 770


View Profile
June 24, 2011, 09:39:05 PM
 #2

it stores the header of the highest block you've downloaded, so it can quickly request and validate the next block.  Otherwise, as you mentioned, most wallet modifications happen when you perform transactions.

Will

Maged
Legendary
*
Offline Offline

Activity: 1260


View Profile
June 24, 2011, 09:44:55 PM
 #3

it stores the header of the highest block you've downloaded, so it can quickly request and validate the next block.  Otherwise, as you mentioned, most wallet modifications happen when you perform transactions.

Will
The reason we now store that in the wallet is so that you can swap wallets in and out and they'll know how far back they have to rescan. Before, you had to do a full rescan of the blockchain whenever you swapped your wallet back in and had a transaction to/from the wallet since you swapped it out.

cjg
Newbie
*
Offline Offline

Activity: 6


View Profile
June 24, 2011, 09:49:47 PM
 #4

Well, that explains it.

It just made me concerned because I was backing up my wallet.dat, but then I could see it had changed since the backup.

wallet.dat seems like a counter-intuitive place to keep information on the latest blocks.

DDreez
Newbie
*
Offline Offline

Activity: 20


View Profile
June 24, 2011, 11:37:00 PM
 #5

I think it would be much more user-friendly to actually CREATE, NAME and SAVE your
own wallets (prompt the first time you open the client). Imagine a family sharing the same computer and having to copy/move around a bunch of files all named wallet.dat. Unnecessarily tricky! I'm sure there are lots of plans on incoporating better wallet handling in future versions.
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!