Skip to content

fix: Out of order filter handling - #632

Merged
rustaceanrob merged 1 commit into
2140-dev:masterfrom
rustaceanrob:loupe-11
Oct 21, 2026
Merged

rustaceanrob merged 1 commit into
2140-dev:masterfrom
rustaceanrob:loupe-11

Conversation

@rustaceanrob

Copy link
Copy Markdown
Member

Previously, a malicious node could stall the progress of filter downloads entirely by sending the last filter in a request before the others arrived. In practice this is not an issue because Bitcoin Core responds to requests in order. Fix this by keeping a cursor of the request window, and reject filters when sent out of order.

Reported by Project Loupe

Previously, a malicious node could stall the progress of filter
downloads entirely by sending the last filter in a request before the
others arrived. In practice this is not an issue because Bitcoin Core
responds to requests in order. Fix this by keeping a cursor of the
request window, and reject filters when sent out of order.

_Reported by Project Loupe_
@rustaceanrob
rustaceanrob merged commit 7b1ac8b into 2140-dev:master Oct 21, 2026
10 checks passed
@rustaceanrob
rustaceanrob deleted the loupe-11 branch October 21, 2026 04:27
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