solana catchup now detects when you try to catchup to yourself (#8635)

automerge
This commit is contained in:
Grimes
2020-03-04 14:44:21 -08:00
committed by GitHub
parent f23dc11a86
commit f89c22b5ee
7 changed files with 118 additions and 5 deletions

View File

@ -903,6 +903,7 @@ pub fn main() {
rpc_config: JsonRpcConfig {
enable_validator_exit: matches.is_present("enable_rpc_exit"),
enable_get_confirmed_block: matches.is_present("enable_rpc_get_confirmed_block"),
identity_pubkey: identity_keypair.pubkey(),
faucet_addr: matches.value_of("rpc_faucet_addr").map(|address| {
solana_net_utils::parse_host_port(address).expect("failed to parse faucet address")
}),