znort987 / blockparser

Simple C++ bitcoin blockchain parser
538 stars 318 forks source link

blockparser Set different bitcoin directory other than ~/.bitcoin #68

Open ghost opened 7 years ago

ghost commented 7 years ago

this is not question but an answer if you want to set another bitcoin directpry while running ./parser.

my bitcoin directory is /home/username/.bitcoin so i am using it like this

env BLOCKCHAIN_DIR="/home/username/" ./parser allBalances > allBalances.txt

viktorheli commented 6 years ago

Another solution soft link ln -s "your bitcoin-qt dir" "/home/youname/.bitcoin"