conflux-rust icon indicating copy to clipboard operation
conflux-rust copied to clipboard

can I configure where pos_db storage path?

Open lcgogo opened this issue 2 years ago • 2 comments

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 ?

lcgogo avatar Apr 26 '22 03:04 lcgogo

@peilun-conflux

lcgogo avatar Jul 25 '22 10:07 lcgogo

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.

peilun-conflux avatar Jul 25 '22 10:07 peilun-conflux