Skip to content
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

add 'send_all_block_headers' param for blockHandler #3971

Merged
merged 2 commits into from
Sep 22, 2022

Conversation

sduchesneau
Copy link
Contributor

This is a performance optimization for Block Handlers (requires firehose-ethereum > 1.1.0 to be deployed)

Instead of disabling the CombinedFilter, it will now use the CombinedFilter with:

  • Calls: (none)
  • Logs: (none)
  • SendAllBlockHeaders: true (new field)

This requests that the firehose filter out all the transactions, but still send the block header.

In the case where we also want to match Calls and Logs, it will also use the SendAllBlockHeaders: true parameter, but will include the appropriate Call/Log filters.

@sduchesneau sduchesneau self-assigned this Sep 21, 2022
@sduchesneau sduchesneau force-pushed the stepd/firehose_block_headers_only branch from a167690 to d4a4a19 Compare September 21, 2022 17:52
@sduchesneau sduchesneau merged commit 7fb996b into master Sep 22, 2022
@sduchesneau sduchesneau deleted the stepd/firehose_block_headers_only branch September 22, 2022 15:16
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.

2 participants