Available on crate features
test-utils only.Expand description
Simulation framework for testing the protocol implementation
Structs§
- Network
- Test network implementation.
- Network
Config - Configuration for a
Network. - Network
Histograms - Histograms on the distribution of peers in the network.
- Network
Report - A report on the state of a
Network. - Round
Stats - Statistics for a gossip round.
- Round
Stats Avg - Summary values for a list of
RoundStats. - Round
Stats AvgDiff - Difference, in factors, between two
RoundStatsAvg - Round
Stats Diff - Difference (as factors) between two
RoundStats. - Simulator
- A simulator for the gossip protocol
- Simulator
Config - Configuration for the
Simulator.
Enums§
- Bootstrap
Mode - Variants how to bootstrap the swarm.
- Latency
Config - Configures the latency between peers.