Bitcoin Forum
May 10, 2024, 08:58:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What does the wallet.dat file do?  (Read 993 times)
timk225 (OP)
Hero Member
*****
Offline Offline

Activity: 955
Merit: 1004


View Profile
February 08, 2014, 03:58:28 PM
 #1

From what I have seen, the wallet.dat file in my BitCoin wallet is pretty much everything.  It seems like it is the file containing the identifying information so I can see how many BTC I have in my wallet address.  The blockchain itself is also important, but the wallet.dat file seems to be the one that says "Everyone else has "X" number of BTC, but you have "X" number of BTC in this wallet".

Right, or does it do something else?

When backing up the wallet, do you only need to copy this wallet.dat file, or other files as well?
1715331500
Hero Member
*
Offline Offline

Posts: 1715331500

View Profile Personal Message (Offline)

Ignore
1715331500
Reply with quote  #2

1715331500
Report to moderator
1715331500
Hero Member
*
Offline Offline

Posts: 1715331500

View Profile Personal Message (Offline)

Ignore
1715331500
Reply with quote  #2

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

Posts: 1715331500

View Profile Personal Message (Offline)

Ignore
1715331500
Reply with quote  #2

1715331500
Report to moderator
ledmaniak
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
February 08, 2014, 04:01:56 PM
 #2

The data in wallet.dat only proves that you are the actual owner of the coins send to a certain address. Even when wallet.dat has never seen the blockchain, you can still send bitcoin to it and retrieve them when you open bitcoin-qt with the wallet.dat.

Bitcoin: 1Cxi8BLvScSm1mW6kjb5MNeJZPrvAiYL6B
Litecoin: LLmjtrrq1ZeD51NSUJ8VanuQduW8Ma3jrs
steve15
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
February 08, 2014, 04:29:23 PM
 #3

The wallet.dat file is like your personal wallet in real life, it proofs you own it.
Your real life wallet has no data about who whas what amount right?

When you backup, you just need that file, nothing else. All the rest gets synced with the blockchain

The world's most secured bitcoin wallet | http://tinyurl.com/btcwallet | Armory
timk225 (OP)
Hero Member
*****
Offline Offline

Activity: 955
Merit: 1004


View Profile
February 09, 2014, 06:04:48 PM
 #4

I recently changed hard drives in my desktop PC, and redownloaded the BTC wallet and blockchain to it, and it reported 0 coins.  Then I Copy and Pasted in just the wallet.dat file from my backup copies, nothing else, and BAM it showed my coins.  

So I guess that's the important part.
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
February 09, 2014, 06:08:25 PM
 #5

The blockchain says:

Address 1 has 10 BTC
Address 2 has 5 BTC
Address 3 has 0 BTC
Address 4 has 15 BTC
....

wallet.dat says:
The private key to address 2 is:  lfkjlkjfsdskdl

Whoever controls that wallet.dat controls the 5 BTC in address 2


Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
triwebb1
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
February 09, 2014, 08:05:43 PM
 #6

Every address is like a door with a mail slot.  Anyone can drop coins in the slot from outside, but to get access to the coins that have been dropped in the slot you need the key to the door.  The wallet.dat file contains the key to the door.  If you lose that key you'll never be able to get the coins inside.
roslinpl
Legendary
*
Offline Offline

Activity: 2212
Merit: 1199


View Profile WWW
February 09, 2014, 08:43:17 PM
 #7

From what I have seen, the wallet.dat file in my BitCoin wallet is pretty much everything.  It seems like it is the file containing the identifying information so I can see how many BTC I have in my wallet address.  The blockchain itself is also important, but the wallet.dat file seems to be the one that says "Everyone else has "X" number of BTC, but you have "X" number of BTC in this wallet".

Right, or does it do something else?

When backing up the wallet, do you only need to copy this wallet.dat file, or other files as well?

you make a copy only of wallet.dat

you can print it as well cut a paper on two and hid it in two different places known only for you.

So - after you backup wallet.dat you can uninstall wallet and after some time install and recover your keys from wallet.dat file.

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!