version

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// 001: 0 - protocol version, 01 - patch number for protocol v0
	H001_UNDELEGATE_PATCH = 1159800
)

For each patch (a.k.a. class3 upgrade), define the corresponding height at which the software switches to the patched logic

View Source
const ProtocolVersion = 0

Version - Htdf Version

View Source
const Version = "0.14.1"

Variables

View Source
var GitCommit = ""

GitCommit set by build flags

View Source
var (
	// VersionCmd prints out the current sdk version
	VersionCmd = &cobra.Command{
		Use:   "version",
		Short: "Print the app version",
		Run:   printVersion,
	}
)

Functions

func GetVersion

func GetVersion() string

return version of CLI/node and commit hash

func ServeVersionCommand

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

ServeVersionCommand

Types

This section is empty.

Jump to

Keyboard shortcuts

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