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

@@ -242,6 +242,7 @@ impl Validator {
JsonRpcService::new(
SocketAddr::new(IpAddr::V4(Ipv4Addr::new(0, 0, 0, 0)), rpc_port),
config.rpc_config.clone(),
config.snapshot_config.clone(),
bank_forks.clone(),
block_commitment_cache.clone(),
blockstore.clone(),