package
3.1.3+incompatible
Repository: https://github.com/filecoin-project/mir.git
Documentation: pkg.go.dev
# Functions
NewDeployment returns a Deployment initialized according to the passed configuration.
No description provided by the author
No description provided by the author
NewLocalCryptoSystem creates an instance of LocalCryptoSystem suitable for tests.
No description provided by the author
No description provided by the author
NewLocalTransportLayer creates an instance of LocalTransportLayer suitable for tests.
NewLogger returns a new logger suitable for tests.
NewNodeIDs returns a slice of node ids of the given size suitable for testing.
NewSimTimerModule returns a Timer modules to be used in simulation.
No description provided by the author
No description provided by the author
# Constants
BaseListenPort defines the starting port number on which test replicas will be listening in case the test is being run with the "grpc" or "libp2p" setting for networking.
RequestListenPort is the port number on which nodes' RequestReceivers listen for incoming requests.
# Structs
The Deployment represents a list of replicas interconnected by a simulated network transport.
FakeApp represents a dummy stub application used for testing only.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SimNode represents a Mir node deployed in the simulation runtime.
No description provided by the author
Simulation represents a test deployment in the simulation runtime.
TestConfig contains the parameters of the deployment to be tested.
TestReplica represents one replica (that uses one instance of the mir.Node) in the test system.
# Interfaces
No description provided by the author
No description provided by the author
# Type aliases
EventDelayFn defines a function to provide event processing delay.
No description provided by the author