Documentation
¶
Index ¶
- Variables
- func NewSubroundBlock(baseSubround *spos.Subround, processingThresholdPercentage int, ...) (*subroundBlock, error)
- func NewSubroundEndRound(baseSubround *spos.Subround, processingThresholdPercentage int, ...) (*subroundEndRound, error)
- func NewSubroundSignature(baseSubround *spos.Subround, appStatusHandler core.AppStatusHandler, ...) (*subroundSignature, error)
- func NewSubroundStartRound(baseSubround *spos.Subround, processingThresholdPercentage int, ...) (*subroundStartRound, error)
- func NewSubroundsFactory(consensusDataContainer spos.ConsensusCoreHandler, ...) (*factory, error)
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.
Click to show internal directories.
Click to hide internal directories.