Cardano Leios Add Transaction Cache and Download Limits

Di latest prototype update reduce repeated transaction downloads, limit memory use and stop disk reads from delaying block production.

By SongMarketCap

Updated:

Cardano News - Cardano Leios Add Transaction Cache and Download Limits

Cardano consensus team don update di Leios prototype with new download controls, transaction caching and safeguards for block production. Di changes dey active for di Leios devnet, where developers fit measure how dem take affect peer load, memory use and node timing.

Leios na proposed Cardano consensus upgrade wey dem design to increase throughput by separating parts of transaction processing while e still preserve di security role of Ouroboros Praos.

New Download Logic Controls Leios Traffic

According to di September 8 Consensus Team update, developers rewrite di logic wey determine which Leios data node go download and which peer go provide am.

Nodes now dey limit both di time wey dem spend for each download decision and di memory wey dem reserve for pending requests. Di newest Endorser Blocks go get priority, while requests for missing transactions go dey randomized to stop simultaneous downloads from exhausting di same peer limits.

These controls allow di devnet to test bigger Leios data flows inside defined time and memory boundaries.

Transaction Cache Prevents Repeated Downloads

Di update still add dedicated cache for transactions wey recent Endorser Blocks reference. Before node request data from di network, e go check both di cache and im mempool and e go download only di transactions wey e no get.

Endorser Blocks dey reference transactions wey nodes must locate and verify. To reuse data wey dey local go reduce duplicate network traffic and di work to reconstruct di associated transaction set.

Dis one na node-level change. Wallets and decentralized applications go continue to submit ADA transactions through di existing Cardano interfaces.

Leios Protects Synchronization and Block Production

Di team still tackle another cause of unwanted disconnections between functioning nodes. Node wey dey sync from older chain position fit no fit validate newer Leios messages. E go now pause those requests until im chain tip catch up instead of requesting data and then rejecting di replies.

Developers still put cap on how long di mempool fit spend to read ledger state from disk. Dis one stop disk access from holding producer block beyond im assigned slot.

Tracing for block forging and chain selection don expand, and di Leios dashboard now dey show where di prototype node dey spend im processing time. Dem don integrate these observability changes into di devnet node.

Di changes still dey confined to di prototype, so Cardano mainnet and current ADA transaction processing never change. Di next devnet tests fit focus on whether peer load, disk latency and block forging timing still dey inside di new limits.