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

automerge
This commit is contained in:
mergify[bot]
2020-02-28 23:16:23 -08:00
committed by GitHub
parent 797e4b11e2
commit f2f6828691
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};
@@ -931,12 +931,6 @@ pub fn main() {
warn!("--vote-signer-address ignored");
}
println!(
"{} {}",
style(crate_name!()).bold(),
solana_clap_utils::version!()
);
let _log_redirect = {
#[cfg(unix)]
{
@@ -974,6 +968,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(|| {