version

package
v0.0.0-...-1c4572a Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2018 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	GitCommit string
)

Functions

func GetLocalDBKeyList

func GetLocalDBKeyList() [][]byte

func GetLocalDBVersion

func GetLocalDBVersion() string

GetLocalDBVersion 数据库版本解析

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

func GetVersion

func GetVersion() string

func SetLocalDBVersion

func SetLocalDBVersion(version string)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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