cli

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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

func GetCmdQueryParams(cdc *codec.Codec) *cobra.Command

GetCmdQueryParams implements a command to return the current WRKChain parameters.

func GetCmdRecordWrkChainBlock

func GetCmdRecordWrkChainBlock(cdc *codec.Codec) *cobra.Command

GetCmdRecordWrkChainBlock is the CLI command for sending a RecordWrkChainBlock transaction

func GetCmdRegisterWrkChain

func GetCmdRegisterWrkChain(cdc *codec.Codec) *cobra.Command

GetCmdRegisterWrkChain is the CLI command for sending a RegisterWrkChain transaction

func GetCmdSearchWrkChains

func GetCmdSearchWrkChains(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdSearchWrkChains runs a WRKChain search query with parameters

func GetCmdWrkChain

func GetCmdWrkChain(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdWrkChain queries information about a wrkchain

func GetCmdWrkChainBlock

func GetCmdWrkChainBlock(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdWrkChainBlock queries information about a wrkchain's recorded block hashes

func GetQueryCmd

func GetQueryCmd(storeKey string, cdc *codec.Codec) *cobra.Command

func GetTxCmd

func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL