You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/trin/src/cli.rs
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -216,6 +216,13 @@ pub struct TrinConfig {
216
216
value_parser = max_radius_parser,
217
217
)]
218
218
pubmax_radius:Distance,
219
+
220
+
#[arg(
221
+
long = "disable-history-storage",
222
+
help = "Disable storing all history data locally. This is a temporary flag used for upgrading the network, and should be removed once the upgrade is complete.",
223
+
default_value = "false"
224
+
)]
225
+
pubdisable_history_storage:bool,
219
226
}
220
227
221
228
implDefaultforTrinConfig{
@@ -249,6 +256,7 @@ impl Default for TrinConfig {
249
256
network:MAINNET.clone(),
250
257
max_radius:max_radius_parser(DEFAULT_MAX_RADIUS)
251
258
.expect("Parsing static DEFAULT_MAX_RADIUS to work"),
0 commit comments