@@ -19,25 +19,25 @@ Leios offers several significant advantages:
1919
2020- ** Higher throughput and lower latency.** By splitting transaction processing
2121 into IB and EB stages, Leios handles more transactions in parallel, enabling
22- faster and more responsive applications.
22+ faster and more responsive applications
2323- ** Better user experience.** Faster transaction processing means quicker
24- confirmations for wallet users and dApp interactions.
24+ confirmations for wallet users and DApp interactions
2525- ** Flexible diffusion strategies.** Nodes can choose how to share blocks (e.g.,
2626 prioritizing newest or oldest data), optimizing network performance based on
27- conditions.
27+ conditions
2828- ** Enhanced cryptography.** Leios uses Boneh–Lynn–Shacham (BLS) signatures for
2929 aggregated verification and verifiable random functions (VRFs) for fair leader
30- selection.
30+ selection
3131- ** Robust simulations and formal methods.** Rust and Haskell simulations
3232 measure real-world performance, and executable specifications ensure
33- correctness.
33+ correctness
3434- ** Scalable cost model.** A cost calculator helps node operators estimate
35- expenses (e.g. , storage, CPU usage).
35+ expenses (For example , storage, CPU usage).
3636
37- ## What does Leios mean for Cardano users (e.g., wallet users, dApp developers)?
37+ ## What does Leios mean for Cardano users (e.g., wallet users, DApp developers)?
3838
3939For everyday users, Leios means faster transaction confirmations and a smoother
40- experience in wallets and dApps —think near-instant payments or interactions
40+ experience in wallets and DApps —think near-instant payments or interactions
4141instead of waiting 20 seconds or more. For developers, it offers higher
4242throughput (more transactions per second), enabling complex, high-volume
4343applications like decentralized exchanges or gaming platforms. However, wallets,
@@ -57,11 +57,11 @@ minimize these risks, ensuring Leios remains secure and reliable as it matures.
5757
5858Leios uses three distinct block types:
5959
60- - ** IB (input block): ** a block that contains transactions. Produced by nodes
61- that win the IB sortition lottery.
62- - ** EB (endorser block): ** a block that references one or more IBs, providing
63- endorsements. Produced by nodes that win the EB sortition lottery.
64- - ** RB (ranking block): ** a block that ranks or orders other blocks as part of
60+ - ** IB (Input Block) ** . A block that contains transactions. Produced by nodes
61+ that win the IB sortition lottery
62+ - ** EB (endorser block)** . A block that references one or more IBs, providing
63+ endorsements. Produced by nodes that win the EB sortition lottery
64+ - ** RB (ranking block)** . A block that ranks or orders other blocks as part of
6565 the consensus mechanism.
6666
6767Each block type plays a distinct role in moving transactions from submission to
@@ -70,42 +70,49 @@ occur every ~20 seconds.
7070
7171## What is the relationship between Ouroboros, Peras, and Leios?
7272
73- ### Ouroboros: The Foundation
73+ ### Ouroboros: The foundation
7474
7575- What it is: Ouroboros is the overarching family of proof-of-stake (PoS)
7676 consensus protocols that powers Cardano. It’s designed to be secure,
7777 energy-efficient, and provably fair, replacing proof-of-work (PoW) systems
7878 like Bitcoin’s.
7979- Key Features:
8080 - Slot-based time division (epochs and slots, with slots typically 1 second
81- long in earlier versions, now 20 seconds in Praos for block production).
82- - Stake pool leaders elected based on stake to mint blocks.
83- - Formal mathematical proofs of security (e.g. , resistance to attacks like
81+ long in earlier versions, now 20 seconds in Praos for block production)
82+ - Stake pool leaders elected based on stake to mint blocks
83+ - Formal mathematical proofs of security (For example , resistance to attacks like
8484 double-spending or chain forks).
8585- Role: Ouroboros is the bedrock consensus mechanism that Peras and Leios build
8686 upon or refine.
8787
88- ### Peras: A Modular Upgrade
88+ ### Peras: A modular upgrade
8989
9090- What it is: Peras is a proposed evolution of Ouroboros aimed at improving
9191 efficiency and modularity.
92- - Key Features:
93- - Separation of Concerns: Peras splits consensus into modular components, such
92+ - Key features:
93+ <<<<<<< HEAD
94+ - Separation of concerns. Peras splits consensus into modular components, such
95+ as transaction ordering, validation, and ledger state updates, to allow
96+ parallel processing and flexibility
97+ - Improved finality. It introduces mechanisms for faster confirmation times,
98+ =======
99+ - Separation of concerns: Peras splits consensus into modular components, such
94100 as transaction ordering, validation, and ledger state updates, to allow
95101 parallel processing and flexibility.
96- - Improved Finality: It introduces mechanisms for faster confirmation times,
102+ - Improved finality: It introduces mechanisms for faster confirmation times,
103+ >>>>>>> ceaee0282f9c2d2f0b95d46c26e30d26e9f82847
97104 potentially reducing the time to finality compared to Praos’ 20-second block
98- intervals.
99- - Adaptability: Designed to integrate with future scaling solutions (like
105+ intervals
106+ - Adaptability. Designed to integrate with future scaling solutions (like
100107 Leios) and sidechains or layer-2 systems.
101108- Relationship to Ouroboros:
102109 - Peras is a direct descendant of Ouroboros Praos, refining its mechanics
103- while staying within the PoS framework. It’s like an “ Ouroboros 2.0,”
110+ while staying within the PoS framework. It’s like an ' Ouroboros 2.0,'
104111 optimizing the core protocol without fundamentally changing its PoS nature.
105112 - It serves as a bridge between the foundational Ouroboros Praos and more
106113 radical scalability-focused variants like Leios.
107114
108- ### Leios: A Scalability Leap
115+ ### Leios: A scalability leap
109116
110117- What it is: Ouroboros Leios is a specific variant of the Ouroboros family,
111118 designed to dramatically increase Cardano’s throughput (transactions per
@@ -118,37 +125,37 @@ occur every ~20 seconds.
118125 - It retains Ouroboros’ security model but reimagines how transactions are
119126 ingested and validated, making it a next-generation Ouroboros variant.
120127
121- ### The Relationship
128+ ### The relationship
122129
123130- Ouroboros as the Core:
124131 - Ouroboros (especially Praos) is the foundational consensus protocol that
125132 defines Cardano’s PoS system. Both Peras and Leios are built on this
126133 foundation, inheriting its security properties and stake-based governance.
127- - Peras as an Intermediate Step :
134+ - Peras as an intermediate step :
128135 - Peras enhances Ouroboros by introducing modularity and efficiency
129136 improvements, potentially laying the groundwork for integrating advanced
130137 features like those in Leios. It’s a stepping stone that refines Praos’
131138 mechanics, making it more adaptable to future needs.
132- - Leios as a Scalability Solution :
139+ - Leios as a scalability solution :
133140 - Leios takes Ouroboros further by addressing throughput limitations head-on.
134141 It uses the same PoS principles but introduces a parallel processing model
135- that Peras’ modularity could theoretically support or complement.
136- - Leios can be seen as a “ plugin” or evolution that fits into the Ouroboros
142+ that Peras’ modularity could theoretically support or complement
143+ - Leios can be seen as a ' plugin' or evolution that fits into the Ouroboros
137144 ecosystem, possibly relying on Peras’ groundwork for smoother integration.
138- - Timeline and Evolution :
145+ - Timeline and evolution :
139146 - Ouroboros Praos → Current live protocol
140147 - Peras → A near-future refinement for flexibility and efficiency
141148 - Leios → A long-term scalability solution, still in research/development,
142149 aimed at making Cardano competitive with high-TPS blockchains like Solana or
143- Ethereum layer-2s
150+ Ethereum layer-2s.
144151
145152## What's the state of an IB before an EB or RB gets created for it? Is it visible, is it usable?
146153
147154Before an Endorsement Block (EB) or Ranking Block (RB) is created, an Input
148155Block (IB) is a proposed set of transactions in a preliminary state. Here’s what
149156that means:
150157
151- ### State of an Input Block
158+ ### State of an IB
152159
153160An IB is minted by a node (e.g., a stake pool operator) and contains unconfirmed
154161transactions from the mempool. It’s cryptographically signed for authenticity
@@ -174,7 +181,7 @@ still be discarded if it fails validation.
174181Leios boosts performance by processing transactions in parallel, even though
175182final confirmation still takes 20 seconds. Here’s how:
176183
177- ### Parallel Processing Boost
184+ ### Parallel processing boost
178185
179186Think of Leios like a factory: In Ouroboros Praos, one worker (a slot leader)
180187builds a block every 20 seconds. In Leios, dozens of workers (nodes) create
@@ -183,19 +190,19 @@ Input Blocks (IBs) continuously, others check them with Endorsement Blocks
183190This parallelism lets the network handle far more transactions in that
184191time—potentially 10x to 100x more than Praos.
185192
186- ### Splitting the Work
193+ ### Splitting the work
187194
188- - ** IBs** : Propose transactions frequently and in parallel.
189- - ** EBs** : Validate IBs concurrently across nodes.
190- - ** RBs** : Finalize everything every 20 seconds, ensuring security. Unlike
195+ - ** IBs** . Propose transactions frequently and in parallel.
196+ - ** EBs** . Validate IBs concurrently across nodes.
197+ - ** RBs** . Finalize everything every 20 seconds, ensuring security. Unlike
191198 Praos, where one block does it all, Leios splits these roles so transaction
192199 processing isn’t bottlenecked by the 20-second RB interval.
193200
194- ### Practical Gains
201+ ### Practical gains
195202
196203While IBs aren’t spendable until an RB confirms them, EBs provide early
197204confidence, letting apps (like wallets) act on them sooner for low-risk tasks
198- (e.g. , showing balances). The 20-second RB is a security anchor, not a
205+ (For example , showing balances). The 20-second RB is a security anchor, not a
199206limit—hundreds of IBs can queue up in that window, massively increasing
200207throughput.
201208
@@ -214,9 +221,9 @@ guarantees.
214221
215222Leios finalizes blocks through a structured voting mechanism. Nodes may adopt:
216223
217- - ** Single-stage voting: ** all votes are broadcast in one phase, possibly
218- resulting in a longer CPU usage 'tail' during high throughput.
219- - ** Send-recv (two-stage) voting: ** votes are first sent, then a follow-up
224+ - ** Single-stage voting** . All votes are broadcast in one phase, possibly
225+ resulting in a longer CPU usage 'tail' during high throughput
226+ - ** Send-recv (two-stage) voting** . Votes are first sent, then a follow-up
220227 receive phase ensures broader propagation before final tallies.
221228
222229You can configure voting through parameters such as leios-vote-send-recv-stages
@@ -233,9 +240,9 @@ sortition' because once a node proves it was selected to produce a block or vote
233240
234241Leios supports multiple strategies for propagating blocks and votes:
235242
236- - ** Oldest-first: ** prioritizes older blocks or transactions
237- - ** Freshest-first: ** focuses on the newest blocks or transactions first
238- - ** Peer-order: ** requests blocks in the order peers announce them.
243+ - ** Oldest-first** . Prioritizes older blocks or transactions
244+ - ** Freshest-first** . Focuses on the newest blocks or transactions first
245+ - ** Peer-order** . Requests blocks in the order peers announce them.
239246
240247Your choice of strategy can affect latency, network load, and overall
241248throughput.
@@ -253,11 +260,11 @@ sharding, but it is not yet part of Leios.
253260Leios incorporates multiple cryptographic techniques to ensure security and
254261efficiency:
255262
256- - BLS signatures: allows efficient aggregation of many signatures into one,
263+ - BLS signatures. Allows efficient aggregation of many signatures into one,
257264 reducing verification overhead
258- - Mithril or Musen protocols: used for voting and proof aggregation, depending
265+ - Mithril or Musen protocols. Used for voting and proof aggregation, depending
259266 on the context
260- - VRFs: ensures fair selection of nodes for block production
267+ - VRFs. Ensures fair selection of nodes for block production.
261268
262269Recent benchmarking shows that aggregated BLS verification significantly speeds
263270up certificate validation.
@@ -290,11 +297,11 @@ Developers continually refine these simulations based on real-world data.
290297
291298Based on preliminary internal testing and simulations:
292299
293- - ** Block size: ** commonly set to about one-third of the available link capacity
300+ - ** Block size** . Commonly set to about one-third of the available link capacity
294301 for IBs
295- - ** Voting stages: ** choose single-stage or send-recv, depending on reliability
302+ - ** Voting stages** . Choose single-stage or send-recv, depending on reliability
296303 and speed requirements
297- - ** Diffusion strategy: ** many operators use 'freshest-first,' though
304+ - ** Diffusion strategy** . Many operators use 'freshest-first,' though
298305 'peer-order' may help maintain compatibility with older setups.
299306
300307Operators can adjust these parameters, which evolve through community votes.
@@ -306,7 +313,7 @@ You can follow:
306313- Weekly updates on the Ouroboros Leios site
307314- Technical reports for deeper insights
308315- Leios glossary for definitions of commonly used terms
309- - Public GitHub repositories that host source code and simulations
316+ - Public GitHub repositories that host source code and simulations.
310317
311318These resources provide transparency and regular updates on ongoing development.
312319
@@ -315,9 +322,9 @@ These resources provide transparency and regular updates on ongoing development.
315322Leios changes how transactions are validated and how blocks and memory pools
316323operate, potentially affecting:
317324
318- - ** Wallets and SDKs, ** which need to accommodate new block types (IBs and EBs)
319- - ** Explorers, ** which must handle higher throughput and multi-block referencing
320- - ** Indexers and APIs, ** which will see more granular block and vote data.
325+ - ** Wallets and SDKs** . Which need to accommodate new block types (IBs and EBs)
326+ - ** Explorers** . Which must handle higher throughput and multi-block referencing
327+ - ** Indexers and APIs** . Which will see more granular block and vote data.
321328
322329Weekly updates provide a deeper analysis of these topics, including how advanced
323330indexing and potential sharding solutions might eventually mitigate challenges.
0 commit comments