Someone referred me to the
chaindata folder to troubleshoot a problem I am having with
Mist. How can I find it?
geth (used in the Ethereum Wallet) saves its internal states for the main network in the
chaindata directory. You can find it in the:
~/Library/Ethereumon OS X
In these directories, there are:
chaindata: production blockchain
testnet: test blockchain
keystore: your keys
When you first launch
Ethereum-Wallet it will show the splash screen. Shortly after the splash screen will show a
LAUNCH APPLICTION button. Click this button to see the full UI. If you are fully synced already it may skip straight to the full UI
Once that is open go to the
Accounts menu >
Backup sub-menu >
The UI for your file explorer will differ by OS, but you should see a folder that contains folders like this, in particular it should contain a
Side-note: While you are here you should backup the
keystore folder. Details about this can be found at How do I backup my ether accounts?. Be sure to save your passwords as well!
On Mac OSX or GNU Linux, simply open a terminal and search for your
chaindata using the
find commandline tool:
find ~ -type d -name 'chaindata'
Where the first parameter
~ tells to look into your
$HOME directory and all subfolders. Type
d is for directories only.
A possible result looks like that:
/home/user/.ethereum-dev-private-testnet/chaindata /home/user/.ethereum-consensys-public-testnet/testnet/chaindata /home/user/.ethereum-fast/chaindata /home/user/.ethereum-ethdev-berlin-testnet/chaindata /home/user/.ethereum/chaindata
As you can see, I have multiple blockchains on my computer.
On an Ubuntu system in a terminal/ CLI you can use: