Skip to content

Commit 0169763

Browse files
committed
Add configuration setting to enable late IB inclusion
1 parent b4d9e3b commit 0169763

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

data/simulation/config.d.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export interface Config {
2424
"cleanup-policies": CleanupPolicies;
2525

2626
// Leios Protocol Configuration
27-
/** Only supported by Rust simulation. */
2827
"leios-variant": LeiosVariant;
2928
"leios-stage-length-slots": bigint;
3029
"leios-stage-active-voting-slots": bigint;
@@ -35,6 +34,12 @@ export interface Config {
3534
*
3635
* Only supported by Haskell simulation. */
3736
"leios-vote-send-recv-stages": boolean;
37+
/**
38+
* Extends Leios so that EB producers include IBs directly from previous pipelines
39+
* where no certified EB was observed.
40+
*
41+
* Only supported by Rust simulation. */
42+
"leios-late-ib-inclusion": boolean;
3843
/**
3944
* The expected time it takes a header to fully diffuse across the network.
4045
* This is Δhdr from the Leios paper.

data/simulation/config.default.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ leios-variant: short
2626
leios-stage-length-slots: 20
2727
leios-stage-active-voting-slots: 1
2828
leios-vote-send-recv-stages: false
29+
leios-late-ib-inclusion: false
2930
leios-header-diffusion-time-ms: 1000.0
3031
# TODO: revise default
3132
praos-chain-quality: 20

data/simulation/config.schema.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@
251251
"description": "The expected time it takes a header to fully diffuse across the network.\nThis is Δhdr from the Leios paper.",
252252
"type": "number"
253253
},
254+
"leios-late-ib-inclusion": {
255+
"description": "Extends Leios so that EB producers include IBs directly from previous pipelines\nwhere no certified EB was observed.\n\nOnly supported by Rust simulation.",
256+
"type": "boolean"
257+
},
254258
"leios-stage-active-voting-slots": {
255259
"additionalProperties": false,
256260
"properties": {},
@@ -262,8 +266,7 @@
262266
"type": "number"
263267
},
264268
"leios-variant": {
265-
"$ref": "#/definitions/LeiosVariant",
266-
"description": "Only supported by Rust simulation."
269+
"$ref": "#/definitions/LeiosVariant"
267270
},
268271
"leios-vote-send-recv-stages": {
269272
"description": "Determines whether a Leios pipeline has separate Vote (Send) and Vote (Recv) stages.\nIf this is set to `true`, it is recommended to set `leios-stage-active-voting-slots`\nto be equal to `leios-stage-length-slots`.\n\nOnly supported by Haskell simulation.",

0 commit comments

Comments
 (0)