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