I never knew about that, even after using Bitcoin Core (ex. Qt) on Windows for several years now!phelix wrote:Note that on Windows it is possible to read the data directory location from the registry it was changed from default during client installation. I have already tested reading this out but still need to add it to namerpc.py
I apply the same approach as on Linux (create a start script with custom conf value), so I completely forgot about Windows registry.
I had to check to see if that's really true, and it is (strDataDir key) in
Code: Select all
HKEY_CURRENT_USER\Software\Bitcoin\Bitcoin-Qt