version

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const AppVersion = 0

Use AppVersion BaseApp.Info() to keep compatible with lower protocol version, instead of using ProtocolVersion.

DO NOT EDIT THIS AppVersion

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 = 2 // start from version 2  by yqq 2021-01-04

------------------------------------------- ProtocolVersion - protocol version of (software)upgrade

Variables

View Source
var GitCommit = ""

GitCommit set by build flags

View Source
var Version = params.Version
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