meshconsensus

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: Apache-2.0, BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithBlockGadgetProvider

func WithBlockGadgetProvider(provider module.Provider[*engine.Engine, blockgadget.Gadget]) options.Option[Consensus]

func WithSlotGadgetProvider

func WithSlotGadgetProvider(provider module.Provider[*engine.Engine, slotgadget.Gadget]) options.Option[Consensus]

Types

type Consensus

type Consensus struct {
	module.Module
	// contains filtered or unexported fields
}

func (*Consensus) BlockGadget

func (c *Consensus) BlockGadget() blockgadget.Gadget

func (*Consensus) ConflictResolver

func (c *Consensus) ConflictResolver() *conflictresolver.ConflictResolver

func (*Consensus) Events

func (c *Consensus) Events() *consensus.Events

func (*Consensus) SlotGadget

func (c *Consensus) SlotGadget() slotgadget.Gadget

Jump to

Keyboard shortcuts

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