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

automerge
This commit is contained in:
Grimes
2020-03-04 16:00:20 -08:00
committed by GitHub
parent dd06001ed8
commit dc8abbe9e3
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")
}),