You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once this cap is reached, the syncing stalls. It shouldn't.
I believe that the issue is that unverified blocks removes too much information, and the state machine isn't capable of downloading back the next block.
When I commented out this block of code, the syncing didn't stall:
cc #2793
After trying to analyze the problem, I've decided to leave it to
future-me.
It is very complicated to determine which entries in the list of "blocks
known by a source" should be kept and which can be thrown away. There
are several other TODOs related to that in the code.
For now, this PR fixes the sync stalling.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
There exists a cap to the number of unverified blocks:
smoldot/src/sync/all_forks.rs
Line 1391 in 62ff6b7
Once this cap is reached, the syncing stalls. It shouldn't.
I believe that the issue is that unverified blocks removes too much information, and the state machine isn't capable of downloading back the next block.
When I commented out this block of code, the syncing didn't stall:
smoldot/src/sync/all_forks.rs
Lines 1405 to 1409 in 62ff6b7
The text was updated successfully, but these errors were encountered: