github.com/adoriasoft/tendermint@v0.34.0-dev1.0.20200722151356-96d84601a75a/version/version.go (about)

     1  package version
     2  
     3  var (
     4  	// GitCommit is the current HEAD set using ldflags.
     5  	GitCommit string
     6  
     7  	// Version is the built softwares version.
     8  	Version = TMCoreSemVer
     9  )
    10  
    11  func init() {
    12  	if GitCommit != "" {
    13  		Version += "-" + GitCommit
    14  	}
    15  }
    16  
    17  const (
    18  	// TMCoreSemVer is the current version of Tendermint Core.
    19  	// It's the Semantic Version of the software.
    20  	// Must be a string because scripts like dist.sh read this file.
    21  	// XXX: Don't change the name of this variable or you will break
    22  	// automation :)
    23  	TMCoreSemVer = "0.33.6"
    24  
    25  	// ABCISemVer is the semantic version of the ABCI library
    26  	ABCISemVer = "0.17.0"
    27  
    28  	ABCIVersion = ABCISemVer
    29  )
    30  
    31  var (
    32  	// P2PProtocol versions all p2p behaviour and msgs.
    33  	// This includes proposer selection.
    34  	P2PProtocol uint64 = 9
    35  
    36  	// BlockProtocol versions all block data structures and processing.
    37  	// This includes validity of blocks and state updates.
    38  	BlockProtocol uint64 = 12
    39  )