version

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CentrifugeNodeVersion = "2.0.0"

CentrifugeNodeVersion is the current version of the app

Variables

This section is empty.

Functions

func CheckVersion

func CheckVersion(peerVersion string) bool

CheckVersion checks if the peer node version matches with the current node.

func GetVersion

func GetVersion() *semver.Version

GetVersion returns current cent node version in semvar format.

func IncompatibleVersionError

func IncompatibleVersionError(nodeVersion string) error

IncompatibleVersionError for any peer with incompatible versions

Types

type Bootstrapper

type Bootstrapper struct{}

Bootstrapper implements bootstrapper.Bootstrapper

func (*Bootstrapper) Bootstrap

func (*Bootstrapper) Bootstrap(context map[string]interface{}) error

Bootstrap logs the cent node version.

Jump to

Keyboard shortcuts

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