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",
|
||||
u64
|
||||
),
|
||||
incremental_snapshots: if matches.is_present("incremental_snapshots") {
|
||||
bootstrap::ConfigState::Enabled
|
||||
} else {
|
||||
bootstrap::ConfigState::Disabled
|
||||
},
|
||||
incremental_snapshot_fetch: if matches.is_present("no_incremental_snapshot_fetch") {
|
||||
bootstrap::ConfigState::Disabled
|
||||
} else {
|
||||
bootstrap::ConfigState::Enabled
|
||||
},
|
||||
incremental_snapshot_fetch: matches.is_present("incremental_snapshots")
|
||||
&& !matches.is_present("no_incremental_snapshot_fetch"),
|
||||
};
|
||||
|
||||
let private_rpc = matches.is_present("private_rpc");
|
||||
|
|
Loading…
Reference in New Issue