Documentation ¶
Index ¶
- Constants
- func GetCmdQueryParams(cdc *codec.Codec) *cobra.Command
- func GetCmdRecordWrkChainBlock(cdc *codec.Codec) *cobra.Command
- func GetCmdRegisterWrkChain(cdc *codec.Codec) *cobra.Command
- func GetCmdSearchWrkChains(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdWrkChain(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdWrkChainBlock(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(storeKey string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagNumLimit = "limit" FlagPage = "page" FlagMoniker = "moniker" FlagOwner = "owner" FlagMinHeight = "min" FlagMaxHeight = "max" FlagMinDate = "after" FlagMaxDate = "before" FlagBlockHash = "block_hash" FlagParentHash = "parent_hash" FlagHash1 = "hash1" FlagHash2 = "hash2" FlagHash3 = "hash3" FlagHeight = "wc_height" FlagWrkChainID = "id" FlagName = "name" FlagBaseChain = "base" FlagGenesisHash = "genesis" )
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryParams ¶
GetCmdQueryParams implements a command to return the current WRKChain parameters.
func GetCmdRecordWrkChainBlock ¶
GetCmdRecordWrkChainBlock is the CLI command for sending a RecordWrkChainBlock transaction
func GetCmdRegisterWrkChain ¶
GetCmdRegisterWrkChain is the CLI command for sending a RegisterWrkChain transaction
func GetCmdSearchWrkChains ¶
GetCmdSearchWrkChains runs a WRKChain search query with parameters
func GetCmdWrkChain ¶
GetCmdWrkChain queries information about a wrkchain
func GetCmdWrkChainBlock ¶
GetCmdWrkChainBlock queries information about a wrkchain's recorded block hashes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.