sdk(local_relay): refactor filter limits - #1461
Open
yukibtc wants to merge 1 commit into
Open
Conversation
yukibtc
added a commit
that referenced
this pull request
Aug 22, 2026
Refactor filter limit configuration and checks. Use `max_filter_limit` as the limit for each filter. The combination of `max_filter_limit` and `max_filters_per_req` determines the maximum number of query results per request. Deprecate `LocalRelayBuilder::max_query_results` and `LocalRelayBuilder::default_filter_limit` in favor of `LocalRelayBuilder::max_filters_per_req` and `LocalRelayBuilder::max_filter_limit`, respectively. Replaces #1457 Pull-Request: #1461 Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
yukibtc
force-pushed
the
sdk-req-limits
branch
from
August 22, 2026 07:49
16c334c to
455c41b
Compare
Refactor filter limit configuration and checks. Use `max_filter_limit` as the limit for each filter. The combination of `max_filter_limit` and `max_filters_per_req` determines the maximum number of query results per request. Deprecate `LocalRelayBuilder::max_query_results` and `LocalRelayBuilder::default_filter_limit` in favor of `LocalRelayBuilder::max_filters_per_req` and `LocalRelayBuilder::max_filter_limit`, respectively. Replaces #1457 Pull-Request: #1461 Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
yukibtc
force-pushed
the
sdk-req-limits
branch
from
August 22, 2026 07:56
455c41b to
ccfe4d8
Compare
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Refactor filter limit configuration and checks. Use
max_filter_limitas the limit for each filter. The combination ofmax_filter_limitandmax_filters_per_reqdetermines the maximum number of query results per request.Deprecate
LocalRelayBuilder::max_query_resultsandLocalRelayBuilder::default_filter_limitin favor ofLocalRelayBuilder::max_filters_per_reqandLocalRelayBuilder::max_filter_limit, respectively.Replaces #1457
Checklist
CHANGELOG.md(if applicable)