-
Notifications
You must be signed in to change notification settings - Fork 19
Design simulation #25
Copy link
Copy link
Open
Labels
codeSpecific to the codeSpecific to the codedesignNeed designNeed designenhancementNew feature or requestNew feature or requestsimulationRelated to simulationRelated to simulationtestRelated to testsRelated to tests
Metadata
Metadata
Assignees
Labels
codeSpecific to the codeSpecific to the codedesignNeed designNeed designenhancementNew feature or requestNew feature or requestsimulationRelated to simulationRelated to simulationtestRelated to testsRelated to tests
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.Hostwith our self-definedSwarm(Network layer). This can be done by replacing them with go channels.Nodeinstances 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.