-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
featureNew feature or requestNew feature or request
Description
Right now, the type of activity that we will simulate is determined by the sim-file:
activityspecified: run the user-defined set of activities.- No
activity: run random activity for all of thenodesprovided.
We should allow users to specify both random and defined activity to support more complicated use cases, while still preserving the "easy start" nature of just being able to specify nodes for random activity.
Suggested Sim File Interpretation
Random Activity - All Nodes
sim.json:
nodes {
A ...
B ...
}
Action: run default random activity on A and B.
Defined Activity
sim.json:
nodes {
A ...
B ....
}
activity{
A -> B 10 sats
}
Action: run only the defined activity specified between A and B.
Defined and Random Activity
sim.json:
nodes {
A ...
B ....
C ....
}
activity{
A -> B 10 sats
}
no_random{
B
}
Action: run defined activity specified between A and B and random activity between A and C.
Rationale for no_random is that I think the likely use case is specifying a few specific activity flows and then wanting those nodes to be excluded from the random activity.
Eg: Running a jamming simulation
- I want
DandEto run a jamming attack. - I don't want
DandEto send random payments. - I want all other nodes to be processing random payments, so I just set
DandEinno_random.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request