prepare

package
v0.3.7-b Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DuplicateMsg

func DuplicateMsg() tests.SpecTest

DuplicateMsg tests a duplicate prepare msg processing

func DuplicateMsgQuorum

func DuplicateMsgQuorum() tests.SpecTest

DuplicateMsgQuorum tests a duplicate prepare msg that is added to container but shouldn't result in a quorum

func ForceStop added in v0.3.1

func ForceStop() tests.SpecTest

ForceStop tests processing a prepare msg when instance force stopped

func FutureRound

func FutureRound() tests.SpecTest

FutureRound tests prepare for signedProposal.Message.Round > state.Round

func HappyFlow

func HappyFlow() tests.SpecTest

HappyFlow tests a quorum of prepare msgs

func MultiSigner

func MultiSigner() tests.SpecTest

MultiSigner tests prepare msg with > 1 signers

func NoPreviousProposal

func NoPreviousProposal() tests.SpecTest

NoPreviousProposal tests prepare msg without receiving a previous proposal state.ProposalAcceptedForCurrentRound == nil

func OldRound

func OldRound() tests.SpecTest

OldRound tests prepare for signedProposal.Message.Round < state.Round

func PostCutoff added in v0.3.1

func PostCutoff() tests.SpecTest

PostCutoff tests processing a prepare msg when round >= cutoff

func PostDecided

func PostDecided() tests.SpecTest

PostDecided tests processing prepare msg after instance decided

func PrepareQuorumTriggeredTwice added in v0.3.1

func PrepareQuorumTriggeredTwice() tests.SpecTest

PrepareQuorumTriggeredTwice tests triggering prepare quorum twice by sending > 2f+1 prepare messages

func PrepareQuorumTriggeredTwiceLateCommit added in v0.3.1

func PrepareQuorumTriggeredTwiceLateCommit() tests.SpecTest

PrepareQuorumTriggeredTwiceLateCommit tests triggering prepare quorum twice by sending > 2f+1 prepare messages. The commit message is processed after the second prepare quorum is triggered.

func SetPreparedFullData added in v0.3.0

func SetPreparedFullData() tests.SpecTest

SetPreparedFullData tests setting state.LastPreparedValue to the full data not the root

func UnknownSigner added in v0.2.7

func UnknownSigner() tests.SpecTest

UnknownSigner tests a single prepare received with an unknown signer

func WrongData

func WrongData() tests.SpecTest

WrongData tests prepare msg with data != acceptedProposalData.Data

func WrongHeight

func WrongHeight() tests.SpecTest

WrongHeight tests prepare msg received with the wrong height

func WrongSignature

func WrongSignature() tests.SpecTest

WrongSignature tests a single prepare received with a wrong signature

Types

This section is empty.

Jump to

Keyboard shortcuts

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