You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/simulation/topology.schema.json
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,10 @@
26
26
"Node<Cluster>": {
27
27
"description": "A node.",
28
28
"properties": {
29
+
"adversarial": {
30
+
"$ref": "#/definitions/UnboundedIbs",
31
+
"description": "If not null, the node will behave according to the given Behaviour.\n\nOnly supported by Haskell simulation."
32
+
},
29
33
"cpu-core-count": {
30
34
"additionalProperties": false,
31
35
"properties": {},
@@ -51,6 +55,10 @@
51
55
"Node<Coord2D>": {
52
56
"description": "A node.",
53
57
"properties": {
58
+
"adversarial": {
59
+
"$ref": "#/definitions/UnboundedIbs",
60
+
"description": "If not null, the node will behave according to the given Behaviour.\n\nOnly supported by Haskell simulation."
61
+
},
54
62
"cpu-core-count": {
55
63
"additionalProperties": false,
56
64
"properties": {},
@@ -82,6 +90,25 @@
82
90
}
83
91
},
84
92
"type": "object"
93
+
},
94
+
"UnboundedIbs": {
95
+
"description": "A node that after some time stops respecting IB sortition and\ninstead starts generating old IBs every slot.\n\nOnly supported by Haskell simulation.",
96
+
"properties": {
97
+
"behaviour": {
98
+
"const": "unbounded-ibs",
99
+
"type": "string"
100
+
},
101
+
"ibs-per-slot": {
102
+
"type": "number"
103
+
},
104
+
"slot-of-generated-ibs": {
105
+
"type": "number"
106
+
},
107
+
"starting-at-slot": {
108
+
"type": "number"
109
+
}
110
+
},
111
+
"type": "object"
85
112
}
86
113
},
87
114
"description": "The topology for a Leios simulation.\n\nThe nodes in a topology may either specify their location as cluster names,\nwhich may be omitted, or as coordinates, but all nodes in the topology must\nuse the same kind of location.",
0 commit comments