Documentation ¶
Index ¶
- func GetCmdEpoch(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdLatestBlock(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdSyncBlock(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(storeKey string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command
- func QueryLatestBlock(cliCtx context.CLIContext, queryRoute string) (block types.Block, err error)
- func QueryParams(cliCtx context.CLIContext, queryRoute string) (params types.Params, err error)
- func QuerySecureBlockNum(cliCtx context.CLIContext, queryRoute string) (secureBlockNum uint64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdEpoch ¶
GetCmdEpoch queries request info
func GetCmdLatestBlock ¶
GetCmdLatestBlock queries the lastest block
func GetCmdQueryParams ¶
GetCmdQueryParams implements the params query command.
func GetCmdSyncBlock ¶
GetCmdSyncBlock is the CLI command for sending a SyncBlock transaction
func QueryLatestBlock ¶
Query latest block
func QueryParams ¶
func QuerySecureBlockNum ¶
func QuerySecureBlockNum(cliCtx context.CLIContext, queryRoute string) (secureBlockNum uint64, err error)
Query secure block number
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.