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

fix: resolve empty filter related message bug #4270

Merged

Conversation

quake
Copy link
Member

@quake quake commented Dec 19, 2023

What problem does this PR solve?

ckb full node may generate an empty filter related message and send it to light client since the filter data are built asynchronously, this may cause the light client to ban the ckb node.

What is changed and how it works?

change to use latest_built_filter_block_number to replace the tip number when building filter message.

Check List

Tests

  • Unit test
  • Integration test

Release note

Title Only: Include only the PR title in the release note.

@quake quake requested a review from a team as a code owner December 19, 2023 02:30
@quake quake requested review from zhangsoledad, yangby-cryptape and a team and removed request for a team December 19, 2023 02:30
@quake quake added this pull request to the merge queue Dec 19, 2023
@eval-exec eval-exec added m:light-client module: ckb-light-client m:sync module: ckb-sync and removed m:light-client module: ckb-light-client labels Dec 19, 2023
@github-merge-queue github-merge-queue bot merged commit 3e17637 into nervosnetwork:develop Dec 19, 2023
33 checks passed
@doitian doitian mentioned this pull request Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
m:sync module: ckb-sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants