common

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

View Source
const (
	SoloPolicy = "solo"
	DposPolicy = "dpos"
)

Variables

View Source
var (
	AssignmentNotBeExecute = errors.New("assignments role has not be executed")
)

Functions

This section is empty.

Types

type Roler

type Roler int
const (
	Master  Roler = iota // Master --> 0
	Slave                // Slave --> 1
	Normal               // Normal --> 2, node that not participation in consensus
	UnKnown              // UnKnown --> 3, node that nobody knows
)

Role

Jump to

Keyboard shortcuts

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