Documentation
¶
Index ¶
- func CreateBlockCertificationRequest(t *testing.T, ir *types.InputRecord, partitionID types.PartitionID, ...) *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 RandomNodeID(t *testing.T) (string, []byte)
- type TestNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBlockCertificationRequest ¶
func CreateBlockCertificationRequest(t *testing.T, ir *types.InputRecord, partitionID types.PartitionID, node *TestNode) *certification.BlockCertificationRequest
func MockAwaitMessage ¶
func MockNetAwaitMultiple ¶
Types ¶
type TestNode ¶
type TestNode struct {
Signer crypto.Signer
Verifier crypto.Verifier
PeerConf *network.PeerConfiguration
}
func CreateTestNodes ¶
func NewTestNode ¶
Click to show internal directories.
Click to hide internal directories.