Grin: Use a working directory under the user home

Created on 13 Jul 2018  路  4Comments  路  Source: mimblewimble/grin

Currently grin uses the current directory to load different databases, write its logs, read configuration, save wallet files, etc. We should instead rely on a .grin under the user home like pretty much all other blockchain daemons.

enhancement good first issue help wanted must-have

Most helpful comment

Should it be configurable? I think that lots of hard core miners and users may want to move the working directory to a dedicated disk (mount point) for good reasons

All 4 comments

Should it be configurable? I think that lots of hard core miners and users may want to move the working directory to a dedicated disk (mount point) for good reasons

Yes of course, I should have been clearer that under the home folder should be a default, with a custom location configurable.

I think that using the XDG specification should be used here (that uses ~/.local and ~/.config). Most modern pieces of software do and that would be expected behavior.

Done via #1433

Was this page helpful?
0 / 5 - 0 ratings

Related issues

antiochp picture antiochp  路  3Comments

yeastplume picture yeastplume  路  3Comments

shrikus picture shrikus  路  6Comments

garyyu picture garyyu  路  4Comments

garyyu picture garyyu  路  6Comments