Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DuplicateMessages ¶
type DuplicateMessages struct {
// contains filtered or unexported fields
}
DuplicateMessages tests broadcasting duplicated messages handling, shouldn't affect consensus.
func (*DuplicateMessages) MessagesSequence ¶
func (test *DuplicateMessages) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all messages
func (*DuplicateMessages) Name ¶
func (test *DuplicateMessages) Name() string
Name returns test name
func (*DuplicateMessages) Prepare ¶
func (test *DuplicateMessages) Prepare(t *testing.T)
Prepare prepares the test
type InvalidSig ¶
type InvalidSig struct {
// contains filtered or unexported fields
}
InvalidSig tests processing msgs with wrong sig.
func (*InvalidSig) MessagesSequence ¶
func (test *InvalidSig) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all messages
func (*InvalidSig) Prepare ¶
func (test *InvalidSig) Prepare(t *testing.T)
Prepare prepares the test
type WrongSequenceNumber ¶
type WrongSequenceNumber struct {
// contains filtered or unexported fields
}
WrongSequenceNumber tests processing msgs with wrong seq number.
func (*WrongSequenceNumber) MessagesSequence ¶
func (test *WrongSequenceNumber) MessagesSequence(t *testing.T) []*proto.SignedMessage
MessagesSequence includes all messages
func (*WrongSequenceNumber) Name ¶
func (test *WrongSequenceNumber) Name() string
Name returns test name
func (*WrongSequenceNumber) Prepare ¶
func (test *WrongSequenceNumber) Prepare(t *testing.T)
Prepare prepares the test
func (*WrongSequenceNumber) Run ¶
func (test *WrongSequenceNumber) Run(t *testing.T)
Run runs the test
Click to show internal directories.
Click to hide internal directories.