Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate New Tx Submission Protocol #1259

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Conversation

bolt12
Copy link
Contributor

@bolt12 bolt12 commented Sep 19, 2024

@bolt12 bolt12 self-assigned this Sep 19, 2024
@crocodile-dentist crocodile-dentist force-pushed the bolt12/tx-submission branch 6 times, most recently from 603a614 to 2f0571e Compare September 24, 2024 15:09
The new method leverages a corresponding method recently exposed by
ledger side to provide encoded transaction sizes to eg. diffusion layer.
# Description

This change introduces a new method wireSizeTx for the
LedgerSupportsMempool class. It provides actual CBOR encoded transaction
size as it is when transmitted over the network, which the difffusion
layer could exploit.

Also note that:

- New code should be properly tested (even if it does not add new
features).
- The fix for a regression should include a test that reproduces said
regression.

IntersectMBO/cardano-ledger#4521
IntersectMBO/ouroboros-network#4926
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants