cmds

package
v0.0.0-...-63c6019 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoolAppInit = server.AppInit{
	AppGenState: CoolAppGenState,
	AppGenTx:    server.SimpleAppGenTx,
}

init parameters

View Source
var VersionCmd = &cobra.Command{
	Use:   "version",
	Short: "Uscoin version info",
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Println("tendermint version", tv.Version)
		fmt.Println("cosmos version", cv.GetVersion())
		fmt.Println("kchain version", version.Version)
		fmt.Println("kchain commit version", version.GitCommit)
		fmt.Println("kchain build version", version.BuildVersion)
	},
}

VersionCmd ...

Functions

func CoolAppGenState

func CoolAppGenState(cdc *wire.Codec, appGenTxs []json.RawMessage) (appState json.RawMessage, err error)

coolGenAppParams sets up the app_state and appends the cool app state

func RunNodeCmd

func RunNodeCmd() *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