v2

package
v1.11.3-devnet-patch 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: 0

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