Skip to content
This repository was archived by the owner on Oct 9, 2022. It is now read-only.
This repository was archived by the owner on Oct 9, 2022. It is now read-only.

Feature Request: Do not use paths under $HOME as the default storage path #128

@wi1dcard

Description

@wi1dcard

As shadow currently creates multiple sub dir in $HOME, for example ~/.ethash and ~/.ethashproof, it increases the maintenance complexity. Users using docker and shadow will have to mount multiple volumes or mount $HOME as a volume which not only contains shadow data but also files like ~/.bash_history etc in the docker container. I don't think that's ideal.

For non-docker users, it is possible that they can run multiple shadow instances on a single VM. The default storage path will cause conflicts in that scenario.

My idea is that we can use the current working directory as the default storage path for shadow, which means if we launch shadow without additional options, it stores ethash and ethashproof in ./ethash and ./ethashproof.

It would be great as well if there's an option, such as --data-path or --storage-path that allows users changing the path specifically.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions