consensus

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine added in v1.4.0

type Engine interface {
	GetValidators() (int64, []*types.Validator)
	SetEventSwitch(types.EventSwitch)
	ValidateBlock(*types.Block) error
	SetOnUpdateStatus(onUpdateState func(s *state.State))
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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