Versions in this module Expand all Collapse all v1 v1.3.6 Jun 29, 2023 Changes in this version + const DefaultNumNodes + var ErrSnapshotNotFound = errors.New("snapshot not found") + func NewDefaultConfig(binaryPath string) network.Config + func NewDefaultConfigNNodes(binaryPath string, numNodes uint32) (network.Config, error) + func NewDefaultNetwork(log logging.Logger, binaryPath string, reassignPortsIfUsed bool) (network.Network, error) + func NewNetwork(log logging.Logger, networkConfig network.Config, rootDir string, ...) (network.Network, error) + func NewNetworkFromSnapshot(log logging.Logger, snapshotName string, rootDir string, snapshotsDir string, ...) (network.Network, error) + type NodeProcess interface + Status func() status.Status + Stop func(ctx context.Context) int + type NodeProcessCreator interface + GetNodeVersion func(config node.Config) (string, error) + NewNodeProcess func(config node.Config, args ...string) (NodeProcess, error) + type TestMsg struct + func NewTestMsg(op message.Op, bytes []byte, bypassThrottling bool) *TestMsg + func (*TestMsg) BytesSavedCompression() int + func (m *TestMsg) BypassThrottling() bool + func (m *TestMsg) Bytes() []byte + func (m *TestMsg) Op() message.Op