Files
tendermint/version/version.go
Marko c376b44f1c Backport: #6494 (#6506)
* version: revert version through ldflag only (#6494)

Add version back to versions, but allow it to be overridden via a ldflag.

Reason:

Many users are not setting the ldflag causing issues with tooling that relies on it (cosmjs)

closes #6488

cc @webmaster128

* revert variable rename

* Update CHANGELOG_PENDING.md
2021-05-31 21:15:12 +00:00

26 lines
636 B
Go

package version
var (
TMCoreSemVer = TMVersionDefault
)
const (
// TMVersionDefault is the used as the fallback version of Tendermint Core
// when not using git describe. It is formatted with semantic versioning.
TMVersionDefault = "0.34.10"
// ABCISemVer is the semantic version of the ABCI library
ABCISemVer = "0.17.0"
ABCIVersion = ABCISemVer
)
var (
// P2PProtocol versions all p2p behaviour and msgs.
// This includes proposer selection.
P2PProtocol uint64 = 8
// BlockProtocol versions all block data structures and processing.
// This includes validity of blocks and state updates.
BlockProtocol uint64 = 11
)