Data directory

From Bitcoin Wiki
Revision as of 04:52, 30 January 2011 by Sgornick (talk | contribs) (Add decription for contents of files section.)
Jump to: navigation, search

The location where Bitcoin's data files are stored, including the wallet data file.

Default Location

  • Windows XP
C:\Documents and Settings\YourUserName\Application data\BitCoin
  • Windows Vista, 7
C:\Users\YourUserName\Appdata\Roaming\BitCoin
  • Mac
~/Library/Application Support/Bitcoin
  • Linux
~/.bitcoin

Directory Contents

Subdirectories

  • database

Files

  • .lock
  • blk0001.dat
  • blkindex.dat
  • __db.001
  • __db.002
  • __db.003
  • __db.004
  • __db.005
  • __db.006
  • db.log
  • debug.log
  • wallet.dat

The data, index and log files are used by Oracle Berkeley DB, a key/value data store.

See Also