Cardano merges Leios code, targets up to 15x scaling

Cardano developers merged Praos2 and two Leios networking components into the main branch, advancing plans to increase processing capacity by up to 15 times through Dijkstra and later upgrades.

Cardano developers have merged Praos2 and the LeiosNotify and LeiosFetch networking components into the blockchain project’s main development branch. The work supports plans to increase processing capacity by up to 15 times through the Dijkstra hard fork and later parameter changes.

Praos2 combines Cardano’s Ouroboros consensus protocol with Leios, a system designed to process additional transaction batches. LeiosNotify and LeiosFetch help network nodes exchange information needed for those batches. Developers still need to complete the systems for selecting and retrieving the batches, called endorser blocks.

Input Output, the company developing Cardano, plans to introduce Leios through the forthcoming Dijkstra hard fork. The initial change is expected to increase capacity by three to five times. At least two later parameter changes could raise capacity to between 10 and 15 times its current level, subject to performance tests and separate governance approvals.

Cardano has not started testing Dijkstra’s protocol rules on its public testnet. Intersect, the member-based organization responsible for maintaining the network’s continuity, reported on Oct. 24 that the testnet had restarted three days earlier and was still using the existing Conway rules with node version 11.1.3.

The testnet must switch to Dijkstra’s protocol version 12 using the upcoming node 11.2 prerelease and a hard-fork initiation action. Developers have also updated the Leios prototype with stronger checks for endorser-block announcements and cryptographic certificates. The new Leios header format is limited to Dijkstra and later protocol versions.

The prototype changes require the Leios testnet to restart from its initial state and require participating nodes to install updated software. The restart does not affect Cardano’s mainnet.

Cardano’s Ouroboros Praos system has an estimated ceiling of about 4.5 kilobytes of transaction data per second. The limit partly reflects the need for ordinary blocks to spread quickly across the network to preserve consensus.

Leios separates additional transaction validation and certification from ordinary block production. Its initial operating range is expected to reach about 13.5 to 22.5 kilobytes per second. Later changes could raise the range to between 45 and 67.5 kilobytes per second. The number of transactions processed will depend on their size and computational requirements.

Before those limits can be activated, Cardano must approve constitutional and protocol changes. The proposed constitutional amendment, known as CAP-12, would set the permitted ranges for Dijkstra’s parameters. Approval requires delegated representatives controlling at least 75% of the relevant voting stake and support from two-thirds of the Constitutional Committee. Intersect reported in October that CAP-12 had reached its fourth draft, with numerical limits, pledge leverage settings and procedures for disabling Leios still under discussion.

The Dijkstra hard fork requires separate approval from representatives controlling 60% of delegated stake, stake-pool operators representing 51% of stake and two-thirds of the Constitutional Committee.

After the hard fork, operators must register BLS cryptographic keys to certify Leios endorser blocks. Input Output estimates that registered keys should cover about 90% to 95% of delegated stake before activation. Leios requires signatures representing at least 75% of active stake. Pools without BLS keys can continue producing ordinary blocks but cannot vote on endorser blocks.

Cardano will then conduct controlled, high-load exercises on its mainnet to measure transaction-batch propagation, operator certification and available processing capacity. The results will inform proposals for higher Leios limits. Each later increase requires approval from 67% of delegated representatives, 51% of stake-pool operators and two-thirds of the Constitutional Committee, provided the changes remain within the constitutional limits approved earlier.

Articles by this author