Cardano Peras Moves Forward as Tweag Builds Faster Settlement Tools
The team has prototyped certificate checks in the ledger and merged a network component, while changes to voting and node synchronization remain under review.
By SongMarketCap
Updated:
A Cardano transaction can appear in a block before an exchange or application considers it sufficiently settled to release funds. Ouroboros Peras is being developed to shorten that wait.
In a November 25 development update, Tweag reported that it had prototyped Peras certificate validation in the Cardano ledger, merged part of the network code used to share Peras data, and expanded its testnet monitoring tools. The team is also reviewing changes to voting rules and the way nodes synchronize.
Peras Adds Certificate Checks to Cardano’s Ledger
Peras introduces a voting mechanism designed to help Cardano blocks reach a high level of settlement confidence sooner. When enough eligible participants vote for a block, their votes can form a certificate. That certificate gives additional weight to the chain containing the block.
Tweag’s latest update includes a prototype for checking those certificates in the ledger, the part of Cardano’s software that applies rules to transactions and network data.
The team is also integrating BLS keys, cryptographic keys used in Peras voting and certificate handling. That work is intended to replace temporary solutions used during development.
A separate change affects how nodes communicate. On November 17, developers merged a network component for Object Diffusion, the mechanism used to exchange Peras data between nodes.
The updated code gives a receiving node regular opportunities to take control of the exchange, including when the other side has no new data available. Alongside related consensus changes, the work is intended to let nodes end the exchange cleanly and recognize when they have caught up with available certificates.
The network component has been merged. The associated consensus changes were still open when Tweag published its report.
How Faster Settlement Could Change a Cardano Deposit
Consider a customer sending ADA to an exchange. The transaction can appear in a Cardano block while the exchange continues to wait before crediting the account. The exchange chooses its own confirmation policy based on the level of confidence it requires.
Peras is designed to make it possible to reach a given level of settlement confidence in less time. Under its proposed voting system, certificates give the network additional evidence in favor of a chain, supplementing the process in which confidence grows as more blocks are added.
The upgrade does not set a universal waiting period for every exchange or application. Each service can continue to decide when a deposit has met its own requirements.
That also separates two stages of a transaction. Inclusion happens when the transaction enters a block. Settlement confidence concerns how certain a recipient can be that the block will remain in the chain.
Peras is being developed alongside Linear Leios, but the projects address different questions. Linear Leios focuses on increasing the network’s capacity to process transaction data. Peras focuses on how quickly blocks reach settlement confidence.
[NEWSBREAK]
Voting Rules, Synchronization and the Road to Mainnet
The team’s latest changes also cover how Peras voting begins and how nodes catch up with the network.
Tweag completed the implementation of Peras 83, a change to the rules for starting voting when no previous certificate exists. It uses an explicit starting round described in the revised CIP-0140 proposal. The code remained open for review in the November 25 report.
A separate proposal, Peras 84, moves a technical setting into the configuration associated with a protocol era. Its developers describe the change as a way to reduce the dependence of Genesis synchronization on certain ledger parameters. Genesis helps nodes synchronize securely, including when they have been offline.
In Peras 85, developers propose changing how a node identifies the part of the chain it treats as immutable. The proposal returns that criterion to a measure based on the number of blocks rather than chain weight that includes certificates.
The developers identified a potential attack scenario during Genesis synchronization and proposed the change to address it. Their description concerns Peras code under development; the update did not report a Cardano mainnet incident.
Tweag also added a Peras dashboard, improved Grafana visualizations and created scripts for analyzing logs and displaying the protocol’s state. The team introduced additional controls for its test environment.
On November 11, the Cardano Foundation reported that nine of the 12 milestones on Tweag’s mainnet roadmap had been completed at that point. The latest weekly update did not provide a revised milestone count or an activation date.
The Object Diffusion network change was merged on November 17. Peras 83 and the related consensus work remain in the review process, while the new dashboard and log analysis scripts support continued testing.