Skip to content

Bug: block download process gets stuck sometimes #733

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

Closed
iltoga opened this issue Apr 6, 2020 · 0 comments · Fixed by #734
Closed

Bug: block download process gets stuck sometimes #733

iltoga opened this issue Apr 6, 2020 · 0 comments · Fixed by #734
Assignees
Labels
BUG Something isn't working

Comments

@iltoga
Copy link
Contributor

iltoga commented Apr 6, 2020

Description

node C download the blockchain starting from a snapshot at height 2160.

this is the flow of receipt:
at height 1445 - node A send receipt to node B
at height 2161 - node B published the receipt it got on 1445
at height 3000 - node C join, download snapshot 2160, apply onward

when node C apply block 2161, the it can't validate the receipt because it doesn't have node registry at height 1445.

Solution

include in snapshots node_registry entries to match published_receipts (all entries starting from snapshotHeight - minRollbackHeight)

Steps to reproduce

  1. See description

Expected behavior

node C doesn't get stuck downloading remaining main blocks from snapshotHeight

@iltoga iltoga added the BUG Something isn't working label Apr 6, 2020
@iltoga iltoga self-assigned this Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant