prepare

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PreparedAndDecideAfterChangeRound

type PreparedAndDecideAfterChangeRound struct {
	// contains filtered or unexported fields
}

PreparedAndDecideAfterChangeRound tests coming to consensus after preparing and then changing round.

func (*PreparedAndDecideAfterChangeRound) MessagesSequence

func (test *PreparedAndDecideAfterChangeRound) MessagesSequence(t *testing.T) []*proto.SignedMessage

MessagesSequence includes test messages

func (*PreparedAndDecideAfterChangeRound) Name

Name returns test name

func (*PreparedAndDecideAfterChangeRound) Prepare

func (test *PreparedAndDecideAfterChangeRound) Prepare(t *testing.T)

Prepare prepares the test

func (*PreparedAndDecideAfterChangeRound) Run

Run runs the test

type PreparedAtFutureRound

type PreparedAtFutureRound struct {
	// contains filtered or unexported fields
}

PreparedAtFutureRound tests receiving a quorum of prepare msgs in a different round than state round.

func (*PreparedAtFutureRound) MessagesSequence

func (test *PreparedAtFutureRound) MessagesSequence(t *testing.T) []*proto.SignedMessage

MessagesSequence includes all test messages

func (*PreparedAtFutureRound) Name

func (test *PreparedAtFutureRound) Name() string

Name returns test name

func (*PreparedAtFutureRound) Prepare

func (test *PreparedAtFutureRound) Prepare(t *testing.T)

Prepare prepares the test

func (*PreparedAtFutureRound) Run

func (test *PreparedAtFutureRound) Run(t *testing.T)

Run runs the test

Jump to

Keyboard shortcuts

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