v1

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: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAndromedaFlagEnabledWithConsensusV1 = errors.New("andromeda flag enabled with consensus v1")

ErrAndromedaFlagEnabledWithConsensusV1 defines the error for running andromeda enabled under v1 consensus

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

ErrNilSentSignatureTracker defines the error for setting a nil SentSignatureTracker

Functions

func NewSubroundBlock

func NewSubroundBlock(
	baseSubround *spos.Subround,
	extend func(subroundId int),
	processingThresholdPercentage int,
) (*subroundBlock, error)

NewSubroundBlock creates a subroundBlock object

func NewSubroundEndRound

func NewSubroundEndRound(
	baseSubround *spos.Subround,
	extend func(subroundId int),
	processingThresholdPercentage int,
	displayStatistics func(),
	appStatusHandler core.AppStatusHandler,
	sentSignatureTracker spos.SentSignaturesTracker,
) (*subroundEndRound, error)

NewSubroundEndRound creates a subroundEndRound object

func NewSubroundSignature

func NewSubroundSignature(
	baseSubround *spos.Subround,
	extend func(subroundId int),
	appStatusHandler core.AppStatusHandler,
	sentSignatureTracker spos.SentSignaturesTracker,
) (*subroundSignature, error)

NewSubroundSignature creates a subroundSignature object

func NewSubroundStartRound

func NewSubroundStartRound(
	baseSubround *spos.Subround,
	extend func(subroundId int),
	processingThresholdPercentage int,
	executeStoredMessages func(),
	resetConsensusMessages func(),
	sentSignatureTracker spos.SentSignaturesTracker,
) (*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,
	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