zconfig

package
v0.7.0-beta.r7-hotfix.4 Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: GPL-3.0 Imports: 7 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MAX_O_INS_LENGTH = 2500
View Source
var MAX_TX_OUT_COUNT_LENGTH = 256
View Source
var VP0 = uint64(788888)

Functions

func Get_State1_last_num_and_hash

func Get_State1_last_num_and_hash() (num int64, file_name string)

func Init_Dev

func Init_Dev(dev bool)

func Init_State1

func Init_State1()

func Init_State2

func Init_State2()

func Init_State_dir

func Init_State_dir(d string)

func IsDirExists

func IsDirExists(path string) bool

func Is_Dev

func Is_Dev() bool

func Remove_State1_dir_files

func Remove_State1_dir_files(height uint64)

func State1_db_dir

func State1_db_dir() string

func State1_dir

func State1_dir() string

func State1_file

func State1_file(last_fork string) string

func State2_dir

func State2_dir() string

Types

type Grid

type Grid struct {
	MaxNum uint64
	Files  []string
}

type Reserveds

type Reserveds struct {
	Gs     [32]Grid
	Target uint64
}

func NewReserveds

func NewReserveds(target uint64) (ret Reserveds)

func (*Reserveds) Insert

func (self *Reserveds) Insert(num uint64, file string) (files []string)

Jump to

Keyboard shortcuts

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