Is it possible to configure a custom location for the folder $HOME/nem
that the NIS creates and reads?
Or, can we specify where to store the blockchain? Use a custom folder for the database files?
Is it possible to configure a custom location for the folder $HOME/nem
that the NIS creates and reads?
Or, can we specify where to store the blockchain? Use a custom folder for the database files?
Hello.
Yes you can do this in the NIS config.properties file.
Find your “package” folder or whathever you have called it
and in the nis subfolder you will fine the file named “config.properties”
there you have a confguration property:
# In order to be able to start the NEM software (NIS and also NCC) from a removeable media (e.g. USB drive),
# the path, where the database, logs and other files will be saved, can be configured.
# %h - is the home directory of the user (also if the entry is missing) (example: nem.folder = %h/nem)
# . - is the working directory (example: nem.folder = ./nem)
nem.folder = %h/nem
You can set the value of that property to suit your needs.
Let me know it this worked out for you.
Bye.
Nice, I had no idea about this file. Thanks!