Bitcoin Forum
December 17, 2017, 06:08:32 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: What does the wallet.dat file do?  (Read 870 times)
timk225
Hero Member
*****
Offline Offline

Activity: 997


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

Posts: 1513534112

View Profile Personal Message (Offline)

Ignore
1513534112
Reply with quote  #2

1513534112
Report to moderator
1513534112
Hero Member
*
Offline Offline

Posts: 1513534112

View Profile Personal Message (Offline)

Ignore
1513534112
Reply with quote  #2

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

Posts: 1513534112

View Profile Personal Message (Offline)

Ignore
1513534112
Reply with quote  #2

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

Activity: 266


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


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

Activity: 997


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


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


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: 1456


#Designer /!/*/#/ Coder# #Cryptoenthusiast#


View Profile
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:  

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!