Documentation
¶
Index ¶
- func CreateBlockCertificationRequest(t *testing.T, ir *types.InputRecord, sysID []byte, node *TestNode) *certification.BlockCertificationRequest
- func MockAwaitMessage[T any](t *testing.T, net *testnetwork.MockNet, msgType string) T
- func MockNetAwaitMultiple[T any](t *testing.T, net *testnetwork.MockNet, msgType string, nof int) []T
- func MockValidatorNetReceives(t *testing.T, net *testnetwork.MockNet, id peer.ID, msgType string, msg any)
- type TestNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBlockCertificationRequest ¶
func CreateBlockCertificationRequest(t *testing.T, ir *types.InputRecord, sysID []byte, node *TestNode) *certification.BlockCertificationRequest
func MockAwaitMessage ¶
func MockNetAwaitMultiple ¶
Types ¶
type TestNode ¶
func CreatePartitionNodesAndPartitionRecord ¶
func CreatePartitionNodesAndPartitionRecord(t *testing.T, ir *types.InputRecord, systemID []byte, nrOfValidators int) (partitionNodes []*TestNode, record *genesis.PartitionRecord)
func NewTestNode ¶
Click to show internal directories.
Click to hide internal directories.