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

Stop SyncIncomingBlocks from leaking into chainwatch processing; No panics during processing #3526

Merged
merged 2 commits into from
Sep 4, 2020

Conversation

placer14
Copy link
Contributor

@placer14 placer14 commented Sep 3, 2020

@placer14 placer14 added the kind/bug Kind: Bug label Sep 3, 2020
@placer14 placer14 self-assigned this Sep 3, 2020
@placer14 placer14 force-pushed the fix/chainwatch/no-panic-during-processing branch from e677bce to 798f4d7 Compare September 3, 2020 22:38
The SQL query was anchoring data from the `blocks` table, which includes
all blocks seen from SyncIncomingBlocks which isn't always available in
the chainstate via the API. In order to prevent these blocks from
leaking into normal processing (which errors anyway), the join was
changed to allow `blocks_synced` to anchor the set as we originally
intended.
@placer14 placer14 force-pushed the fix/chainwatch/no-panic-during-processing branch from 798f4d7 to abaef98 Compare September 3, 2020 23:15
@magik6k magik6k merged commit 0a62051 into master Sep 4, 2020
@magik6k magik6k deleted the fix/chainwatch/no-panic-during-processing branch September 4, 2020 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Kind: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CWv1: SyncIncomingBlocks data leaks into sync processes
3 participants