Bitcoin Forum
May 23, 2019, 10:20:28 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Did wallet.dat default location change on OS X after the bitcoin 0.8.0 update?  (Read 1174 times)
audenx
Newbie
*
Offline Offline

Activity: 44
Merit: 0



View Profile
February 25, 2013, 12:41:59 AM
 #1

I'm on OS X Lion, and I recently upgraded from Bitcoin-Qt 0.7.2 to Bitcoin-Qt 0.8.0.

Before I upgraded, I'm pretty sure my wallet.dat file was located in ~/Library/Application Support/Bitcoin/. (I say "pretty sure" because I have been storing backups of my wallet elsewhere, so I haven't looked at the main wallet.dat file recently.) Since I upgraded, though, the ~/Library/Application Support/Bitcoin/ directory seems to have disappeared entirely.

I don't think I've lost any wallet data — all my wallet info still displays fine in Bitcoin-Qt. I'm just curious what happened to the file, along with everything else that had been in ~/Library/Application Support/Bitcoin/. Is it being stored in some different format now, or hidden in some way?

Thanks!
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1558606828
Hero Member
*
Offline Offline

Posts: 1558606828

View Profile Personal Message (Offline)

Ignore
1558606828
Reply with quote  #2

1558606828
Report to moderator
1558606828
Hero Member
*
Offline Offline

Posts: 1558606828

View Profile Personal Message (Offline)

Ignore
1558606828
Reply with quote  #2

1558606828
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 2198
Merit: 1401



View Profile
February 25, 2013, 03:43:43 AM
 #2

I'm running Mac OS X Lion 10.7.5.

I didn't upgrade from Bitcoin-Qt 0.7.2, instead I backed up my wallet and removed my 0.7.2 Bitcoin-Qt.  Then I installed Bitcoin-Qt 0.8.0 (because I wanted to see how long it would take to sync the entire blockchain with 0.8.0).

My new wallet.dat was found in ~/Library/Application Support/Bitcoin and when I replaced it with my backed up wallet.dat all my addresses and transactions showed up.

Code:
$ pwd; ls wallet.dat
~/Library/Application Support/Bitcoin
wallet.dat

What files do you have in ~/Library/Application Support/Bitcoin ?

Here's what I've got:

Code:
$ pwd; ls -l
~/Library/Application Support/Bitcoin
total 26440
-rw-------     69632 Feb 20 18:04 0.8.0.wallet
drwx------      3162 Feb 24 03:36 blocks
drwx------      3162 Feb 24 15:57 chainstate
drwx------       102 Feb 24 17:28 database
-rw-------         0 Feb 19 19:27 db.log
-rw-------  11991336 Feb 24 17:28 debug.log
-rw-------    909302 Feb 24 17:28 peers.dat
-rw-------    565248 Feb 24 16:41 wallet.dat

Note: 0.8.0.wallet is the backup I made of the new wallet created with the installation of 0.8.0 before replacing it with the backed up wallet.dat from 0.7.2

gweedo
Legendary
*
Offline Offline

Activity: 1246
Merit: 1000


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
February 25, 2013, 03:51:50 AM
 #3

I use a symbolic link for my bitcoin directory and since I updated to bitcoin 0.8.0 it didn't break so I would say no it has always been ~/Library/Application Support/Bitcoin

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
audenx
Newbie
*
Offline Offline

Activity: 44
Merit: 0



View Profile
February 25, 2013, 04:34:13 AM
 #4

Thanks! Turns out I was misunderstanding the meaning of the "~" in the file path. I had been looking for the Bitcoin directory in "Macintosh HD -> Library/Application Support" (which is the only "Application Support" directory that appears in Finder search). Now I understand "~/Library/Application Support/Bitcoin" actually means "Macintosh HD -> Users/<username>/Library/Application Support/Bitcoin". That's a hidden directory on my machine, though, which is why I was missing it. In Terminal or using "Go to Folder" from Finder, I can now see the /Bitcoin directory and its files.

Per gweedo's point, I've created a symbolic link to the /Bitcoin directory so I don't confuse myself in the future.

Per DannyHamilton's question, I now see my wallet.dat file, along with all the massive block data files, in my /Bitcoin directory like this:

Code:
-rw-------      1245184 Feb  6 21:49 addr.dat
-rw-------   2097361271 Feb  4 18:05 blk0001.dat
-rw-------   2097295438 Feb  5 17:54 blk0002.dat
-rw-------   1706542406 Feb 23 23:08 blk0003.dat
-rw-------   1880276992 Feb 23 23:08 blkindex.dat
drwx------          374 Feb 24 16:03 blocks
drwx------         3128 Feb 24 16:11 chainstate
drwx------          102 Feb 23 21:52 database
-rw-------           84 Feb  7 09:16 db.log
-rw-------      3680290 Feb 24 16:44 debug.log
-rw-------       900762 Feb 24 16:44 peers.dat
-rw-------       356352 Feb 24 16:33 wallet.dat
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!