6

I'm a Linux newbie and I don't know where monerod is storing the blockchain.

11

The blockchain is stored in $HOME/.bitmonero

For testnet, it'll be in $HOME/.bitmonero/testnet

You can select a different directory with the --data-dir option if needed, eg:

./monerod --data-dir /var/tmp/monero

  • 1
    $HOME/.bitmonero is another way of writing: /home/yourUserName/.bitmonero Note that the period in front of bitmonero means that it is a hidden directory. If you're in the terminal, type this to see all directories, including the hidden ones: ls -lha The actual database is: $HOME/.bitmonero/lmdb/data.mdb – c789 Feb 28 '17 at 20:48
  • Is there an environmental variable that can also set the --data-dir if --data-dir is not passed? – skaht Feb 28 '17 at 22:52
  • If you mean setting an environment variable, and have the code use this instead of --data-dir, then no. – user36303 Mar 1 '17 at 9:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.