Skip to content

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