rpc: GET for /snapshot.tar.bz2 now redirects to the latest snapshot (bp #8536) (#8538)

automerge
This commit is contained in:
mergify[bot]
2020-02-28 23:45:15 -08:00
committed by GitHub
parent 9c326c7c71
commit ad71fa3f12
3 changed files with 70 additions and 14 deletions

View File

@@ -2,7 +2,7 @@ use bzip2::bufread::BzDecoder;
use clap::{
crate_description, crate_name, value_t, value_t_or_exit, values_t_or_exit, App, Arg, ArgMatches,
};
use console::{style, Emoji};
use console::Emoji;
use indicatif::{ProgressBar, ProgressStyle};
use log::*;
use rand::{thread_rng, Rng};
@@ -953,12 +953,6 @@ pub fn main() {
warn!("--vote-signer-address ignored");
}
println!(
"{} {}",
style(crate_name!()).bold(),
solana_clap_utils::version!()
);
let _log_redirect = {
#[cfg(unix)]
{
@@ -996,6 +990,7 @@ pub fn main() {
.join(","),
);
info!("{} {}", crate_name!(), solana_clap_utils::version!());
info!("Starting validator with: {:#?}", std::env::args_os());
let vote_account = pubkey_of(&matches, "vote_account").unwrap_or_else(|| {