Design simulation #25
Labels
code
Specific to the code
design
Need design
enhancement
New feature or request
simulation
Related to simulation
test
Related to tests
What is wrong?
Currently, we only have the simulation of floodsub/gossipsub by jannikluhn. We should have one for the sharding-p2p layer.
How can it be fixed?
The simulation should be able to be done by
host.Host
with our self-definedSwarm
(Network layer). This can be done by replacing them with go channels.Node
instances in one processThe best situation is we should be able to switch to simulation mode by modifying as little code as possible
Edited: Added the link to mock components and example usages.
The text was updated successfully, but these errors were encountered: