global

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QManagerStorage *leveldb.DB
	QManConnected   bool //If I'm Qmanager, this is true. when start p2p node, check whether Qman or not.
	QManagerAddress *net.UDPAddr
	BootNodeReady   bool
	QRNGDeviceStat  bool
	QRNGFilePrefix  string
	RandomNumbers   []uint64
	BootNodePort    int
	BootNodeID      string
	IsBootNode      bool
	QManPubKey      *ecdsa.PublicKey
	GovernanceList  []GovStruct
	DBDataList      []QManDBStruct
)

Functions

func CheckBootNodePortAndID

func CheckBootNodePortAndID(NodeID string, Port int) bool

Types

type CoordiDecideStruct

type CoordiDecideStruct struct {
	Status bool
}

type GovStruct

type GovStruct struct {
	Validator string
	Tag       common.Tag
}

type Message

type Message struct {
	Message string
	Code    int
}

type QManDBStruct

type QManDBStruct struct {
	ID        string
	Address   string
	Timestamp string
	Tag       string
}

type RequestCoordiStruct

type RequestCoordiStruct struct {
	QRND uint64
}

type RequestStruct

type RequestStruct struct {
	Proposer string
}

Jump to

Keyboard shortcuts

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