Skip to content

netsync: Limit manual request maps.#3687

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:netsync_limit_manual_req_maps
May 6, 2026
Merged

netsync: Limit manual request maps.#3687
davecgh merged 1 commit intodecred:masterfrom
davecgh:netsync_limit_manual_req_maps

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented May 4, 2026

This applies the same request limits to manual requests as are applied to all of the netsync internal automatic request logic.

The limiting mechanism this adds for manually requested transactions is intentionally slightly different than what is applied to the automatic request logic. In particular, the new additional manual request limiting only requests up to the max possible and ignores the rest.

This distinction is made because the automatic code is more geared towards recency and has a variety of other logic that ultimately places stricter controls on the requests. On the other hand, manual requests are biased toward immediacy and have a larger theoretical attack surface.

@davecgh davecgh added this to the 2.2.0 milestone May 4, 2026
This applies the same request limits to manual requests as are applied
to all of the netsync internal automatic request logic.

The limiting mechanism this adds for manually requested transactions is
intentionally slightly different than what is applied to the automatic
request logic.  In particular, the new additional manual request
limiting only requests up to the max possible and ignores the rest.

This distinction is made because the automatic code is more geared
towards recency and has a variety of other logic that ultimately places
stricter controls on the requests.  On the other hand, manual requests
are biased toward immediacy and have a larger theoretical attack
surface.
@davecgh davecgh force-pushed the netsync_limit_manual_req_maps branch from faa79d6 to 16e1f95 Compare May 6, 2026 22:09
@davecgh davecgh merged commit 16e1f95 into decred:master May 6, 2026
32 checks passed
@davecgh davecgh deleted the netsync_limit_manual_req_maps branch May 6, 2026 22:40
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.

4 participants