Bitcoin Forum
May 09, 2024, 01:10:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why does wallet.dat change?  (Read 890 times)
cjg (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


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?
1715260211
Hero Member
*
Offline Offline

Posts: 1715260211

View Profile Personal Message (Offline)

Ignore
1715260211
Reply with quote  #2

1715260211
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715260211
Hero Member
*
Offline Offline

Posts: 1715260211

View Profile Personal Message (Offline)

Ignore
1715260211
Reply with quote  #2

1715260211
Report to moderator
willphase
Hero Member
*****
Offline Offline

Activity: 767
Merit: 500


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: 1204
Merit: 1015


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 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


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
Merit: 0


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!