Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure directories for data & cache #409

Open
physics515 opened this issue Mar 18, 2025 · 1 comment · May be fixed by #418
Open

Configure directories for data & cache #409

physics515 opened this issue Mar 18, 2025 · 1 comment · May be fixed by #418
Labels
C-request A request for changes or a feature.

Comments

@physics515
Copy link

Feature

Add a key to the configuration file to set the location of the data and cache directories.

Why

I only have a 1TB OS drive on my PC but I an 86TB RAID10 setup where I would like the blockchain to be stored. I often flash my OS drive about every 3 months to start over clean and it would suck to have to resync every time.

@physics515 physics515 added the C-request A request for changes or a feature. label Mar 18, 2025
@Boog900
Copy link
Member

Boog900 commented Mar 18, 2025

The default config file generated does not generate all keys, we also are yet to document the full config in the user book.

You can change the paths by putting this in the config:

[fs]
data_directory = "path/to/folder"
cache_directory = "path/to/folder"

Hopefully that should work, I'll prioritize documenting the config for the user book.

@Boog900 Boog900 linked a pull request Mar 22, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-request A request for changes or a feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants