Please describe the feature you’d like to see added.
An indexesdir
option (or whatever you want to call it) to specify an alternative directory to datadir to hold the ‘indexes’ subdirectory, like the blocksdir
option for the ‘blocks’ subdirectory.
Is your feature related to a problem, if so please describe it.
Like the ‘blocks’ directory, the ‘indexes’ directory can grow to a significant size (perhaps not as large as ‘blocks’ but still significantly large), making it desirable to e.g. offload it onto a separate HDD while keeping the rest of datadir on an SSD for other benefits (like fast access to the chainstate directory). This option is already available for the ‘blocks’ directory through the blocksdir
option, so there’s adequate precedent to do the same for ‘indexes’.
Describe the solution you’d like
Described above
Describe any alternatives you’ve considered
Splitting datadir using symlinks etc
Please leave any additional context
No response