consensus

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: 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 Type

type Type uint

Type identifies consensus protocols suported by Blockless.

const (
	Raft Type = iota + 1
	PBFT
)

func Parse added in v0.7.0

func Parse(s string) (Type, error)

func (Type) String

func (t Type) String() string

func (Type) Valid

func (t Type) Valid() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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