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
Support configurable timestamp resolution in rust simulation (#404)
* sim-rs: add config settings for timestamp resolution
* sim-rs: use u64 instead of duration in timestamp
* sim-rs: support coarse-grained timestamps in network layer
* sim-rs: support configurable timestamp resolution
Copy file name to clipboardExpand all lines: data/simulation/config.schema.json
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -347,6 +347,10 @@
347
347
"description": "Only supported by Haskell simulation.",
348
348
"type": "boolean"
349
349
},
350
+
"timestamp-resolution-ms": {
351
+
"description": "The smallest unit of time to simulate, in fractions of a millisecond.\nOnly supported by Rust simulation.",
352
+
"type": "number"
353
+
},
350
354
"treat-blocks-as-full": {
351
355
"description": "When `true`, any delays and message sizes are calculated as if\neach block contained as much data as the expected average, rounded up.\nIn particular, for the sake of the above, we consider that:\n - Each RB includes a certificate.\n - Certificates contain votes from `vote-threshold` nodes.\n - Vote bundles vote for `ceil eb-generation-probability` EBs.\n - EBs reference `ceil (ib-generation-probability * leios-stage-length-slots)` IBs.\nOnly supported by Haskell simulation.",
0 commit comments