version

package
v1.69.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: BSD-3-Clause Imports: 0 Imported by: 25

Documentation

Overview

Package version 软件版本号

Index

Constants

This section is empty.

Variables

View Source
var (
	WalletVerKey     = []byte("WalletVerKey")
	BlockChainVerKey = []byte("BlockChainVerKey")
	LocalDBMeta      = []byte("LocalDBMeta")
	StoreDBMeta      = []byte("StoreDBMeta")
	MavlTreeVerKey   = []byte("MavlTreeVerKey")

	GitCommit string
	BuildTime string
)

var version key

View Source
var Version = "1.69.0"

Version chain33 version

Functions

func GetAppVersion

func GetAppVersion() string

GetAppVersion 获取应用 app 的版本

func GetLocalDBKeyList

func GetLocalDBKeyList() [][]byte

GetLocalDBKeyList 获取本地key列表

func GetLocalDBVersion

func GetLocalDBVersion() string

GetLocalDBVersion 数据库版本解析

格式: v1.v2.v3 如果: v1 升级了, 那么意味着localdb 需要 重新 reindex

func GetStoreDBVersion

func GetStoreDBVersion() string

GetStoreDBVersion 数据库版本解析

格式: v1.v2.v3 如果: v1 升级了, 那么意味着storedb 需要升级

func GetVersion

func GetVersion() string

GetVersion 获取版本信息

func SetAppVersion

func SetAppVersion(version string)

SetAppVersion 设置饮用的版本

func SetLocalDBVersion

func SetLocalDBVersion(version string)

SetLocalDBVersion 通过设置版本号,强制重建数据库

func SetStoreDBVersion

func SetStoreDBVersion(version string)

SetStoreDBVersion 通过设置版本号,强制重建数据库

Types

This section is empty.

Jump to

Keyboard shortcuts

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