conflux-rust
conflux-rust copied to clipboard
can I configure where pos_db storage path?
Seem now pos_db is under the same folder of conflux executable file. That causes the / folder too much larger.
core/src/pos/config/src/config/storage_config.rs: data_dir: PathBuf::from("./pos_db"),
can i configure it under: conflux_data_dir or other like in conflux.toml ?
@peilun-conflux
This can be configured in the independent pos configuration file. By default it's pos_config/pos_config.yaml
.
The corresponding configuration entry is base.data_dir
. A commented-out line should have been provided in the file.