Skip to content

Add TrivialTxs to the Haskell simulator #440

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

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

Conversation

nfrisby
Copy link
Collaborator

@nfrisby nfrisby commented Jul 1, 2025

TODO this PR is incomplete

So far, it merely enriches the Relay mini protocol to limit bytes in-flight. This seems relevant for txs, since we'll probably want a relatively large window for them, but there's nothing bounding the amount of them. Thus a (maleficent?) peer might have the opportunity to send a large bolus of bytes.

That won't happen in the simulations, since we're not simulating adversaries, but the random txs could vary in that direction, and so the logic needed to mitigate the attack vector might also constrain the flow of honest traffic.

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.

1 participant