version

package
v0.18.15 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Copyright 2017-2018 OneLedger

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCompatible

func IsCompatible(base *Version, current *Version) bool

Check for compatability, exact major, close to minor, bug fixes don't matter

Types

type Version

type Version struct {
	Major      int
	Minor      int
	Patch      int
	PreRelease string
	MetaData   string
}
var Client *Version // Version of the client
var Fullnode *Version // Version of the source code
var Protocol *Version // Version of the protocol

func NewVersion

func NewVersion(major, minor, patch int, release, meta string) *Version

func (*Version) String

func (v *Version) String() string

Jump to

Keyboard shortcuts

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