{"id":24,"number":12,"title":"Dijkstra era parameters","body":null,"structured":{"type":"CAP","category":"Technical","abstract":"The Dijkstra hard fork introduces new updatable protocol parameters for reference-script protection, the Leios protocol and pool economics (CIP-0023 minimum pool margin, CIP-0050 maximum pledge leverage). Under the Constitution, a parameter that is not listed in Appendix I cannot be changed by a Parameter Update (PARAM-01). HARDFORK-05 requires every new updatable parameter introduced by a hard fork to be added to the Appendix with suitable guardrails. This amendment does exactly that: it names each new parameter, places it in the parameter group and on the critical-parameter list where the ledger implementation puts it, and defines its guardrails, with an updated Guardrails Script to enforce the checkable ones. It also makes the few changes to existing provisions that the new parameters require; the analysis lists each one.","motivation":"\nThe Dijkstra hard fork makes new protocol parameters updatable. Under the current Constitution, none of them can be changed. PARAM-01 says that any protocol parameter not explicitly named in Appendix I must not be changed by a Parameter Update action, and the Guardrails Script enforces this on-chain. Until the Constitution names them, every new parameter stays fixed at the value it was given in Dijkstra genesis, and the community has no way to adjust it.\n\nThat has practical consequences:\n\n- Reference-script protection. The transaction and block size limits, pricing stride and cost multiplier that protect the network against the denial-of-service attack of June 2024 have so far been fixed values in the ledger. Dijkstra makes them protocol parameters so they can be tuned, but they stay frozen until the Constitution lists them.\n- The Leios protocol. The parameters that set Endorser Block capacity, timing and the voting committee could not respond to measured network behaviour or growing demand.\n- Maximum pledge leverage (CIP-0050). It is introduced unset, so the feature does nothing at all until a governance action sets a first value. That action is only possible once the parameter is listed.\n- Minimum pool margin (CIP-0023). It is introduced at a value of 0, so it has no effect until a governance action sets its first positive value. That action is only possible once the parameter is listed.\n\nWhy the Constitution should change\n\nThe Constitution itself requires this amendment. HARDFORK-05 requires every new updatable parameter introduced by a hard fork to be included in Appendix I with suitable guardrails. NEW-CONSTITUTION-01a requires a New Constitution or Guardrails Script action to define them.\n\nUnlocking a parameter without bounds would be unsafe, because several of these parameters are critical to Cardano's security, throughput and denial-of-service resistance. The amendment therefore does three things for each new parameter:\n\n1. defines what it controls;\n2. places it in the parameter group the ledger assigns it, so that the correct DRep threshold applies and, for security-critical parameters, an SPO vote is required;\n3. sets guardrails, enforced by an updated Guardrails Script wherever they can be checked automatically.\n\nIt also makes the few changes to existing provisions that the new parameters require, each listed in the analysis.","analysis":"This amendment does two things. It meets the Constitution's mandate for the new parameters that the Dijkstra hard fork introduces. It allows the community to adjust the new features in measured steps through ordinary governance. To accommodate the new parameters, it also makes a few changes to existing provisions, each listed below.\n\nLeios shows how this works. The plan is to enter the Dijkstra era with conservative Leios parameters. Stake pool operators then have time to register their BLS keys, and load exercises on mainnet show how the network behaves under real conditions. On that evidence, the community can propose raising Leios capacity step by step. From then on, the community manages further changes through ordinary Parameter Updates, driven above all by demand. Each change of parameter settings requires a Parameter Update, and that is only possible once the Constitution lists the parameters and their guardrails. Without the amendment, PARAM-01 would freeze them at their genesis values.\n\nThe positive consequences:\n\n- Throughput can grow in measured steps, each backed by evidence, instead of being fixed at launch.\n- The reference-script protections, which become parameters for the first time, can be adjusted if attack patterns or costs change.\n- Maximum pledge leverage can be switched on, and the minimum pool margin can be given its first positive value, both through ordinary governance.\n- Every change stays within guardrails, and the Guardrails Script enforces those it can check.\n\nThe Constitution itself also asks for this change. HARDFORK-05 requires new updatable parameters introduced by a hard fork to be included in Appendix I with suitable guardrails, and NEW-CONSTITUTION-01a requires a New Constitution action to define them.\n\n**How governance changes**\n\n- Thresholds follow the ledger groups. Leios and the four newly governable reference-script parameters are in the network parameter group. The reference-script base fee stays in the economic group. All are critical to the operation of the blockchain, so updates require an SPO vote alongside DRep and Constitutional Committee approval. PARAM-04a calls for at least 90 days in normal circumstances between publication and on-chain submission, with an existing exception for Severity 1 or 2 network issues following careful technical discussion and evaluation. Minimum pool margin is economic and maximum pledge leverage is technical. Neither adds a security-group SPO vote.\n- Guardrails marked (y) are enforced on-chain by the Guardrails Script. Those marked (x) and (~) rely on the Constitutional Committee's judgement, as they do today.\n- **Leios rollout.** The plan starts at about twice Praos transaction-byte capacity. BLS key registration opens with the hard fork and has no deadline. Once the stake represented by registered BLS keys exceeds the configured quorum, mainnet load exercises can begin. SPOs will receive advance notice and may be asked to share logs and metrics. The results will be public. The first capacity increase targets about four to six times Praos transaction-byte capacity, subject to the evidence. A subsequent review will determine whether to increase capacity again.\n- **Capacity evidence.** NETWORK-03 requires benchmark results at submission for the resulting Endorser Block configuration, including concurrent changes. MEBTS-10 requires a published benchmark showing timely validation and the expected certification rate, with an explanation of how the test conditions represent mainnet. MEBTS-09 asks proposals to justify added capacity using observed utilisation, expected demand and SPO costs. The script-checkable quorum range is 68% to 90% of active stake, with 75% proposed for launch. When a proposal changes committee size or quorum, LCS-04 and LCS-07 require it to show at least 10 percentage points of seated-stake coverage above quorum under the prevailing stake distribution.\n- **Deactivation and restoration.** Under MEBTS-11, an enacted zero Endorser Block transaction limit temporarily deactivates Leios in response to a Leios-attributable issue that puts Cardano at risk. The proposal must identify who assessed the incident and explain the evidence for attribution and risk. Once the risk is resolved, a restoration proposal must be submitted without undue delay and explain why restarting is justified. The permitted settings are zero or 90,112 through 12,000,000 bytes inclusive. Positive settings must also satisfy the applicable benchmark requirements and the prevailing block-body and transaction floors. The restoration value should be at most 1,000,000 bytes above the last positive setting. The operational runbook still needs to be written and published.\n- **Reference-script protection.** The base fee floor is 15 lovelace per byte, the stride range is 20,480 to 25,600 bytes and the multiplier range is 1.2 to 1.25. A proposed stride decrease must quantify its fee impact on existing mainnet workloads and at the maximum permitted reference-script size per transaction. PARAM-08 applies when an update lowers the base fee or tier multiplier, increases the tier size, or raises a reference-script size limit. It requires the proposal to evaluate related changes together, show that nodes can process the resulting workloads within protocol deadlines with sufficient margin for variation in node performance and network conditions, and explain why the fees remain an adequate deterrent to denial of service.\n- **Pool economics.** MPM-04 sets a joint minimum whenever either pool fee changes. A zero minimum margin requires at least 170 ada of minimum pool cost. A zero minimum cost requires at least 4% minimum margin. For every resulting pair, (minimum pool cost in ada / 170) + (minimum pool margin as a fraction / 0.04) must be at least 1. MPM-01 and MPM-02 allow a minimum pool margin from 0% through 50%, inclusive, subject to MPM-04. Governance may set pledge leverage to a value from 1 to 10,000 inclusive or return it to null to remove the cap. MPL-05 recommends 18 epochs’ notice and a rewards impact analysis when pledge leverage is first set, lowered or unset.\n\n**Changes to existing provisions**\n\nThe amendment makes the following changes to existing provisions to accommodate the new parameters.\n\n- Block (Definitions). Sentences are appended explaining that, under the Leios protocol, a Block is also called a Ranking Block, and that \"Block\" means a Ranking Block, not an Endorser Block, unless stated otherwise. Definitions of Endorser Block, Leios Committee and Leios Certificate are added.\n- Reverting Changes (Appendix I, section 1). An update that only restores the previous setting, including null, can be exempt from notice, frequency and rate-of-change guardrails, including group rules, when the change caused security, performance, functionality or long-term sustainability problems. The proposal must give monitoring evidence or supporting analysis and explain why reverting is preferable.\n- Benchmarking (Appendix I, section 1). A sentence is appended: where the Leios protocol is active, Benchmarking must also show that Endorser Block diffusion and validation, and certified Endorser Block transmission, meet the timing requirements in LLS-01 and LLS-02, without degrading Block diffusion.\n- Protocol Parameters (Appendix I, section 1). A sentence is appended saying that some protocol parameters may be unset (null), and that what this means for a parameter is given in its description. *maxPledgeLeverage* is the first parameter a Parameter Update can set to null.\n- MPC-03 becomes MPC-03a. It links *minPoolCost* to *minPoolMargin* and the economic cost of operating a pool.\n- *minFeeRefScriptCoinsPerByte* is renamed *minFeeRefScriptCostPerByte*, the name the ledger uses, in its heading, its two list entries and its guardrails. Because their text changes, MFRS-01 to MFRS-04 become MFRS-01a to MFRS-04a. MFRS-01a makes the ceiling unit explicit. MFRS-05 to MFRS-09 are new.\n- NETWORK-02 becomes NETWORK-02a. All Leios parameters are in the network group, so the Leios parameters are declared directly correlated, with each other and with the Praos limits that set their floors, and may change together in one epoch when detailed benchmarking/simulation confirms the combined change.\n- PRME-02 becomes PRME-02a, changing a \"should\" to a \"must\" that the Guardrails Script checks. The Dijkstra ledger rejects a Parameter Update that sets *poolRetireMaxEpoch* to 0, under which no pool could retire, so the guardrail now matches the ledger.\n- **General parameter rules.** PARAM-07 follows PARAM-02a and requires each nullable parameter’s guardrails to say whether governance may set it to null. For notice and frequency purposes, setting a value to or from null counts as a change, subject to the reversion exemption.\n- **Governance lists.** Appendix I §§2.1 and 9 add the new parameters to the critical list where applicable and to their ledger governance groups. The proposal uses the existing voting thresholds.\n\nWhere a guardrail's text changes, its old label is retired and never reused, as Appendix I requires.\n\n**How we will know it worked**\n\n1. Before submission, the Guardrails Script passes a test suite covering every (y) guardrail. For each one, a value at the boundary is accepted and a value beyond it is rejected. Include acceptance at both inclusive quorum endpoints and rejection immediately outside them. For pledge leverage, check that null, 1 and 10,000 pass and numeric zero fails. For Endorser Block transaction capacity, check that 0, 90,112 and 12,000,000 bytes pass and that 1, 90,111 and 12,000,001 bytes fail.\n2. Before submission, a diff of the Guardrails Script configuration against the current one shows only the changes this amendment makes.\n3. On a public testnet, a Parameter Update that sets each new parameter within its bounds is accepted, and one outside its (y) bounds is rejected. Test that enacting zero deactivates Leios, Ranking Blocks continue carrying transactions, and restoring a valid positive value restarts Leios.\n4. After enactment, the constitution hash and Guardrails Script hash recorded on-chain match the published text and script.\n5. After the hard fork, the first Parameter Update for a new parameter is accepted by the Guardrails Script and ratified, without waiting for a further constitutional change.","impact":"","exhibits":"\n- [Dijkstra protocol-parameter specification and review discussion](https://hackmd.io/@eJKr9l7wQ6aU2PgNdrfgZg/Dijktstra-parameters)\n- [CIP-0164, Ouroboros Linear Leios](https://cips.cardano.org/cip/CIP-0164)\n- [Leios parameter graduation plan](https://leios.cardano-scaling.org/docs/parameter-graduation/)\n- [Leios benchmark, November 9](https://leios.cardano-scaling.org/benchmarks/leios-100k1m-374B-2026-11-09.html) — evidence from one tested configuration\n- [CIP-0023, Fair Min Fees](https://cips.cardano.org/cip/CIP-0023)\n- [CIP-0050, Pledge Leverage-Based Staking Rewards](https://cips.cardano.org/cip/CIP-0050)\n- [Cardano Ledger ADR-9, reference-script fees](https://github.com/IntersectMBO/cardano-ledger/blob/master/docs/adr/2024-08-14_009-refscripts-fee-change.md)\n- Dijkstra ledger implementation. [Protocol parameters](https://raw.githubusercontent.com/IntersectMBO/cardano-ledger/master/eras/dijkstra/impl/src/Cardano/Ledger/Dijkstra/PParams.hs) · [CDDL encoding](https://github.com/IntersectMBO/cardano-ledger/blob/master/eras/dijkstra/impl/cddl/data/dijkstra.cddl)\n- [CIP-1694, on-chain governance](https://cips.cardano.org/cip/CIP-1694)\n- [CIP-0120, constitution specification](https://cips.cardano.org/cip/CIP-0120)\n- [Guardrails Script implementation and tests](https://github.com/IntersectMBO/plutus/tree/master/cardano-constitution)\n- [Ratified Constitution and script repository](https://github.com/IntersectMBO/cardano-constitution/blob/main/README.md)","revisions":[{"original":"Block. A container of data produced by a Stake Pool that includes, at minimum, a header. Block production and block forging are used interchangeably.","proposed":"Block. A container of data produced by a Stake Pool that includes, at minimum, a header. Block production and block forging are used interchangeably. Under the Leios protocol, a Block is also referred to as a Ranking Block (RB), to distinguish it from an Endorser Block. Blocks form the chain exactly as before; under the Leios protocol a Block may additionally announce an Endorser Block and may include a Leios Certificate for a previously announced one. Unless expressly stated otherwise, the term Block refers to a Ranking Block and not to an Endorser Block.\n\nEndorser Block (EB). Under the Leios protocol, a supplementary block, produced by the same Stake Pool that produced the Ranking Block announcing it, which carries references to additional transactions (rather than the transactions themselves) in order to increase transaction throughput beyond what a Ranking Block can include directly. An Endorser Block is validated and voted on by the Leios Committee; its referenced transactions become part of the Cardano Blockchain only if it gathers sufficient votes to be certified and the resulting Leios Certificate is included in a subsequent Ranking Block. An Endorser Block that is not certified in time is discarded, and its transactions remain eligible for inclusion in later blocks.\n\nLeios Committee. The set of Stake Pools eligible to vote on Endorser Blocks during an epoch: the Stake Pools with the most active stake, up to the number set by *leiosCommitteeSize*, determined once per epoch.\n\nLeios Certificate. An aggregated cryptographic proof, composed of Leios Committee votes, that attests that votes representing at least *leiosQuorumStakeThreshold* of total active stake were cast for the same Endorser Block.","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 1. Introduction","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 1. Introduction › Terminology and Guidance"},{"original":"Protocol Parameters. Protocol settings that define how the Cardano Blockchain functions; modifiable through applicable governance processes.","proposed":"Protocol Parameters. Protocol settings that define how the Cardano Blockchain functions; modifiable through applicable governance processes. Some protocol parameters may be unset (null), meaning they have no value; what that means for a parameter is given in its description.","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 1. Introduction","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 1. Introduction › Terminology and Guidance"},{"original":"Benchmarking. Benchmarking refers to careful system level performance evaluation that is designed to show *a priori* that, for example, 95% of blocks will be diffused across a global network of Cardano Blockchain nodes within the required 5s time interval in all cases. This may require construction of specific test workflows and execution on a large test network of Cardano Blockchain nodes, simulating a global Cardano Blockchain network.","proposed":"Benchmarking. Benchmarking refers to careful system level performance evaluation that is designed to show *a priori* that, for example, 95% of blocks will be diffused across a global network of Cardano Blockchain nodes within the required 5s time interval in all cases. This may require construction of specific test workflows and execution on a large test network of Cardano Blockchain nodes, simulating a global Cardano Blockchain network. Where the Leios protocol is active, Benchmarking must also show that Endorser Block diffusion and validation, and certified Endorser Block transmission, meet the timing requirements in LLS-01 and LLS-02, without degrading Block diffusion.","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 1. Introduction","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 1. Introduction › Terminology and Guidance"},{"original":"Reverting Changes. Where performance monitoring shows that actual network behavior following a change is inconsistent with the performance requirements for the Cardano Blockchain, then the change must be reverted to its previous state if that is possible. For example, if the block size is increased from 100KB to 120KB and 95% of blocks are no longer diffused within 5s, then a change must be made to revert the block size to 100KB. If this is not possible, then one or more alternative changes must be made that will ensure that the performance requirements are met.","proposed":"Reverting Changes. Where performance monitoring shows that actual network behavior following a change is inconsistent with the performance requirements for the Cardano Blockchain, then the change must be reverted to its previous state if that is possible. For example, if the block size is increased from 100KB to 120KB and 95% of blocks are no longer diffused within 5s, then a change must be made to revert the block size to 100KB. If this is not possible, then one or more alternative changes must be made that will ensure that the performance requirements are met. A Parameter Update that only reverts a parameter to its previous value, including returning it to null where it was previously unset, is exempt from the notice, frequency and rate-of-change guardrails that apply to that parameter when the change being reverted has caused problems with security, performance, functionality or long-term sustainability. These include the guardrails set for a list or group the parameter belongs to. Such a Parameter Update must be accompanied by monitoring evidence or supporting analysis of those problems, and of why reverting the change is the better course.","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 1. Introduction","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 1. Introduction › Terminology and Guidance"},{"type":"addition","insert_after":"PARAM-02a (y) Where a protocol parameter is explicitly listed in this document but no checkable Guardrails are specified, the Guardrails Script must not impose any constraints on changes to the parameter. Checkable Guardrails are shown by a (y)","proposed":"PARAM-07 (y) Notwithstanding PARAM-02a, where the ledger allows a protocol parameter to be set to null (unset), its guardrails must state whether a \"Parameter Update\" action may set it to null. If they don't, the Guardrails Script must reject the action. Guardrails that bound the parameter's value apply only when a value is set. Setting a parameter to null, or from null to a value, counts as a change for all notice and frequency guardrails, except for a reversion under Reverting Changes (section 1).","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2. Guardrails and Guidelines on \"Parameter Update\" actions","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2. Guardrails and Guidelines on \"Parameter Update\" actions › GUARDRAILS"},{"original":"- *maximum script execution/memory units in a single block* (*maxBlockExecutionUnits[steps/memory]*)\n\n- *minimum fee coefficient* (*txFeePerByte*)\n\n- *minimum fee constant* (*txFeeFixed*)\n\n- *minimum fee per byte for reference scripts* (*minFeeRefScriptCoinsPerByte*)","proposed":"- *maximum script execution/memory units in a single block* (*maxBlockExecutionUnits[steps/memory]*)\n\n- *minimum fee coefficient* (*txFeePerByte*)\n\n- *minimum fee constant* (*txFeeFixed*)\n\n- *minimum fee per byte for reference scripts* (*minFeeRefScriptCostPerByte*)","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.1. Critical Protocol Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.1. Critical Protocol Parameters › Parameters that are Critical to the Operation of the Blockchain"},{"type":"addition","insert_after":"- *minimum lovelace deposit per byte of serialized UTxO* (*utxoCostPerByte*)\n\n- *governance action deposit* (*govDeposit*)","proposed":"- *maximum Endorser Block size* (*maxEndorserBlockReferencesSize*)\n\n- *maximum total transaction size per Endorser Block* (*maxEndorserBlockTxsSize*)\n\n- *maximum reference script size per Endorser Block* (*maxRefScriptSizePerEndorserBlock*)\n\n- *maximum Plutus memory and steps per Endorser Block* (*maxEndorserBlockExecutionUnits[memory/steps]*)\n\n- *Leios header diffusion period length* (*leiosAnnouncementPeriodLength*)\n\n- *Leios voting period length* (*leiosVotePeriodLength*)\n\n- *Leios diffusion period length* (*leiosDiffusionPeriodLength*)\n\n- *Leios committee size* (*leiosCommitteeSize*)\n\n- *Leios quorum stake threshold* (*leiosQuorumStakeThreshold*)\n\n- *maximum reference script size per transaction* (*maxRefScriptSizePerTx*)\n\n- *maximum reference script size per block* (*maxRefScriptSizePerBlock*)\n\n- *reference script cost stride* (*refScriptCostStride*)\n\n- *reference script cost multiplier* (*refScriptCostMultiplier*)","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.1. Critical Protocol Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.1. Critical Protocol Parameters › Parameters that are Critical to the Operation of the Blockchain"},{"original":"MPC-03 (x - \"should\") *minPoolCost* should be set in line with the economic cost for operating a pool","proposed":"MPC-03a (x - \"should\") *minPoolCost* should be set in conjunction with *minPoolMargin*, considering the economic cost of operating a pool.\n\n#### Minimum Pool Margin (minPoolMargin)\n\nPart of the rewards mechanism. Defines the lower bound for the pool margin (variable fee), that is, the minimum allowable percentage of rewards a pool can take. Introduced by CIP-0023, it complements *minPoolCost*, the fixed-fee floor. It is a fraction between 0 and 1.\n\nPool registration and update certificates with a lower margin remain valid: if a pool's registered margin is less than *minPoolMargin*, then *minPoolMargin* overrides the pool's registered margin during the reward calculation. The parameter is introduced with the Dijkstra hard fork at a value of 0. Governance may subsequently set or restore a zero margin when *minPoolCost* is at least 170 ada.\n\nAt a zero minimum margin, the minimum pool cost must be at least 170 ada. At a zero minimum pool cost, the minimum margin must be at least 4%. MPM-04 sets the minimum for intermediate combinations.\n\n##### GUARDRAILS\n\nMPM-01 (y) *minPoolMargin* must not be negative\n\nMPM-02 (y) *minPoolMargin* must not exceed 0.5 (50%)\n\nMPM-03 (x - \"should\") *minPoolMargin* should be set in conjunction with *minPoolCost*, considering both delegator rewards and the economic viability of operating a pool\n\nMPM-04 (~ - no access to existing parameter values) A Parameter Update that changes *minPoolCost*, *minPoolMargin*, or both must leave the resulting values satisfying the following constraint, with *minPoolCost* expressed in ada and *minPoolMargin* expressed as a fraction between 0 and 1:\n\n(*minPoolCost* / 170) + (*minPoolMargin* / 0.04) ≥ 1\n\nMPM-05 (x - \"should\") An increase to *minPoolMargin* should be announced at least 18 epochs (approximately 3 months) in advance, together with an analysis of the effect on pool and delegator rewards\n\nMPM-06 (~ - no access to change history) *minPoolMargin* must not be changed more than once in any 36-epoch period (approximately 6 months)","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.2. Economic Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.2. Economic Parameters › Minimum Pool Cost (minPoolCost) › GUARDRAILS"},{"original":"#### Plutus Script Execution Prices (executionUnitPrices[priceSteps/priceMemory])","proposed":"#### Plutus Execution Prices (executionUnitPrices[priceSteps/priceMemory])","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.2. Economic Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.2. Economic Parameters › Plutus Script Execution Prices (executionUnitPrices[priceSteps/priceMemory])"},{"original":"#### Transaction fee per byte for a reference script (minFeeRefScriptCoinsPerByte)\n\nDefines the cost for using Plutus reference scripts in lovelace","proposed":"#### Reference script fee per byte (minFeeRefScriptCostPerByte)\n\nThe base (tier-1) fee, in lovelace per byte, for using Plutus reference scripts in a transaction.\n\nIt is never zero, since a zero base rate makes the whole reference-script tiered fee zero and removes its denial-of-service protection.","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.2. Economic Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.2. Economic Parameters › Transaction fee per byte for a reference script (minFeeRefScriptCoinsPerByte)"},{"original":"MFRS-01 (y) *minFeeRefScriptCoinsPerByte* must not exceed 1,000 (0.001 ada)","proposed":"MFRS-01a (y) *minFeeRefScriptCostPerByte* must not exceed 1,000 lovelace per byte (0.001 ada per byte)","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.2. Economic Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.2. Economic Parameters › Transaction fee per byte for a reference script (minFeeRefScriptCoinsPerByte) › GUARDRAILS"},{"original":"MFRS-02 (y) *minFeeRefScriptCoinsPerByte* must not be negative\n\nMFRS-03 (x - \"should\") To maintain a consistent level of protection against denial-of-service attacks, *minFeeRefScriptCoinsPerByte* should be adjusted whenever Plutus Execution prices are adjusted (*executionUnitPrices[steps/memory]*) and whenever *txFeeFixed* is adjusted\n\nMFRS-04 (x - \"unquantifiable\") Any changes to *minFeeRefScriptCoinsPerByte* must consider the implications of reducing the cost of a denial-of-service attack or increasing the maximum transaction fee","proposed":"MFRS-02a (y) *minFeeRefScriptCostPerByte* must not be negative\n\nMFRS-03a (x - \"should\") To maintain a consistent level of protection against denial-of-service attacks, *minFeeRefScriptCostPerByte* should be adjusted whenever Plutus Execution prices are adjusted (*executionUnitPrices[steps/memory]*) and whenever *txFeeFixed* is adjusted\n\nMFRS-04a (x - \"unquantifiable\") Any changes to *minFeeRefScriptCostPerByte* must consider the implications of reducing the cost of a denial-of-service attack or increasing the maximum transaction fee\n\nMFRS-05 (y) *minFeeRefScriptCostPerByte* must not be zero\n\nMFRS-06 (x) *minFeeRefScriptCostPerByte* × *maxRefScriptSizePerBlock* must not be lower than the per-block denial-of-service cost established by detailed benchmarking/simulation\n\nMFRS-07 (x) *minFeeRefScriptCostPerByte* × *maxRefScriptSizePerEndorserBlock* must not be lower than the per-Endorser-Block denial-of-service cost established by detailed benchmarking/simulation\n\nMFRS-08 (y) *minFeeRefScriptCostPerByte* must not be lower than 15 lovelace per byte\n\nMFRS-09 (~ - no access to existing parameter values) *minFeeRefScriptCostPerByte* must not exceed *txFeePerByte*","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.2. Economic Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.2. Economic Parameters › Transaction fee per byte for a reference script (minFeeRefScriptCoinsPerByte) › GUARDRAILS"},{"original":"NETWORK-02 (x - \"should\") Only one network parameter should be changed per epoch unless they are directly correlated, e.g., per-transaction and per-block memory unit limits","proposed":"NETWORK-02a (x - \"should\") Only one network parameter should be changed per epoch unless they are directly correlated, e.g., per-transaction and per-block memory unit limits. The Leios parameters are directly correlated with each other, and with the Praos limits that set their floors, and may be changed together in one epoch when detailed benchmarking/simulation confirm the combined change.\n\nNETWORK-03 (x - \"unquantifiable\") A \"Parameter Update\" action that increases *maxEndorserBlockReferencesSize*, *maxEndorserBlockTxsSize*, *maxRefScriptSizePerEndorserBlock* or *maxEndorserBlockExecutionUnits* (*memory* or *steps*) must include or reference benchmark results when it is submitted on-chain. The benchmarks must evaluate the Endorser Block configuration that would result from the action, including any concurrent changes to related parameters in that action. One benchmark may support multiple increases in the same action if it demonstrates compliance with the applicable Guardrails for each increase. Simulation may supplement the benchmarks.","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.3. Network Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.3. Network Parameters › Core Metrics › GUARDRAILS"},{"original":"#### Memory Unit Limits (maxBlockExecutionUnits[memory], maxTxExecutionUnits[memory])","proposed":"#### Memory Limits (maxBlockExecutionUnits[memory], maxTxExecutionUnits[memory])","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.3. Network Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.3. Network Parameters › Memory Unit Limits (maxBlockExecutionUnits[memory], maxTxExecutionUnits[memory])"},{"type":"addition","insert_after":"MBHS-05 (x - \"should\") *maxBlockHeaderSize* should be within TCP's initial congestion window (3 or 10 MTUs)","proposed":"#### Maximum Endorser Block Size (maxEndorserBlockReferencesSize)\n\nThe maximum size, in bytes, of an Endorser Block itself: the list of transaction references it carries, not the transactions those references point to. It limits Endorser Block size to ensure timely diffusion, and prevents issues with many small transactions. CIP-0164 calls this the maximum endorser block size; the parameter is named after what it bounds, the list of transaction references.\n\n##### GUARDRAILS\n\nMEBRS-01 (y) *maxEndorserBlockReferencesSize* must not be negative\n\nMEBRS-02 (y) *maxEndorserBlockReferencesSize* must not be lower than 15,000 bytes\n\nMEBRS-03 (y) *maxEndorserBlockReferencesSize* must not exceed 600,000 bytes\n\nMEBRS-04 (x - \"should\") *maxEndorserBlockReferencesSize* should be large enough to reference transactions filling *maxEndorserBlockTxsSize*, given the expected transaction sizes\n\nMEBRS-05 (x - \"unquantifiable\") Any increase to *maxEndorserBlockReferencesSize* must be confirmed by detailed benchmarking/simulation showing that LLS-01 continues to hold\n\nMEBRS-06 (x - \"should\") *maxEndorserBlockReferencesSize* should be changed by at most 120,000 bytes per epoch (5 days)\n\nMEBRS-07 (y) *maxEndorserBlockReferencesSize* must not be zero\n\nMEBRS-08 (x - exceptional circumstances) *maxEndorserBlockReferencesSize* must not be decreased, other than in exceptional circumstances where there are potential problems with security, performance, functionality or long-term sustainability\n\n#### Maximum Total Transaction Size per Endorser Block (maxEndorserBlockTxsSize)\n\nThe maximum total size, in bytes, of the transactions that can be endorsed by a single Endorser Block. It limits the total transaction payload so that an Endorser Block and its transactions can diffuse and be validated before voting on it closes. It does not change the maximum size of individual transactions: *maxTxSize* remains unchanged and continues to limit individual transaction sizes.\n\nSetting this parameter to zero temporarily deactivates Leios upon enactment, as provided in MEBTS-11. A positive setting is never lower than *maxTxSize*, so that any valid transaction can be endorsed by an Endorser Block.\n\n##### GUARDRAILS\n\nMEBTS-01 (y) *maxEndorserBlockTxsSize* must not be negative\n\nMEBTS-02 (~ - no access to existing parameter values) When *maxEndorserBlockTxsSize* is positive, it must be at least *maxBlockBodySize*\n\nMEBTS-03 (y) *maxEndorserBlockTxsSize* must not exceed 12,000,000 bytes\n\nMEBTS-04 (~ - no access to existing parameter values) When *maxEndorserBlockTxsSize* is positive, it must not be lower than *maxTxSize*\n\nMEBTS-05 (x - \"unquantifiable\") A change that sets *maxEndorserBlockTxsSize* to a positive value must be confirmed by detailed benchmarking/simulation demonstrating:\n\n1. That reapplying a certified Endorser Block at the proposed transaction-size limit takes at most the time allotted for transaction validation during standard Praos Ranking Block processing\n\n2. That the resulting network bandwidth requirements remain within the capabilities of the Stake Pool Operator community\n\nMEBTS-06 (x - \"should\") Between positive settings, *maxEndorserBlockTxsSize* should be changed by at most 1,000,000 bytes per epoch (5 days)\n\nMEBTS-07 (x - exceptional circumstances) *maxEndorserBlockTxsSize* must not be decreased, other than in exceptional circumstances where there are potential problems with security, performance, functionality or long-term sustainability\n\nMEBTS-08 (y) *maxEndorserBlockTxsSize* must be either zero or at least 90,112 bytes\n\nMEBTS-09 (x - \"should\") A proposal to increase *maxEndorserBlockTxsSize* from a positive setting should explain why the additional capacity is warranted, considering observed utilisation, expected demand and the cost to Stake Pool Operators. A proposal to restore a value above the last positive setting before deactivation should provide the same explanation for the additional capacity.\n\nMEBTS-10 (x) A governance action to increase *maxEndorserBlockTxsSize* must be supported by a published benchmark showing that Endorser Blocks at the proposed setting are validated within the voting window and certified at the expected rate. The benchmark report must describe the ledger state, workload and network conditions used and explain how they represent the mainnet conditions relevant to validation and certification.\n\nMEBTS-11 (x) *maxEndorserBlockTxsSize* may be set to zero only to deactivate Leios temporarily in response to an issue attributable to Leios that puts the liveness, security or normal operation of Cardano at risk. The deactivation proposal must identify who assessed the incident and explain the evidence for attributing the issue to Leios and concluding that it puts Cardano at risk. Once that risk is resolved, a Parameter Update restoring a positive value must be submitted without undue delay. The restoration proposal must explain the basis for concluding that the risk has been resolved. The proposed restoration value should be no more than 1,000,000 bytes above the last positive value before deactivation.\n\n#### Endorser Block Reference Script Size (maxRefScriptSizePerEndorserBlock)\n\nThe maximum total size, in bytes, of reference scripts used by the transactions endorsed by a single Endorser Block. It is the Endorser Block analogue of *maxRefScriptSizePerBlock*: it bounds the script bytes that must be loaded from the UTxO and evaluated per Endorser Block, which the Endorser Block's own size does not account for.\n\nIt is never lower than *maxRefScriptSizePerTx*, so that any valid transaction can be included in an Endorser Block.\n\n##### GUARDRAILS\n\nMRSEB-01 (y) *maxRefScriptSizePerEndorserBlock* must not be negative\n\nMRSEB-02 (y) *maxRefScriptSizePerEndorserBlock* must not be zero\n\nMRSEB-03 (y) *maxRefScriptSizePerEndorserBlock* must not exceed 30,000,000 bytes\n\nMRSEB-04 (~ - no access to existing parameter values) *maxRefScriptSizePerEndorserBlock* must not be lower than *maxRefScriptSizePerBlock*\n\nMRSEB-05 (~ - no access to existing parameter values) *maxRefScriptSizePerEndorserBlock* must not be lower than *maxRefScriptSizePerTx*\n\nMRSEB-06 (x - \"unquantifiable\") Any increase to *maxRefScriptSizePerEndorserBlock* must be confirmed by detailed benchmarking/simulation demonstrating that, with an Endorser Block using all the reference-script bytes this limit allows, LLS-01 continues to hold\n\nMRSEB-07 (x - \"should\") *maxRefScriptSizePerEndorserBlock* should be changed by at most 8,000,000 bytes per epoch (5 days)\n\nMRSEB-08 (x - exceptional circumstances) *maxRefScriptSizePerEndorserBlock* must not be decreased, other than in exceptional circumstances where there are potential problems with security, performance, functionality or long-term sustainability\n\nMRSEB-09 (y) *maxRefScriptSizePerEndorserBlock* must not be lower than 1,048,576 bytes\n\n#### Endorser Block Memory Unit Limits (maxEndorserBlockExecutionUnits[memory])\n\nThe maximum memory allowed for Plutus scripts in a single Endorser Block. It limits memory resources per Endorser Block to ensure timely validation. It is a per-Endorser-Block limit, distinct from the per-block limit (*maxBlockExecutionUnits[memory]*) and the per-transaction limit (*maxTxExecutionUnits[memory]*), which are unchanged. The memory and steps limits are carried together as a single parameter, so an update to either carries both.\n\nIt is never lower than *maxTxExecutionUnits[memory]*, so that any valid transaction can be endorsed by an Endorser Block. It is set together with *maxEndorserBlockExecutionUnits[steps]*, so that an Endorser Block using both limits in full still satisfies LLS-01.\n\n##### GUARDRAILS\n\nMEBEU-M-01 (y) *maxEndorserBlockExecutionUnits[memory]* must not be negative\n\nMEBEU-M-02 (~ - no access to existing parameter values) *maxEndorserBlockExecutionUnits[memory]* must be at least *maxBlockExecutionUnits[memory]*\n\nMEBEU-M-03 (y) *maxEndorserBlockExecutionUnits[memory]* must not exceed 7,000,000,000 units\n\nMEBEU-M-04 (~ - no access to existing parameter values) *maxEndorserBlockExecutionUnits[memory]* must not be lower than *maxTxExecutionUnits[memory]*\n\nMEBEU-M-05 (x - \"unquantifiable\") Any change to *maxEndorserBlockExecutionUnits[memory]* must be confirmed by detailed benchmarking/simulation demonstrating that, with an Endorser Block using all the memory this limit allows, LLS-01 continues to hold, and reapplying it once certified takes less than the standard Praos transaction validation time for Ranking Block processing\n\nMEBEU-M-06 (x - \"should\") *maxEndorserBlockExecutionUnits[memory]* should be set together with *maxEndorserBlockExecutionUnits[steps]*\n\nMEBEU-M-07 (x - \"should\") *maxEndorserBlockExecutionUnits[memory]* should be changed by at most 1,800,000,000 units per epoch (5 days)\n\nMEBEU-M-08 (y) *maxEndorserBlockExecutionUnits[memory]* must not be zero\n\nMEBEU-M-09 (x - exceptional circumstances) *maxEndorserBlockExecutionUnits[memory]* must not be decreased, other than in exceptional circumstances where there are potential problems with security, performance, functionality or long-term sustainability\n\nMEBEU-M-10 (y) *maxEndorserBlockExecutionUnits[memory]* must not be lower than 72,000,000 units\n\n#### Endorser Block CPU Unit Limits (maxEndorserBlockExecutionUnits[steps])\n\nThe maximum computational steps allowed for Plutus scripts in a single Endorser Block. It limits computational resources per Endorser Block to ensure timely validation. It is a per-Endorser-Block limit, distinct from the per-block limit (*maxBlockExecutionUnits[steps]*) and the per-transaction limit (*maxTxExecutionUnits[steps]*), which are unchanged.\n\nIt is never lower than *maxTxExecutionUnits[steps]*, so that any valid transaction can be endorsed by an Endorser Block. It is set together with *maxEndorserBlockExecutionUnits[memory]*, so that an Endorser Block using both limits in full still satisfies LLS-01.\n\n##### GUARDRAILS\n\nMEBEU-S-01 (y) *maxEndorserBlockExecutionUnits[steps]* must not be negative\n\nMEBEU-S-02 (~ - no access to existing parameter values) *maxEndorserBlockExecutionUnits[steps]* must be at least *maxBlockExecutionUnits[steps]*\n\nMEBEU-S-03 (y) *maxEndorserBlockExecutionUnits[steps]* must not exceed 2,000,000,000,000 units\n\nMEBEU-S-04 (~ - no access to existing parameter values) *maxEndorserBlockExecutionUnits[steps]* must not be lower than *maxTxExecutionUnits[steps]*\n\nMEBEU-S-05 (x - \"unquantifiable\") Any change to *maxEndorserBlockExecutionUnits[steps]* must be confirmed by detailed benchmarking/simulation demonstrating that, with an Endorser Block using all the steps this limit allows, LLS-01 continues to hold, and reapplying it once certified takes less than the standard Praos transaction validation time for Ranking Block processing\n\nMEBEU-S-06 (x - \"should\") *maxEndorserBlockExecutionUnits[steps]* should be set together with *maxEndorserBlockExecutionUnits[memory]*\n\nMEBEU-S-07 (x - \"should\") *maxEndorserBlockExecutionUnits[steps]* should be changed by at most 450,000,000,000 units per epoch (5 days)\n\nMEBEU-S-08 (y) *maxEndorserBlockExecutionUnits[steps]* must not be zero\n\nMEBEU-S-09 (x - exceptional circumstances) *maxEndorserBlockExecutionUnits[steps]* must not be decreased, other than in exceptional circumstances where there are potential problems with security, performance, functionality or long-term sustainability\n\nMEBEU-S-10 (y) *maxEndorserBlockExecutionUnits[steps]* must not be lower than 20,000,000,000 units\n\n#### Leios Timing Parameters\n\nThe three Leios timing parameters below, the header diffusion period length (L_hdr, *leiosAnnouncementPeriodLength*), the voting period length (L_vote, *leiosVotePeriodLength*) and the diffusion period length (L_diff, *leiosDiffusionPeriodLength*), are expressed in milliseconds. Voting on an Endorser Block starts 3 × L_hdr after the Block announcing it and lasts L_vote. A Leios Certificate for that Endorser Block can be included in a Block no earlier than 3 × L_hdr + L_vote + L_diff after it was announced; that total is converted to a whole number of slots by dividing it by the slot length and rounding up.\n\nThe parameters are tightly coupled through the guardrails below, so a change to any one of them must be evaluated against the values of the other two. They may nevertheless be changed individually or together: the guardrails are conditions on the values that result from a change, not a requirement to change all three.\n\nThe joint guardrails ensure that Leios Committee members can receive and validate an Endorser Block before voting on it ends, and that every honest node receives a certified Endorser Block in time to process a Block that includes its certificate within the Block diffusion time. Larger Endorser Blocks take longer to diffuse, so changes to the Endorser Block limits are checked against these guardrails too.\n\nThey also keep the total, in slots, below the expected number of slots between Blocks. Intervals between Blocks are random, so the longer this total, the larger the share of Blocks produced before a certificate can be included.\n\nThe guardrails refer to the following measured characteristics of the network and the ledger. They are not protocol parameters: each is established by detailed benchmarking/simulation, and may change as the network evolves.\n\n- *Endorser Block diffusion time*: the time for an Endorser Block to be transmitted and validated network-wide under favourable network conditions, as defined through testnet validation\n\n- *certified Endorser Block transmission time*: the worst-case time for a certified Endorser Block to reach all honest nodes, starting from the stake that voted for it\n\n- *Block diffusion time*: the time for a Block to propagate and be adopted network-wide\n\n- *transaction validation time*: the standard Praos transaction validation time for Ranking Block processing\n\n##### GUARDRAILS\n\nLLS-01 (x) 3 × *leiosAnnouncementPeriodLength* + *leiosVotePeriodLength* must exceed the Endorser Block diffusion time. This must continue to hold after any change to the timing parameters or to *maxEndorserBlockReferencesSize*, *maxEndorserBlockTxsSize*, *maxEndorserBlockExecutionUnits* or *maxRefScriptSizePerEndorserBlock*\n\nLLS-02 (x) 3 × *leiosAnnouncementPeriodLength* + *leiosVotePeriodLength* + *leiosDiffusionPeriodLength* + (Block diffusion time − transaction validation time) must exceed the certified Endorser Block transmission time\n\nLLS-03 (~ - no access to existing parameter values) 3 × *leiosAnnouncementPeriodLength* + *leiosVotePeriodLength* + *leiosDiffusionPeriodLength*, converted to a whole number of slots by dividing it by the slot length and rounding up, must be lower than 1 divided by the active slot coefficient, the expected number of slots between Blocks. At the current active slot coefficient of 0.05 and slot length of one second, the total must not exceed 19 seconds. This joint limit applies in addition to the individual ceilings in LAPL-02, LVPL-02 and LDPL-02.\n\n#### Leios Header Diffusion Period Length (leiosAnnouncementPeriodLength)\n\nThe duration, in milliseconds, for Block headers to propagate network-wide (L_hdr). It must accommodate header propagation for equivocation detection: voting starts three header diffusion periods after a Block announces an Endorser Block, one for each of initial header propagation, conflicting header propagation and equivocation evidence propagation.\n\n##### GUARDRAILS\n\nLAPL-01 (y) *leiosAnnouncementPeriodLength* must not be lower than 500 milliseconds\n\nLAPL-02 (y) *leiosAnnouncementPeriodLength* must not exceed 2,000 milliseconds\n\nLAPL-03 (y) *leiosAnnouncementPeriodLength* must not be negative\n\nLAPL-04 (x) *leiosAnnouncementPeriodLength* must exceed the time it takes a Block header to propagate network-wide, with headroom for adverse network conditions, as measured by detailed benchmarking/simulation\n\nLAPL-05 (x) Any change to *leiosAnnouncementPeriodLength* must be evaluated together with the values of *leiosVotePeriodLength* and *leiosDiffusionPeriodLength* that will apply alongside it, and validated via simulation against LLS-01 to LLS-03. The three parameters may be changed individually or together\n\nLAPL-06 (y) *leiosAnnouncementPeriodLength* must not be zero\n\n#### Leios Voting Period Length (leiosVotePeriodLength)\n\nThe duration, in milliseconds, during which Leios Committee members can vote on Endorser Blocks (L_vote). It must accommodate Endorser Block propagation and validation time, and is set to the minimum value that ensures honest parties can participate in voting.\n\n##### GUARDRAILS\n\nLVPL-01 (y) *leiosVotePeriodLength* must not be lower than 2,000 milliseconds\n\nLVPL-02 (y) *leiosVotePeriodLength* must not exceed 6,000 milliseconds\n\nLVPL-03 (y) *leiosVotePeriodLength* must not be negative\n\nLVPL-04 (x) *leiosVotePeriodLength* must be long enough for Leios Committee members to receive and validate an Endorser Block and for their votes to diffuse to Block producers, as shown by detailed benchmarking/simulation\n\nLVPL-05 (x) Any change to *leiosVotePeriodLength* must be evaluated together with the values of *leiosAnnouncementPeriodLength* and *leiosDiffusionPeriodLength* that will apply alongside it, and validated via simulation against LLS-01 to LLS-03. The three parameters may be changed individually or together\n\nLVPL-06 (y) *leiosVotePeriodLength* must not be zero\n\n#### Leios Diffusion Period Length (leiosDiffusionPeriodLength)\n\nThe additional duration, in milliseconds, after voting that ensures network-wide availability of a certified Endorser Block (L_diff). It is derived from the fundamental safety constraint, and relies on the network assumption that data known to more than 25% of nodes propagates fully within this time.\n\n##### GUARDRAILS\n\nLDPL-01 (y) *leiosDiffusionPeriodLength* must not be lower than 4,000 milliseconds\n\nLDPL-02 (y) *leiosDiffusionPeriodLength* must not exceed 10,000 milliseconds\n\nLDPL-03 (y) *leiosDiffusionPeriodLength* must not be negative\n\nLDPL-04 (x) *leiosDiffusionPeriodLength* must be long enough for a certified Endorser Block to reach all honest nodes before a Block that includes its certificate needs to be processed, as shown by detailed benchmarking/simulation\n\nLDPL-05 (x) Any change to *leiosDiffusionPeriodLength* must be evaluated together with the values of *leiosAnnouncementPeriodLength* and *leiosVotePeriodLength* that will apply alongside it, and validated via simulation against LLS-01 to LLS-03. The three parameters may be changed individually or together\n\nLDPL-06 (y) *leiosDiffusionPeriodLength* must not be zero\n\n#### Leios Committee Size (leiosCommitteeSize)\n\nThe number of top-stake Stake Pools seated on each epoch's Leios Committee (N_c). The value is a whole number of seats (e.g., 900), not a stake fraction. It directly bounds the number of votes per Endorser Block and the size of a Leios Certificate.\n\nWhen committee size or quorum is set, the seated Stake Pools must cover a share of total active stake at least 10 percentage points above quorum under the prevailing stake distribution. This margin allows for seated Stake Pools that are offline, have no registered voting key, or vote too late.\n\n##### GUARDRAILS\n\nLCS-01 (y) *leiosCommitteeSize* must not be negative\n\nLCS-02 (y) *leiosCommitteeSize* must not be zero\n\nLCS-03 (y) *leiosCommitteeSize* must not be lower than 250 (seats)\n\nLCS-04 (x) When *leiosCommitteeSize* or *leiosQuorumStakeThreshold* is set, the share of total active stake held by the seated Stake Pools under the prevailing stake distribution must be at least 10 percentage points above *leiosQuorumStakeThreshold*.\n\nLCS-05 (x - \"unquantifiable\") The impact of any increase to *leiosCommitteeSize* must be confirmed by detailed benchmarking/simulation, to show that the resulting vote traffic per Endorser Block still diffuses within *leiosVotePeriodLength*\n\nLCS-06 (x) Any change to *leiosCommitteeSize* must be supported by an analysis of the prevailing stake distribution showing that LCS-04 continues to hold\n\nLCS-07 (x) *leiosCommitteeSize* and *leiosQuorumStakeThreshold* must be evaluated jointly. A proposal to change either parameter must include an analysis showing that the resulting settings meet LCS-04 under the prevailing stake distribution.\n\nLCS-08 (x - \"should\") *leiosCommitteeSize* should be reviewed whenever *stakePoolTargetNum*, *maxPledgeLeverage* or the stake distribution change materially\n\nLCS-09 (y) *leiosCommitteeSize* must not exceed 2,000 (seats)\n\n#### Leios Quorum Stake Threshold (leiosQuorumStakeThreshold)\n\nThe minimum fraction of total active stake that must be represented by votes in a Leios Certificate (τ). The permitted range is 0.68 to 0.9 inclusive, expressed as a fraction of total active stake (e.g., 0.75 represents 75% of total active stake).\n\nIt is safety-critical. It must be lower than the stake coverage of the seated Leios Committee. It must also exceed the adversarial stake that the protocol tolerates by a sizable margin, because the honest stake above that margin is what guarantees that a certified Endorser Block is held widely enough to reach all honest nodes by the end of the diffusion period.\n\n##### GUARDRAILS\n\nLQST-03 (y) *leiosQuorumStakeThreshold* must not be lower than 0.68 (68%)\n\nLQST-04 (y) *leiosQuorumStakeThreshold* must not exceed 0.9 (90%)\n\nLQST-05 (x) *leiosQuorumStakeThreshold* must be strictly lower than the share of active stake held by the Stake Pools seated under *leiosCommitteeSize*, under the prevailing stake distribution\n\nLQST-06 (x) Any decrease to *leiosQuorumStakeThreshold* must be accompanied by a security analysis demonstrating that the honest stake guaranteed to hold a certified Endorser Block, *leiosQuorumStakeThreshold* minus the adversarial stake the protocol tolerates, remains large enough for LLS-02 to hold\n\nLQST-07 (x) *leiosQuorumStakeThreshold* and *leiosCommitteeSize* must be evaluated jointly; any change to either must be accompanied by a combined security analysis demonstrating that the joint settings satisfy the Leios protocol safety and liveness requirements\n\nLQST-08 (x - \"unquantifiable\") Any change to *leiosQuorumStakeThreshold* must be confirmed by detailed benchmarking/simulation\n\nLQST-09 (x - \"should\") *leiosQuorumStakeThreshold* should not normally be changed more than once in any 18-epoch period (approximately 3 months).\n\n#### Reference Script Protection Parameters\n\nThe following four parameters govern the reference-script denial-of-service protections that were introduced as a security update during the Conway era. In the Conway ledger their values are fixed constants that no governance action can change. From the Dijkstra hard fork they become updatable protocol parameters, and the guardrails below constrain how governance may set them. They operate alongside *minFeeRefScriptCostPerByte* (defined above), which sets the base per-byte price to which the tiered reference-script fee is applied.\n\n##### GUARDRAILS\n\nPARAM-08 (x) A Parameter Update that lowers *minFeeRefScriptCostPerByte* or *refScriptCostMultiplier*, increases *refScriptCostStride*, or increases *maxRefScriptSizePerTx*, *maxRefScriptSizePerBlock*, or *maxRefScriptSizePerEndorserBlock* must demonstrate that the resulting settings preserve reference-script denial-of-service protection.\n\nThe proposal must evaluate all related changes together. It must demonstrate that nodes can process the reference-script workloads permitted by the proposed settings within the applicable protocol deadlines, with sufficient margin for variation in node performance and network conditions. It must also explain why the fees charged for those workloads remain an adequate deterrent to denial of service.\n\n#### Maximum Reference Script Size Per Transaction (maxRefScriptSizePerTx)\n\nThe maximum total size, in bytes, of all reference scripts a single transaction may use. Each reference is counted separately, even when the same script is referenced more than once. A transaction whose combined reference-script size exceeds this limit is invalid. In the Conway ledger this value is fixed at 204,800 bytes; from the Dijkstra hard fork it becomes governable. It works together with the reference-script tiered fee (see *minFeeRefScriptCostPerByte*, *refScriptCostStride*, and *refScriptCostMultiplier*) and with the per-block limit (*maxRefScriptSizePerBlock*). The ledger represents it as an unsigned 32-bit integer (0 to 4,294,967,295 bytes).\n\nA transaction is never permitted more reference-script data than an entire Block or Endorser Block, so that any valid transaction can be included in either. The limit is never decreased, so that funds locked by scripts that must be supplied as reference scripts remain spendable. Increases are reviewed together with the reference-script tiered fee parameters, so that denial-of-service protection is preserved.\n\n##### GUARDRAILS\n\nMRST-01 (y) *maxRefScriptSizePerTx* must not be negative\n\nMRST-02 (y) *maxRefScriptSizePerTx* must not be zero\n\nMRST-03 (y) *maxRefScriptSizePerTx* must not exceed 307,200 bytes\n\nMRST-04 (y) *maxRefScriptSizePerTx* must not be lower than 204,800 bytes\n\nMRST-05 (~ - no access to existing parameter values) *maxRefScriptSizePerTx* must not exceed *maxRefScriptSizePerBlock*\n\nMRST-06 (x - \"should\") Any increase to *maxRefScriptSizePerTx* should be reviewed together with the reference-script tiered fee parameters (*minFeeRefScriptCostPerByte*, *refScriptCostStride*, *refScriptCostMultiplier*)\n\nMRST-07 (~ - no access to existing parameter values) *maxRefScriptSizePerTx* must not exceed *maxRefScriptSizePerEndorserBlock*\n\nMRST-08 (~ - no access to existing parameter values) *maxRefScriptSizePerTx* must not be decreased\n\nMRST-09 (x - \"unquantifiable\") Any increase to *maxRefScriptSizePerTx* must be confirmed by detailed benchmarking/simulation demonstrating that the validation cost of a transaction using the maximum permitted reference-script size remains within the processing constraints of nodes\n\nMRST-10 (x - \"should\") *maxRefScriptSizePerTx* should not be increased by more than 25,600 bytes in any epoch\n\nMRST-11 (~ - no access to existing parameter values) *maxRefScriptSizePerTx* must not be lower than *maxTxSize*\n\n#### Maximum Reference Script Size Per Block (maxRefScriptSizePerBlock)\n\nThe maximum total size, in bytes, of all reference scripts referenced by all transactions in a single block, counted with multiplicity. A block whose combined reference-script size exceeds this limit is invalid. This parameter bounds the reference-script validation work that a single block can impose on nodes. In the Conway ledger this value is fixed at 1,048,576 bytes; from the Dijkstra hard fork it becomes governable. The ledger represents it as an unsigned 32-bit integer (0 to 4,294,967,295 bytes).\n\nIt is never lower than *maxRefScriptSizePerTx*, so that any valid transaction can be included in a Block.\n\n##### GUARDRAILS\n\nMRSB-01 (y) *maxRefScriptSizePerBlock* must not be negative\n\nMRSB-02 (y) *maxRefScriptSizePerBlock* must not be zero\n\nMRSB-03 (y) *maxRefScriptSizePerBlock* must not exceed 2,097,152 bytes\n\nMRSB-04 (y) *maxRefScriptSizePerBlock* must not be lower than 409,600 bytes\n\nMRSB-05 (~ - no access to existing parameter values) *maxRefScriptSizePerBlock* must not be lower than *maxRefScriptSizePerTx*\n\nMRSB-06 (x - \"unquantifiable\") Any increase to *maxRefScriptSizePerBlock* must be confirmed by detailed benchmarking/simulation demonstrating that the reference-script validation cost of a maximally-filled Block remains within the processing constraints of nodes\n\nMRSB-07 (x - \"should\") *maxRefScriptSizePerBlock* should be changed by at most 262,144 bytes per epoch (5 days)\n\nMRSB-08 (x - exceptional circumstances) *maxRefScriptSizePerBlock* must not be decreased, other than in exceptional circumstances where there are potential problems with security, performance, functionality or long-term sustainability\n\n#### Reference Script Cost Stride (refScriptCostStride)\n\nThe increment size, in bytes, over which the per-byte price of reference scripts grows. Reference-script fees follow a tiered, stepwise- exponential schedule: the first *refScriptCostStride* bytes of a transaction's reference scripts are priced at the base rate (*minFeeRefScriptCostPerByte*), and each subsequent stride of *refScriptCostStride* bytes is priced at the previous tier's rate multiplied by *refScriptCostMultiplier*. A smaller stride makes fees escalate more steeply with reference-script size; a larger stride approaches a flat per-byte fee. In the Conway ledger this value is fixed at 25,600 bytes; from the Dijkstra hard fork it becomes governable. The ledger represents it as a non-zero unsigned 32-bit integer (1 to 4,294,967,295 bytes); a stride of zero is rejected by the ledger encoding before any guardrail is consulted.\n\nThe stride is kept lower than *maxRefScriptSizePerTx*, so that transactions using large reference scripts reach the higher pricing steps of the fee curve. It is set together with *refScriptCostMultiplier* and *minFeeRefScriptCostPerByte*, so that the reference-script tiered fee continues to make large reference-script transactions progressively more expensive, preserving denial-of-service protection.\n\n##### GUARDRAILS\n\nRSCS-01 (y) *refScriptCostStride* must not be zero\n\nRSCS-02 (y) *refScriptCostStride* must not be negative\n\nRSCS-03 (y) *refScriptCostStride* must not exceed 25,600 bytes\n\nRSCS-04 (y) *refScriptCostStride* must not be lower than 20,480 bytes\n\nRSCS-05 (~ - no access to existing parameter values) *refScriptCostStride* must be lower than *maxRefScriptSizePerTx*\n\nRSCS-06 (x - \"should\") *refScriptCostStride* should be set together with *refScriptCostMultiplier* and *minFeeRefScriptCostPerByte*\n\nRSCS-07 (x - \"unquantifiable\") Any change to *refScriptCostStride* must be confirmed by detailed benchmarking/simulation demonstrating that the reference-script denial-of-service protection is preserved. A proposed decrease to *refScriptCostStride* must also quantify the effect on reference-script fees for existing mainnet workloads and for a transaction using the maximum permitted reference-script size.\n\n#### Reference Script Cost Multiplier (refScriptCostMultiplier)\n\nThe growth factor applied to the per-byte reference-script price at each successive stride (*refScriptCostStride*). Strides are numbered starting at 1. Each byte in stride *k* is charged at the base rate (*minFeeRefScriptCostPerByte*) multiplied by *refScriptCostMultiplier* raised to the power (*k* − 1). The first stride has exponent 0, so every byte in it is charged at the base rate. The second stride has exponent 1, so every byte in it is charged at the base rate multiplied by *refScriptCostMultiplier*. A value of 1.0 yields a flat per-byte fee; values above 1.0 make each additional stride of reference-script data progressively more expensive. In the Conway ledger this value is fixed at 1.2; from the Dijkstra hard fork it becomes governable. The ledger represents it as a positive rational number (strictly greater than zero); a multiplier of zero is rejected by the ledger encoding before any guardrail is consulted.\n\nThe 1.2 floor makes each successive tier at least 20% more expensive per byte, preserving the Conway price increase between tiers. It is set together with *refScriptCostStride* and *minFeeRefScriptCostPerByte*, to preserve the intended denial-of-service protection of the reference-script tiered fee.\n\n##### GUARDRAILS\n\nRSCM-01 (y) *refScriptCostMultiplier* must not be negative\n\nRSCM-02 (y) *refScriptCostMultiplier* must not be lower than 1.2\n\nRSCM-03 (y) *refScriptCostMultiplier* must not exceed 1.25\n\nRSCM-04 (x - \"should\") *refScriptCostMultiplier* should be set together with *refScriptCostStride* and *minFeeRefScriptCostPerByte*\n\nRSCM-05 (x - \"unquantifiable\") Any change to *refScriptCostMultiplier* must be confirmed by detailed benchmarking/simulation demonstrating that the reference-script denial-of-service protection is preserved\n\nRSCM-06 (y) *refScriptCostMultiplier* must not be zero","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.3. Network Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.3. Network Parameters › Block Header Size (maxBlockHeaderSize) › GUARDRAILS"},{"type":"addition","insert_after":"PPI-04 (x - \"should\") *poolPledgeInfluence* should not vary by more than +/- 10% in any 18-epoch period (approximately 3 months)","proposed":"#### Maximum Pledge Leverage (maxPledgeLeverage)\n\nPart of the rewards mechanism; provides protection against Sybil attack. Caps a pool's reward-eligible stake at the lower of the saturation point (1 / *stakePoolTargetNum*) and *maxPledgeLeverage* times the pool's pledge, so a pool reaches full rewards only when its pledge is proportionate to its stake. Stake above *maxPledgeLeverage* times the pool's pledge earns no rewards, for the operator or its delegators. Introduced by CIP-0050.\n\nIt may be unset (null). It is introduced unset at the Dijkstra hard fork, which leaves the rewards calculation as it was in earlier eras, and the cap takes effect only once a \"Parameter Update\" action sets a value. When set, it is a ratio between 1 and 10,000, the range given in CIP-0050. A \"Parameter Update\" action may also return it to unset, which removes the cap again. Notice should be given before it is first set, lowered or unset, so that pool operators and delegators can rebalance before rewards are affected.\n\n##### GUARDRAILS\n\nMPL-01 (y) *maxPledgeLeverage*, when set, must not be lower than 1\n\nMPL-02 (y) *maxPledgeLeverage*, when set, must not exceed 10,000\n\nMPL-03 (y) *maxPledgeLeverage* may be set to null (unset); the Guardrails Script must accept a null value, and MPL-01 and MPL-02 apply only when a value is set\n\nMPL-04 (x - \"should\") *maxPledgeLeverage* should be set in conjunction with *stakePoolTargetNum* and the prevailing *poolPledgeInfluence*\n\nMPL-05 (x - \"should\") A change that first sets, lowers or unsets *maxPledgeLeverage* should be announced at least 18 epochs (approximately 3 months) in advance, together with an analysis of the delegated stake that would lose reward eligibility. Where the change proposes a leverage value, the analysis should also compare the total stake that could earn rewards under that value with the amount of ada that could be staked, taking into account each pool's pledge and saturation limit.\n\nMPL-06 (~ - no access to change history) *maxPledgeLeverage* must not be changed, including set to or from null, more than once in any 36-epoch period (approximately 6 months)\n\nMPL-07 (y) *maxPledgeLeverage*, when set, must not be negative","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.4. Technical/Security Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.4. Technical/Security Parameters › Pledge Influence Factor (poolPledgeInfluence) › GUARDRAILS"},{"original":"PRME-02 (x - \"should\") *poolRetireMaxEpoch* should not be lower than 1","proposed":"PRME-02a (y) *poolRetireMaxEpoch* must not be lower than 1","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.4. Technical/Security Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.4. Technical/Security Parameters › Pool Retirement Window (poolRetireMaxEpoch) › GUARDRAILS"},{"original":"#### DRep and SPO Governance Action Thresholds (dRepVotingThresholds[...],poolVotingThresholds[...])","proposed":"#### Voting Thresholds (dRepVotingThresholds[...],poolVotingThresholds[...])","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.5. Governance Parameters","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 2.5. Governance Parameters › DRep and SPO Governance Action Thresholds (dRepVotingThresholds[...],poolVotingThresholds[...])"},{"type":"addition","insert_after":"*maximum number of collateral inputs* (*maxCollateralInputs*)","proposed":"- *maximum Endorser Block size* (*maxEndorserBlockReferencesSize*)\n\n- *maximum total transaction size per Endorser Block* (*maxEndorserBlockTxsSize*)\n\n- *maximum reference script size per Endorser Block* (*maxRefScriptSizePerEndorserBlock*)\n\n- *maximum Plutus memory and steps per Endorser Block* (*maxEndorserBlockExecutionUnits[memory/steps]*)\n\n- *Leios header diffusion period length* (*leiosAnnouncementPeriodLength*)\n\n- *Leios voting period length* (*leiosVotePeriodLength*)\n\n- *Leios diffusion period length* (*leiosDiffusionPeriodLength*)\n\n- *Leios committee size* (*leiosCommitteeSize*)\n\n- *Leios quorum stake threshold* (*leiosQuorumStakeThreshold*)\n\n- *maximum reference script size per transaction* (*maxRefScriptSizePerTx*)\n\n- *maximum reference script size per block* (*maxRefScriptSizePerBlock*)\n\n- *reference script cost stride* (*refScriptCostStride*)\n\n- *reference script cost multiplier* (*refScriptCostMultiplier*)","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 9. List of Protocol Parameter Groups","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 9. List of Protocol Parameter Groups"},{"original":"The economic parameter group consists of:\n\n- *minimum fee coefficient* (*txFeePerByte*)\n\n- *minimum fee constant* (*txFeeFixed*)\n\n- *minimum fee per byte for reference scripts* (*minFeeRefScriptCoinsPerByte*)","proposed":"The economic parameter group consists of:\n\n- *minimum fee coefficient* (*txFeePerByte*)\n\n- *minimum fee constant* (*txFeeFixed*)\n\n- *minimum fee per byte for reference scripts* (*minFeeRefScriptCostPerByte*)","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 9. List of Protocol Parameter Groups","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 9. List of Protocol Parameter Groups"},{"type":"addition","insert_after":"- *treasury expansion* (*treasuryCut*)\n\n- *minimum fixed rewards cut for pools* (*minPoolCost*)","proposed":"- *minimum pool margin* (*minPoolMargin*)","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 9. List of Protocol Parameter Groups","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 9. List of Protocol Parameter Groups"},{"type":"addition","insert_after":"*pool pledge influence* (*poolPledgeInfluence*)","proposed":"- *maximum pledge leverage* (*maxPledgeLeverage*)","section":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 9. List of Protocol Parameter Groups","context":"APPENDIX I. CARDANO BLOCKCHAIN GUARDRAILS › 9. List of Protocol Parameter Groups"}],"co_authors":[]},"type":"CAP","state":"open","author_stake_address":"stake1uxh5vx8a9svkka2ef372hpytpffwrge4yf3c40nq0lfqa0sejrqru","author_display_name":"carlos lopez de lara","labels":[{"name":"consultation"},{"name":"CAP"},{"name":"Technical"},{"name":"author-ready"}],"comments":50,"moderation_status":"visible","withdrawal_requested_by":null,"withdrawal_requested_by_name":null,"created_at":"2026-10-01T16:04:56.781410+00:00","updated_at":"2026-11-30T21:41:14.377345+00:00","co_authors":[]}