chainedhotstuff

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Config       hotstuff.Config
	BlockChain   hotstuff.BlockChain
	Signer       hotstuff.Signer
	Verifier     hotstuff.Verifier
	CommandQueue hotstuff.CommandQueue
	Executor     hotstuff.Executor
	Acceptor     hotstuff.Acceptor
	Synchronizer hotstuff.ViewSynchronizer
}

Builder is used to set up a HotStuff instance

func (Builder) Build

func (b Builder) Build() hotstuff.Consensus

Build returns a new chained HotStuff instance

Jump to

Keyboard shortcuts

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