Skip to content

An ingress size limit for SigSubmission#34

Merged
coot merged 1 commit intomainfrom
coot/sig-ingress-limit
Feb 27, 2026
Merged

An ingress size limit for SigSubmission#34
coot merged 1 commit intomainfrom
coot/sig-ingress-limit

Conversation

@coot
Copy link
Contributor

@coot coot commented Feb 27, 2026

List of changes

  • Ingress size limit for SigSubmission.

Checklist

  • related issue
  • My changes generate no new warnings
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

Copy link
Contributor

@karknu karknu left a comment

Choose a reason for hiding this comment

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

LGTM.
Just a spelling error and a suggestion.

maxNumTxIdsToRequest = maxSigsInflight,
maxUnacknowledgedTxIds = 4 * maxSigsInflight,
txsSizeInflightPerPeer = maxSigSize * fromIntegral maxSigsInflight,
maxTxsSizeInflight = 250_000,
Copy link
Contributor

Choose a reason for hiding this comment

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

How about using the text in the comment as maxTxsSizeInflight inflight limit instead of the lower 250k?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The maxTxSizeInflight will go away soon, so I phrased it to be future-proof.

@coot coot force-pushed the coot/sig-ingress-limit branch from cf58ec2 to 60fe179 Compare February 27, 2026 17:28
@coot coot added this pull request to the merge queue Feb 27, 2026
Merged via the queue into main with commit 8889557 Feb 27, 2026
8 of 9 checks passed
@coot coot deleted the coot/sig-ingress-limit branch February 27, 2026 20:40
@github-project-automation github-project-automation bot moved this from In Progress to Done in Ouroboros Network Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants