Bitcoin Forum
April 26, 2024, 10:23:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Size of wallet.dat file  (Read 812 times)
bubble1 (OP)
Jr. Member
*
Offline Offline

Activity: 41
Merit: 7


View Profile
October 21, 2017, 03:28:15 PM
 #1

I've been running an old version, 0.8, of bitcoin core on Windows 7 and decided to upgrade to 0.15.0.1

To be on the safe side, I removed my wallet.dat file and just let the install create a new wallet.dat.

However, my original wallet.dat is 96Kb, while the new (empty) one shows as 1408Kb.

That's a huge size increase.

What accounts for that? Is it safe to replace the new wallet.dat with my original?
1714170206
Hero Member
*
Offline Offline

Posts: 1714170206

View Profile Personal Message (Offline)

Ignore
1714170206
Reply with quote  #2

1714170206
Report to moderator
1714170206
Hero Member
*
Offline Offline

Posts: 1714170206

View Profile Personal Message (Offline)

Ignore
1714170206
Reply with quote  #2

1714170206
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714170206
Hero Member
*
Offline Offline

Posts: 1714170206

View Profile Personal Message (Offline)

Ignore
1714170206
Reply with quote  #2

1714170206
Report to moderator
1714170206
Hero Member
*
Offline Offline

Posts: 1714170206

View Profile Personal Message (Offline)

Ignore
1714170206
Reply with quote  #2

1714170206
Report to moderator
1714170206
Hero Member
*
Offline Offline

Posts: 1714170206

View Profile Personal Message (Offline)

Ignore
1714170206
Reply with quote  #2

1714170206
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
October 21, 2017, 03:36:08 PM
 #2

I've been running an old version, 0.8, of bitcoin core on Windows 7 and decided to upgrade to 0.15.0.1

To be on the safe side, I removed my wallet.dat file and just let the install create a new wallet.dat.

However, my original wallet.dat is 96Kb, while the new (empty) one shows as 1408Kb.

That's a huge size increase.

What accounts for that? Is it safe to replace the new wallet.dat with my original?

It is safe to just replace the files. Make sure you run your core with the -updatewallet command to ensure your wallet file gets converted into a usable format.

The size difference is due to a few factors. One of which being that the new file is hierarchical deterministic meaning that it has to store a very large number to determine allof the addresses and private keys your wallet can have.
bubble1 (OP)
Jr. Member
*
Offline Offline

Activity: 41
Merit: 7


View Profile
October 21, 2017, 03:57:30 PM
 #3

Thanks jackg.

I just looked on https://en.bitcoin.it/wiki/Running_Bitcoin to see what other commands were available. It does not list updatewallet but it does have upgradewallet

Is the wiki wrong?

Please advise

AtheistAKASaneBrain
Hero Member
*****
Offline Offline

Activity: 770
Merit: 509


View Profile
October 21, 2017, 04:04:20 PM
 #4

You don't need to use any command or anything other than to put the wallet.dat that has bitcoins in your Bitcoin Core folder.

Don't delete wallets ever, just rename them. This way you guarantee you don't do anything stupid.

And like I said, no need to use commands. The new Bitcoin Core versions are still compatible with the original wallet.dat format (non HD). Im still using it.
bubble1 (OP)
Jr. Member
*
Offline Offline

Activity: 41
Merit: 7


View Profile
October 21, 2017, 05:15:26 PM
 #5

Following your suggestion I opened the old wallet, and all seems well.
Thanks for your help
Muhammedayo
Newbie
*
Offline Offline

Activity: 85
Merit: 0


View Profile
October 22, 2017, 10:41:55 PM
 #6

Can you please guide me through the what the ".dat file is all about ' ?
I don't mind giving me a link to read up.

Thanks
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
October 22, 2017, 11:20:25 PM
 #7

Can you please guide me through the what the ".dat file is all about ' ?
I don't mind giving me a link to read up.

Thanks

You should really have posted this in a new thread.

However, the wallet.dat is the file needed to store the wallet data such as addresses and private keys.

From - https://en.bitcoin.it/wiki/Data_directory#Files - wallet.dat - Storage for keys, transactions, metadata, and options. Please be sure to make backups of this file. It contains the keys necessary for spending your bitcoins.
Muhammedayo
Newbie
*
Offline Offline

Activity: 85
Merit: 0


View Profile
October 26, 2017, 11:19:35 AM
 #8

Thanks, I really appreciate your prompt response.
I've got enough to understand what is meant by. 'dat file ' after reading through the given link.

Thanks once again
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!