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

Improvements to UTxO-HD: mempool snapshotting #1382

Merged
merged 6 commits into from
Feb 10, 2025
Merged

Conversation

jasagredo
Copy link
Contributor

@jasagredo jasagredo commented Feb 6, 2025

This PR accumulates some improvements for UTxO-HD that result in benefits for mempool snapshotting, which is part of the critical path for block minting (and therefore block diffusion). Running in a full-block synthetic chain shows these times for 50 consecutive mempool snapshots:

  • pre: at utxo-hd-main before this PR
  • caf: pre + moving the Cardano tx out translations to a CAF
  • no-diffs: caf + do not compute diffs when snapshotting the mempool
  • no-shtxin: no-diffs + remove the ShelleyTxIn newtype

plot

@jasagredo jasagredo changed the title WIP: improvements to UTxO-HD Improvements to UTxO-HD: mempool snapshotting Feb 7, 2025
@jasagredo jasagredo self-assigned this Feb 7, 2025
@jasagredo jasagredo marked this pull request as ready for review February 7, 2025 12:11
@nfrisby
Copy link
Contributor

nfrisby commented Feb 7, 2025

I edited the PR description a little.

nfrisby
nfrisby previously requested changes Feb 7, 2025
Copy link
Contributor

@nfrisby nfrisby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly comments, fewer bangs, etc.

@jasagredo
Copy link
Contributor Author

I dismissed the request for changes because the request was mostly about comments and I added those.

@jasagredo jasagredo merged commit b0f07c7 into utxo-hd-main Feb 10, 2025
10 of 13 checks passed
@jasagredo jasagredo deleted the js/tails-caf branch February 10, 2025 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants