|
| 1 | +--- |
| 2 | +CIP: TBD |
| 3 | +Title: Implement Ouroboros Leios to increase Cardano throughput |
| 4 | +Authors: Duncan Coutts <[email protected]> |
| 5 | +Status: Draft |
| 6 | +Type: Core |
| 7 | +Created: 2022-11-18 |
| 8 | +License: CC-BY-4.0 |
| 9 | +--- |
| 10 | + |
| 11 | +Included documents: [*Ouroboros Leios: design goals and concepts*](leios-design.pdf) |
| 12 | + |
| 13 | +## Abstract |
| 14 | + |
| 15 | +As Cardano evolves, there will be increasing demand for greater network |
| 16 | +capacity to support new and existing users and applications. The long term |
| 17 | +solution is to rebase Cardano on the new Ouroboros Leios protocol. |
| 18 | +Ouroboros Leios is a new member of the Ouroboros family that is designed |
| 19 | +specifically for high throughput, without compromising security. This will |
| 20 | +meet expected future demands, providing a basis for continuing Cardano growth |
| 21 | +and scalability. |
| 22 | + |
| 23 | +## Motivation |
| 24 | + |
| 25 | +Cardano's current throughput (measured both in data rate and available script |
| 26 | +execution time) is adequate for the current demand. There is also some |
| 27 | +opportunity to increase the block sizes and script execution limits to meet |
| 28 | +emerging future demands for increased network capacity. There are however |
| 29 | +fundamental limits to how far the block size and the script execution budget |
| 30 | +can be pushed, while maintaining system security. |
| 31 | + |
| 32 | +Under Ouroboros Praos, in order to ensure the security of the overall system, |
| 33 | +blocks must be distributed across the network reliably in "$\Delta$" time slots. |
| 34 | +This is set to be 5 seconds on the Cardano mainnet. The block relaying process |
| 35 | +is an essentially serial process: blocks must be relayed between consecutive |
| 36 | +block producer nodes through a series of intermediate relay nodes. The overall |
| 37 | +time that this takes is proportional to the number of network hops between one |
| 38 | +block producer and the next, and the network latency of each of those hops |
| 39 | +(which must in general span the whole globe). Given that this must always |
| 40 | +happen within 5 seconds, this puts a hard upper limit on how large each block |
| 41 | +can be and also on how much time can be spent validating transactions and |
| 42 | +scripts. |
| 43 | + |
| 44 | +In order to substantially scale beyond this requires changes to the underlying |
| 45 | +blockchain algorithm. There are significant opportunities to scale: the |
| 46 | +network and CPU resources on most nodes are almost idle much of the time. With |
| 47 | +a different algorithm, these resources can be used to increase the total chain |
| 48 | +bandwidth. |
| 49 | + |
| 50 | +## Specification |
| 51 | + |
| 52 | +Ouroboros Leios is a substantial new design. To do it justice, we do not |
| 53 | +include it in full in this README. Instead, as part of this CIP we include a |
| 54 | +larger document that describes Ouroboros Leios in much more detail: |
| 55 | + |
| 56 | +[*Ouroboros Leios: design goals and concepts*](leios-design.pdf) |
| 57 | + |
| 58 | +There may be further updates to this design document over time. The latest |
| 59 | +published version will be available in the |
| 60 | +[IOG research library](https://iohk.io/en/research/library/papers/ouroboros-leios-design-goals-and-concepts/). |
| 61 | + |
| 62 | +## Rationale |
| 63 | + |
| 64 | +The included document sets out in more detail the limitations of the existing |
| 65 | +design, the goals for the new design, and a design strategy that lead to the |
| 66 | +proposed Ouroboros Leios design. It explains how the new design relates to |
| 67 | +existing features. It sets out a very high level development strategy for how |
| 68 | +Ouroboros Leios can be developed and integrated into Cardano. |
| 69 | + |
| 70 | +## Path to Active |
| 71 | + |
| 72 | +The path to the implementation of Ouroboros Leios within Cardano will be a long |
| 73 | +one, as it will require substantial research, development and integration |
| 74 | +effort. The proposed high level development strategy is set out in the linked |
| 75 | +document. |
| 76 | + |
| 77 | +## Copyright |
| 78 | + |
| 79 | +This CIP is licensed under [CC-BY-4.0][]. |
| 80 | + |
| 81 | +[CC-BY-4.0]: https://creativecommons.org/licenses/by/4.0/legalcode |
| 82 | +[Apache-2.0]: http://www.apache.org/licenses/LICENSE-2.0 |
| 83 | + |
0 commit comments