Cli: Add solana supply command; hide total-supply (bp #9956) (#9963)

automerge
This commit is contained in:
mergify[bot]
2020-05-10 18:04:46 -07:00
committed by GitHub
parent 50eba96b58
commit c00ec26a3b
5 changed files with 102 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ pub enum RpcRequest {
GetStorageTurnRate,
GetSlotsPerSegment,
GetStoragePubkeysForSlot,
GetSupply,
GetTotalSupply,
GetTransactionCount,
GetVersion,
@@ -73,6 +74,7 @@ impl fmt::Display for RpcRequest {
RpcRequest::GetStorageTurnRate => "getStorageTurnRate",
RpcRequest::GetSlotsPerSegment => "getSlotsPerSegment",
RpcRequest::GetStoragePubkeysForSlot => "getStoragePubkeysForSlot",
RpcRequest::GetSupply => "getSupply",
RpcRequest::GetTotalSupply => "getTotalSupply",
RpcRequest::GetTransactionCount => "getTransactionCount",
RpcRequest::GetVersion => "getVersion",