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

@ -15,6 +15,7 @@ pub enum RpcRequest {
GetEpochInfo,
GetEpochSchedule,
GetGenesisHash,
GetIdentity,
GetInflation,
GetLeaderSchedule,
GetNumBlocksSinceSignatureConfirmation,
@ -55,6 +56,7 @@ impl RpcRequest {
RpcRequest::GetEpochInfo => "getEpochInfo",
RpcRequest::GetEpochSchedule => "getEpochSchedule",
RpcRequest::GetGenesisHash => "getGenesisHash",
RpcRequest::GetIdentity => "getIdentity",
RpcRequest::GetInflation => "getInflation",
RpcRequest::GetLeaderSchedule => "getLeaderSchedule",
RpcRequest::GetNumBlocksSinceSignatureConfirmation => {