-
Notifications
You must be signed in to change notification settings - Fork 30
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 start/duration options to the defined activity configuration #168
Comments
I think this would be a very nice feature!
Small user-experience related question: WDTY about One thing we'd need to think about in the context of the project is handling shutdown if we have a set of these activitiesf and they all finish. Currently doing some refactoring in #164 to neaten up all of our shutdown mechanics, so it shouldn't be difficult (it should just be handled because the producer/consumer will drop, but just flagging it because we've got tasks flying all over the place and it's easy to lose track). |
Yes I like I will also check out #164 and make sure this effort fits into that refactor. Thanks! |
Sounds great! |
I am going to try to make this feature backwards compatible with older The The @carlaKC Any issues with that implementation? Trying to avoid making users re-create their simulation files. |
… to sim.json file
SGTM! |
… to sim.json file
Issue #168: Adding optional start and count values to sim.json file
Describe desired feature
Currently when you are defining specific activity you can only define an interval and amount. It would be helpful to be able to pick a start time and duration so that some nodes are sending transactions at different times throughout the simulation.
Use case for feature
For example:
This activity definition would tell Alice to send 2000 msats every second, starting 10 seconds after the simulation starts and ending after 30 seconds. In other words, Alice would send Bob 30 transactions between 10 and 40 seconds in the simulation.
Would you like to contribute code for this feature?
I am interested and hope to contribute toward this feature.
The text was updated successfully, but these errors were encountered: