Documentation ¶
Index ¶
- type ChangeToRound2AndDecide
- type FullChangeRoundThePartialQuorumTheDecide
- func (test *FullChangeRoundThePartialQuorumTheDecide) MessagesSequence(t *testing.T) []*proto.SignedMessage
- func (test *FullChangeRoundThePartialQuorumTheDecide) Name() string
- func (test *FullChangeRoundThePartialQuorumTheDecide) Prepare(t *testing.T)
- func (test *FullChangeRoundThePartialQuorumTheDecide) Run(t *testing.T)
- type FuturePrePrepareAfterChangeRound
- type NotPreparedError
- type PartialQuorum
- type PreparedFollowedByPrePrepared
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeToRound2AndDecide ¶
type ChangeToRound2AndDecide struct {
// contains filtered or unexported fields
}
ChangeToRound2AndDecide tests coming to consensus after a non prepared change round
func (*ChangeToRound2AndDecide) MessagesSequence ¶
func (test *ChangeToRound2AndDecide) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all test messages
func (*ChangeToRound2AndDecide) Name ¶
func (test *ChangeToRound2AndDecide) Name() string
Name returns test name
func (*ChangeToRound2AndDecide) Prepare ¶
func (test *ChangeToRound2AndDecide) Prepare(t *testing.T)
Prepare prepares the test
func (*ChangeToRound2AndDecide) Run ¶
func (test *ChangeToRound2AndDecide) Run(t *testing.T)
Run runs the test
type FullChangeRoundThePartialQuorumTheDecide ¶
type FullChangeRoundThePartialQuorumTheDecide struct {
// contains filtered or unexported fields
}
FullChangeRoundThePartialQuorumTheDecide tests coming to consensus after an f+1 (after change round)
func (*FullChangeRoundThePartialQuorumTheDecide) MessagesSequence ¶
func (test *FullChangeRoundThePartialQuorumTheDecide) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all test messages
func (*FullChangeRoundThePartialQuorumTheDecide) Name ¶
func (test *FullChangeRoundThePartialQuorumTheDecide) Name() string
Name returns test name
func (*FullChangeRoundThePartialQuorumTheDecide) Prepare ¶
func (test *FullChangeRoundThePartialQuorumTheDecide) Prepare(t *testing.T)
Prepare prepares the test
func (*FullChangeRoundThePartialQuorumTheDecide) Run ¶
func (test *FullChangeRoundThePartialQuorumTheDecide) Run(t *testing.T)
Run runs the test
type FuturePrePrepareAfterChangeRound ¶
type FuturePrePrepareAfterChangeRound struct {
// contains filtered or unexported fields
}
FuturePrePrepareAfterChangeRound tests handling a pre-prepare msgs received before a change round happened
func (*FuturePrePrepareAfterChangeRound) MessagesSequence ¶
func (test *FuturePrePrepareAfterChangeRound) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all test messages
func (*FuturePrePrepareAfterChangeRound) Name ¶
func (test *FuturePrePrepareAfterChangeRound) Name() string
Name returns test name
func (*FuturePrePrepareAfterChangeRound) Prepare ¶
func (test *FuturePrePrepareAfterChangeRound) Prepare(t *testing.T)
Prepare prepares the test
func (*FuturePrePrepareAfterChangeRound) Run ¶
func (test *FuturePrePrepareAfterChangeRound) Run(t *testing.T)
Run runs the test
type NotPreparedError ¶
type NotPreparedError struct {
// contains filtered or unexported fields
}
NotPreparedError tests coming to consensus after a non prepared change round
func (*NotPreparedError) MessagesSequence ¶
func (test *NotPreparedError) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all test messages
func (*NotPreparedError) Prepare ¶
func (test *NotPreparedError) Prepare(t *testing.T)
Prepare prepares the test
type PartialQuorum ¶
type PartialQuorum struct {
// contains filtered or unexported fields
}
PartialQuorum tests partial round change behaviour
func (*PartialQuorum) MessagesSequence ¶
func (test *PartialQuorum) MessagesSequence(t *testing.T) [][]*proto.SignedMessage
MessagesSequence includes all test messages
func (*PartialQuorum) Prepare ¶
func (test *PartialQuorum) Prepare(t *testing.T)
Prepare prepares the test
type PreparedFollowedByPrePrepared ¶
type PreparedFollowedByPrePrepared struct {
// contains filtered or unexported fields
}
PreparedFollowedByPrePrepared tests a pre-prepare following a change round with justification of a previously prepared round
func (*PreparedFollowedByPrePrepared) MessagesSequence ¶
func (test *PreparedFollowedByPrePrepared) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all test messages
func (*PreparedFollowedByPrePrepared) Name ¶
func (test *PreparedFollowedByPrePrepared) Name() string
Name returns test name
func (*PreparedFollowedByPrePrepared) Prepare ¶
func (test *PreparedFollowedByPrePrepared) Prepare(t *testing.T)
Prepare prepares the test
func (*PreparedFollowedByPrePrepared) Run ¶
func (test *PreparedFollowedByPrePrepared) Run(t *testing.T)
Run runs the test