Skip to content

[DO-NOT-MERGE] Leios prototype#6386

Draft
bladyjoker wants to merge 53 commits intorelease/10.5.1from
leios-prototype
Draft

[DO-NOT-MERGE] Leios prototype#6386
bladyjoker wants to merge 53 commits intorelease/10.5.1from
leios-prototype

Conversation

@bladyjoker
Copy link
Copy Markdown
Contributor

@bladyjoker bladyjoker commented Dec 3, 2025

Description

This PR hosts changes to cardano-node related to Leios. I'm opening a PR for easier management and transparency to make changes visible at a glance.

More importantly, this branch will be tagged and sourced for Leios demos.

IT IS NOT INTENDED TO BE REVIEWED OR MERGED!

@bladyjoker bladyjoker self-assigned this Dec 3, 2025
@bladyjoker bladyjoker changed the base branch from master to release/10.5.1 December 3, 2025 09:36
@bladyjoker bladyjoker linked an issue Jan 27, 2026 that may be closed by this pull request
20 tasks
Especially during development these contain application errors and
should be more visible
@ch1bo ch1bo force-pushed the leios-prototype branch 3 times, most recently from 07d7233 to 667132f Compare February 23, 2026 09:57
@bladyjoker bladyjoker added the leios Means that this tickets is related to the implementation of ouroboros leios. label Mar 12, 2026
@ch1bo ch1bo force-pushed the leios-prototype branch from a5201e6 to 01decec Compare March 23, 2026 10:41
ch1bo and others added 13 commits March 23, 2026 14:03
Add ledgerCumulativeTxBytes to LedgerQueries and wire it through
LedgerMetrics so that the periodic ledger metrics trace emits an
IntM "cumulativeTxBytes" gauge.

This creates a Prometheus metric cardano_node_metrics_cumulativeTxBytes_int
that can be used with rate() to compute confirmed tx throughput (txkB/s).

The field is read from shelleyCumulativeTxBytes on the ShelleyLedgerState
(added in ouroboros-consensus on the cumulative-tx-size branch). Byron
returns 0.

Picks up shelleyCumulativeTxBytes, the new top-level field on
ShelleyLedgerState that tracks cumulative transaction bytes on the
selected chain.
ouroboros-consensus#1988 has merged, so point the SRP at the tip of
leios-prototype
…es-metric

Expose cumulative tx bytes as a Prometheus metric
Otherwise we can't compile due to

error: builder for '/nix/store/jvg1kv1bjbl1m88qm02hdyq460pxg8gc-cardano-ledger-binary-lib-testlib-1.6.0.0.drv' failed with exit code 1;
       last 10 log lines:
       >         ‘withGenTerm cddlData (Cuddle.Name ruleName)’
       >       In the expression:
       >         withGenTerm cddlData (Cuddle.Name ruleName)
       >           $ roundTripAnnExample lbl version version trip
       >     |
       > 130 |           withGenTerm cddlData (Cuddle.Name ruleName) $
       >     |                                 ^^^^^^^^^^^^^^^^^^^^
…-837

[Leios prototype] Integrate ouroboros-leios#837
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DO NOT MERGE leios Means that this tickets is related to the implementation of ouroboros leios.

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

5 participants