Skip to content

Conversation

@geo2a
Copy link
Contributor

@geo2a geo2a commented Dec 24, 2025

Needs #1816

TODO:

  • the s-r-p on kes-agent must point to main
  • the s-r-p on network must point to main
  • release typed-protocols

The new method leverages a corresponding method recently exposed by
ledger side to provide encoded transaction sizes to eg. diffusion layer.

- Integrate new tx submission protocol
- txWireSize: Byron txs overhead

We need to add 2 bytes overhead for `EncCBOR (AMempoolPayload
ByteString)`. See:
https://github.com/IntersectMBO/cardano-ledger/blob/cardano-ledger-byron-1.1.0.0/eras/byron/ledger/impl/src/Cardano/Chain/MempoolPayload.hs#L73-L81

- txWireSize: wrapCBORinCBOR overhead for Shelley txs
- Take into account the overhead of `wrapCBORinCBOR`.
- txWireSize: added overhead for HardFork txs
- Added HFC overhead.  This overestimates it, if the HFC is disabled.
- txWireSize: added tests
- Use txWireSize when computing tx-sizes for ouroboros-network

Co-Author: Armando Santos <[email protected]>
Co-Author: Marcin Szamotulski <[email protected]>
Co-Author: Marcin Wójtowicz <[email protected]>
@geo2a geo2a force-pushed the geo2a/10.7-integration-network branch from b3d3d92 to a89747b Compare January 2, 2026 09:54
@geo2a geo2a force-pushed the geo2a/10.7-integration-network branch from a89747b to f020af8 Compare January 2, 2026 10:05
This version is compatible with QuickCheck 2.15 and lower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants