version

package
v0.28.0-dev0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 0 Imported by: 790

Documentation

Index

Constants

View Source
const (
	// TMCoreSemVer is the current version of Tendermint Core.
	// It's the Semantic Version of the software.
	// Must be a string because scripts like dist.sh read this file.
	TMCoreSemVer = "0.27.4"

	// ABCISemVer is the semantic version of the ABCI library
	ABCISemVer  = "0.15.0"
	ABCIVersion = ABCISemVer
)

Variables

View Source
var (
	// GitCommit is the current HEAD set using ldflags.
	GitCommit string

	// Version is the built softwares version.
	Version string = TMCoreSemVer
)

Functions

This section is empty.

Types

type App

type App struct {
	Protocol Protocol `json:"protocol"`
	Software string   `json:"software"`
}

App includes the protocol and software version for the application. This information is included in ResponseInfo. The App.Protocol can be updated in ResponseEndBlock.

type Consensus

type Consensus struct {
	Block Protocol `json:"block"`
	App   Protocol `json:"app"`
}

Consensus captures the consensus rules for processing a block in the blockchain, including all blockchain data structures and the rules of the application's state transition machine.

type Protocol

type Protocol uint64

Protocol is used for implementation agnostic versioning.

var (
	// P2PProtocol versions all p2p behaviour and msgs.
	P2PProtocol Protocol = 5

	// BlockProtocol versions all block data structures and processing.
	BlockProtocol Protocol = 8
)

func (Protocol) Uint64

func (p Protocol) Uint64() uint64

Uint64 returns the Protocol version as a uint64, eg. for compatibility with ABCI types.

Jump to

Keyboard shortcuts

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