Where does Litecoin core (e.g. 0.21.3) store the inital setup (path to blockchain; prune node yes/no)?
I don’t find anything in /etc
no wallet.dat
no peers.dat
no litecoin / bitcoin conf file
Still, even after deleting the Litecoin core folder and re-unpacking it, it remembers (my faulty) settings I made and won’t start anymore…even after reboot
finally! The missing hint. I never knew what to look for. In my test case now it is ~/.config/Litecoin/Litecoin-Qt.conf cause the .config seems to be the ddd of armbian. But even on other distros, I never found this…so I always reinstalled the entire OS whenever I experienced this problem. Same with Bitcoin Core…
So funny, I tested on a very aged, almost obsolete hardware Odroid C2…and it runs in Qt GUI https://wiki.odroid.com/odroid-c2/odroid-c2
(pre-loaded the blockchain data of course from a faster computer…)
On my install, I’m using a separate (optional) path to the wallet and blockchain folders. I’m using a dedicated “data” folder. The config-file is stored in that folder. If you do this, running the GUI, the button will open a blank file.You can write into that and track it down with the save-as option.
Otherwise there is the Litecoin-Qt.conf file at the path indicated by the OP. Probably would have to copy it as I mentioned or use a cli switch to change the path, but that’s probably a risky option. So much fun.
also this might help (on github)
litecoin-project/litecoin/blob/master/doc/bitcoin-conf.md
Seems that the bigger problem is that the conf file is in the data directory wherever the gui thinks that is, but it’s not opening the file from there when the config file button is clicked in the gui. It’s trying to open a file in the default data directory regardless.
That does exist and it points to my custom data folder which is where the blockchain and the wallets are. So the config is loading from the default location, locating the data folder and then gonig there to find the data. It’s just that the GUI isn’t loading the config file from the default location after that.
Litecoin Core version v0.21.3
Then there’s one other problem. Some wisenheimer has used
Hungarian notation in the default config file, so (I guess) that has to be changed to what the code expects (see the command-line notes in the gui). Basically the GUI is not quite working correctly as compiled in the tar file, probably some library issue. And the default conf file has issues.
Apparently quick & dirty fixes were made.
Read the litecoin-project/litecoin/tree/master/doc/bitcoin-conf.md file on github.
I had to run litecoin cli due to 3 GB RAM memory limitation on my VPS. ./litecoind -daemon -conf=~/litecoin.conf works fine for me now
Thanks for the answers!