majority

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoMajorityFound = errors.New("no majority finality found")
)

Functions

This section is empty.

Types

type Decider

type Decider struct{}

func New

func New() *Decider

func (*Decider) Decide

func (m *Decider) Decide(checkpoints []*v1.Finality) (*v1.Finality, error)

Jump to

Keyboard shortcuts

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