feat: get epoch schedule rpc, update cli (#6500)

This commit is contained in:
Sunny Gleason
2019-10-22 16:41:18 -04:00
committed by GitHub
parent 4f25013954
commit 0b2d4f32fa
4 changed files with 66 additions and 20 deletions

View File

@ -58,6 +58,7 @@ pub enum RpcRequest {
GetBalance,
GetClusterNodes,
GetEpochInfo,
GetEpochSchedule,
GetGenesisBlockhash,
GetInflation,
GetNumBlocksSinceSignatureConfirmation,
@ -91,6 +92,7 @@ impl RpcRequest {
RpcRequest::GetBalance => "getBalance",
RpcRequest::GetClusterNodes => "getClusterNodes",
RpcRequest::GetEpochInfo => "getEpochInfo",
RpcRequest::GetEpochSchedule => "getEpochSchedule",
RpcRequest::GetGenesisBlockhash => "getGenesisBlockhash",
RpcRequest::GetInflation => "getInflation",
RpcRequest::GetNumBlocksSinceSignatureConfirmation => {