v2

package
v1.11.2-patch-devnet Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: GPL-3.0 Imports: 25 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilSentSignatureTracker = errors.New("nil sent signature tracker")

ErrNilSentSignatureTracker defines the error for setting a nil SentSignatureTracker

View Source
var ErrProofAlreadyPropagated = errors.New("proof already propagated")

ErrProofAlreadyPropagated signals that the proof was already propagated

View Source
var ErrTimeOut = errors.New("time is out")

ErrTimeOut signals that the time is out

Functions

func NewSubroundBlock

func NewSubroundBlock(
	baseSubround *spos.Subround,
	processingThresholdPercentage int,
	worker spos.WorkerHandler,
) (*subroundBlock, error)

NewSubroundBlock creates a subroundBlock object

func NewSubroundEndRound

func NewSubroundEndRound(
	baseSubround *spos.Subround,
	processingThresholdPercentage int,
	appStatusHandler core.AppStatusHandler,
	sentSignatureTracker spos.SentSignaturesTracker,
	worker spos.WorkerHandler,
	signatureThrottler core.Throttler,
) (*subroundEndRound, error)

NewSubroundEndRound creates a subroundEndRound object

func NewSubroundSignature

func NewSubroundSignature(
	baseSubround *spos.Subround,
	appStatusHandler core.AppStatusHandler,
	sentSignatureTracker spos.SentSignaturesTracker,
	worker spos.WorkerHandler,
	signatureThrottler core.Throttler,
) (*subroundSignature, error)

NewSubroundSignature creates a subroundSignature object

func NewSubroundStartRound

func NewSubroundStartRound(
	baseSubround *spos.Subround,
	processingThresholdPercentage int,
	sentSignatureTracker spos.SentSignaturesTracker,
	worker spos.WorkerHandler,
) (*subroundStartRound, error)

NewSubroundStartRound creates a subroundStartRound object

func NewSubroundsFactory

func NewSubroundsFactory(
	consensusDataContainer spos.ConsensusCoreHandler,
	consensusState spos.ConsensusStateHandler,
	worker spos.WorkerHandler,
	chainID []byte,
	currentPid core.PeerID,
	appStatusHandler core.AppStatusHandler,
	sentSignaturesTracker spos.SentSignaturesTracker,
	signatureThrottler core.Throttler,
	outportHandler outport.OutportHandler,
) (*factory, error)

NewSubroundsFactory creates a new consensusState object

Types

This section is empty.

Jump to

Keyboard shortcuts

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