sys

package
v0.0.0-...-425d0f2 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 9 Imported by: 107

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NotCheckBlockDifficultyForMiner = false
View Source
var TestDebugLocalDevelopmentMark bool = false

Global development test tag

View Source
var TransactionSystemCheckChainID uint64 = 0 // fork or test chain ID

Functions

func AbsDir

func AbsDir(dir string) string

Types

type Inicnf

type Inicnf struct {
	inicnf.File
	// contains filtered or unexported fields
}

func LoadInicnf

func LoadInicnf(source_file string) (*Inicnf, error)

func (*Inicnf) GetDatabaseVersion

func (i *Inicnf) GetDatabaseVersion() (int, int)

func (*Inicnf) MustDataDir

func (i *Inicnf) MustDataDir() string

data dir

func (*Inicnf) MustDataDirCheckVersion

func (i *Inicnf) MustDataDirCheckVersion(version int) (string, bool)

data dir Check Version

func (*Inicnf) MustDataDirWithVersion

func (i *Inicnf) MustDataDirWithVersion() string

data dir version

func (*Inicnf) SetDatabaseVersion

func (i *Inicnf) SetDatabaseVersion(curversion, compatible int)

Must call

func (*Inicnf) StringValueList

func (i *Inicnf) StringValueList(section string, name string) []string

val list

Directories

Path Synopsis
Package ini provides INI file read and write functionality in Go.
Package ini provides INI file read and write functionality in Go.

Jump to

Keyboard shortcuts

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