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

TxSubmission - add initial delay before requesting transactions #4930

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

crocodile-dentist
Copy link
Contributor

Description

We delay initial request for transactions from a client to conserve network resources in case he disconnects relatively quickly for reasons in the referenced issue.

resolves #4927

Checklist

Quality

  • Commit sequence makes sense and have useful messages, see ref.
  • New tests are added and existing tests are updated.
  • Self-reviewed the PR.

Maintenance

  • Linked an issue or added the PR to the current sprint of ouroboros-network project.
  • Added labels.
  • Updated changelog files.
  • The documentation has been properly updated, see ref.

@crocodile-dentist crocodile-dentist requested a review from a team as a code owner August 13, 2024 09:48
@crocodile-dentist crocodile-dentist force-pushed the mwojtowicz/tx-submission-initial-delay branch from 4aeab2e to 65be023 Compare August 13, 2024 09:55
@crocodile-dentist crocodile-dentist added the tx-submission Issues related to tx-submission protocol label Aug 13, 2024
@crocodile-dentist crocodile-dentist force-pushed the mwojtowicz/tx-submission-initial-delay branch from 65be023 to 6575f23 Compare August 13, 2024 09:58
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

@crocodile-dentist crocodile-dentist force-pushed the mwojtowicz/tx-submission-initial-delay branch 3 times, most recently from 0223712 to 59afec6 Compare August 13, 2024 19:09
This change delays initial request for transactions from the client,
whom may disconnect relatively quickly for reasons described in
IntersectMBO/ouroboros-network issue #4927.
@crocodile-dentist crocodile-dentist force-pushed the mwojtowicz/tx-submission-initial-delay branch from 59afec6 to 53e133d Compare August 14, 2024 06:35
@coot coot self-requested a review August 14, 2024 15:13
Copy link
Contributor

@coot coot left a comment

Choose a reason for hiding this comment

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

LGTM

@coot coot added this pull request to the merge queue Aug 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Aug 20, 2024
@disassembler disassembler added this pull request to the merge queue Aug 20, 2024
Merged via the queue into master with commit bf205c2 Aug 20, 2024
14 checks passed
@disassembler disassembler deleted the mwojtowicz/tx-submission-initial-delay branch August 20, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tx-submission Issues related to tx-submission protocol
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Temper initial eagerness when requesting transactions
4 participants