-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Gossip simulator module #269
Conversation
…r.start() to have all message handlers in place when message exchange starts
…were draft and are not functional at the moment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Do I understand correctly, that schedulers were not referenced from anywhere inside module before?
> gradle :tools:simulator:run -PmainClass=<your.main.Class> [--args="you args"] | ||
``` | ||
|
||
For example to run the sample simulation use the command below: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple simulation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sample simple simulation :)
Schedulers were used by tests and JMH benchmark. Now also used by the simulator |
Ah.. I've finally found test using it. It's not broken, I see |
…Result instead of collecting them separately via Gossip API
I've added a number of changes: reactoring and cleaning up the simulator code only. |
Add Gossip simulator module.
libp2p.testFixtures
schedulers
package to a dedicated:tools:schedulers
module:tools:simulator
moduleio.libp2p.simulate.main
application
plugin applied in the module)README
and the reference from the mainREADME