Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuturePrePrepare ¶
type FuturePrePrepare struct {
// contains filtered or unexported fields
}
FuturePrePrepare tests a future pre-prepare msg (followed by prepare msg)
func (*FuturePrePrepare) MessagesSequence ¶
func (test *FuturePrePrepare) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all messages
func (*FuturePrePrepare) Prepare ¶
func (test *FuturePrePrepare) Prepare(t *testing.T)
Prepare prepares the test
type InvalidPrePrepareValue ¶
type InvalidPrePrepareValue struct {
// contains filtered or unexported fields
}
InvalidPrePrepareValue tests invalid pre-prepare value
func (*InvalidPrePrepareValue) MessagesSequence ¶
func (test *InvalidPrePrepareValue) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all messages
func (*InvalidPrePrepareValue) Name ¶
func (test *InvalidPrePrepareValue) Name() string
Name returns test name
func (*InvalidPrePrepareValue) Prepare ¶
func (test *InvalidPrePrepareValue) Prepare(t *testing.T)
Prepare prepares the test
func (*InvalidPrePrepareValue) Run ¶
func (test *InvalidPrePrepareValue) Run(t *testing.T)
Run runs the test
type NonJustifiedPrePrepapre1 ¶
type NonJustifiedPrePrepapre1 struct {
// contains filtered or unexported fields
}
NonJustifiedPrePrepapre1 tests coming to consensus after a non prepared change round
func (*NonJustifiedPrePrepapre1) MessagesSequence ¶
func (test *NonJustifiedPrePrepapre1) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all test messages
func (*NonJustifiedPrePrepapre1) Name ¶
func (test *NonJustifiedPrePrepapre1) Name() string
Name returns test name
func (*NonJustifiedPrePrepapre1) Prepare ¶
func (test *NonJustifiedPrePrepapre1) Prepare(t *testing.T)
Prepare prepares the test
func (*NonJustifiedPrePrepapre1) Run ¶
func (test *NonJustifiedPrePrepapre1) Run(t *testing.T)
Run runs the test
type NonJustifiedPrePrepapre2 ¶
type NonJustifiedPrePrepapre2 struct {
// contains filtered or unexported fields
}
NonJustifiedPrePrepapre2 tests coming to consensus after a non prepared change round
func (*NonJustifiedPrePrepapre2) MessagesSequence ¶
func (test *NonJustifiedPrePrepapre2) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all test messages
func (*NonJustifiedPrePrepapre2) Name ¶
func (test *NonJustifiedPrePrepapre2) Name() string
Name returns test name
func (*NonJustifiedPrePrepapre2) Prepare ¶
func (test *NonJustifiedPrePrepapre2) Prepare(t *testing.T)
Prepare prepares the test
func (*NonJustifiedPrePrepapre2) Run ¶
func (test *NonJustifiedPrePrepapre2) Run(t *testing.T)
Run runs the test
type NonJustifiedPrePrepapre3 ¶
type NonJustifiedPrePrepapre3 struct {
// contains filtered or unexported fields
}
NonJustifiedPrePrepapre3 tests non justified change round quorum (not prepared vs prepared state)
func (*NonJustifiedPrePrepapre3) MessagesSequence ¶
func (test *NonJustifiedPrePrepapre3) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all test messages
func (*NonJustifiedPrePrepapre3) Name ¶
func (test *NonJustifiedPrePrepapre3) Name() string
Name returns test name
func (*NonJustifiedPrePrepapre3) Prepare ¶
func (test *NonJustifiedPrePrepapre3) Prepare(t *testing.T)
Prepare prepares the test
func (*NonJustifiedPrePrepapre3) Run ¶
func (test *NonJustifiedPrePrepapre3) Run(t *testing.T)
Run runs the test
type Round1PrePrepare ¶
type Round1PrePrepare struct {
// contains filtered or unexported fields
}
Round1PrePrepare tests a simple round 1 pre-prepare msg
func (*Round1PrePrepare) MessagesSequence ¶
func (test *Round1PrePrepare) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all messages
func (*Round1PrePrepare) Prepare ¶
func (test *Round1PrePrepare) Prepare(t *testing.T)
Prepare prepares the test
type WrongLeaderPrePrepare ¶
type WrongLeaderPrePrepare struct {
// contains filtered or unexported fields
}
WrongLeaderPrePrepare tests wrong pre-prepare leader
func (*WrongLeaderPrePrepare) MessagesSequence ¶
func (test *WrongLeaderPrePrepare) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all messages
func (*WrongLeaderPrePrepare) Name ¶
func (test *WrongLeaderPrePrepare) Name() string
Name returns test name
func (*WrongLeaderPrePrepare) Prepare ¶
func (test *WrongLeaderPrePrepare) Prepare(t *testing.T)
Prepare prepares the test
func (*WrongLeaderPrePrepare) Run ¶
func (test *WrongLeaderPrePrepare) Run(t *testing.T)
Run runs the test