Add get_confirmed_block()/get_confirmed_blocks()

This commit is contained in:
Michael Vines
2019-12-18 22:31:38 -07:00
parent fcda972cec
commit 05664d150b
3 changed files with 52 additions and 3 deletions

View File

@ -122,6 +122,8 @@ pub enum RpcRequest {
GetBalance,
GetBlockTime,
GetClusterNodes,
GetConfirmedBlock,
GetConfirmedBlocks,
GetEpochInfo,
GetEpochSchedule,
GetGenesisHash,
@ -158,6 +160,8 @@ impl RpcRequest {
RpcRequest::GetBalance => "getBalance",
RpcRequest::GetBlockTime => "getBlockTime",
RpcRequest::GetClusterNodes => "getClusterNodes",
RpcRequest::GetConfirmedBlock => "getConfirmedBlock",
RpcRequest::GetConfirmedBlocks => "getConfirmedBlocks",
RpcRequest::GetEpochInfo => "getEpochInfo",
RpcRequest::GetEpochSchedule => "getEpochSchedule",
RpcRequest::GetGenesisHash => "getGenesisHash",