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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.