File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ impl ConfigBuilder {
93
93
/// Build into a [`Config`].
94
94
///
95
95
/// # Default values
96
- /// If [`ConfigBuilder::db_directory `] was not called,
97
- /// the default [`CUPRATE_BLOCKCHAIN_DIR `] will be used.
96
+ /// If [`ConfigBuilder::data_directory `] was not called,
97
+ /// [`blockchain_path`] with [`CUPRATE_DATA_DIR`] [`Network::Mainnet `] will be used.
98
98
///
99
99
/// For all other values, [`Default::default`] is used.
100
100
pub fn build ( self ) -> Config {
@@ -213,7 +213,7 @@ impl Config {
213
213
/// Create a new [`Config`] with sane default settings.
214
214
///
215
215
/// The [`cuprate_database::config::Config::db_directory`]
216
- /// will be set to [`CUPRATE_BLOCKCHAIN_DIR `] joined with [`Network::Mainnet`].
216
+ /// will be set to [`blockchain_path `] with [`CUPRATE_DATA_DIR`] [`Network::Mainnet`].
217
217
///
218
218
/// All other values will be [`Default::default`].
219
219
///
Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ impl ConfigBuilder {
59
59
/// Build into a [`Config`].
60
60
///
61
61
/// # Default values
62
- /// If [`ConfigBuilder::db_directory `] was not called,
63
- /// the default [`CUPRATE_TXPOOL_DIR `] will be used.
62
+ /// If [`ConfigBuilder::data_directory `] was not called,
63
+ /// [`txpool_path`] with [`CUPRATE_DATA_DIR`] and [`Network::Mainnet `] will be used.
64
64
///
65
65
/// For all other values, [`Default::default`] is used.
66
66
pub fn build ( self ) -> Config {
@@ -196,7 +196,7 @@ impl Config {
196
196
/// Create a new [`Config`] with sane default settings.
197
197
///
198
198
/// The [`DbConfig::db_directory`]
199
- /// will be set to [`CUPRATE_TXPOOL_DIR `] joined with [`Network::Mainnet`].
199
+ /// will be set to [`txpool_path `] with [`CUPRATE_DATA_DIR`] and [`Network::Mainnet`].
200
200
///
201
201
/// All other values will be [`Default::default`].
202
202
///
You can’t perform that action at this time.
0 commit comments