Download incremental snapshots during bootstrap (#20696)
This commit is contained in:
parent
05344ad991
commit
4821b0a1d9
File diff suppressed because it is too large
Load Diff
|
@ -1817,16 +1817,8 @@ pub fn main() {
|
||||||
"max_genesis_archive_unpacked_size",
|
"max_genesis_archive_unpacked_size",
|
||||||
u64
|
u64
|
||||||
),
|
),
|
||||||
incremental_snapshots: if matches.is_present("incremental_snapshots") {
|
incremental_snapshot_fetch: matches.is_present("incremental_snapshots")
|
||||||
bootstrap::ConfigState::Enabled
|
&& !matches.is_present("no_incremental_snapshot_fetch"),
|
||||||
} else {
|
|
||||||
bootstrap::ConfigState::Disabled
|
|
||||||
},
|
|
||||||
incremental_snapshot_fetch: if matches.is_present("no_incremental_snapshot_fetch") {
|
|
||||||
bootstrap::ConfigState::Disabled
|
|
||||||
} else {
|
|
||||||
bootstrap::ConfigState::Enabled
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let private_rpc = matches.is_present("private_rpc");
|
let private_rpc = matches.is_present("private_rpc");
|
||||||
|
|
Loading…
Reference in New Issue