nimiq / core-rs-albatross

Rust implementation of the Albatross protocol
https://nimiq.com
Other
128 stars 43 forks source link

Fix eternally paused state sync and chunk ordering issues #2677

Closed paberr closed 1 week ago

paberr commented 1 week ago

What's in this pull request?

In combination with validity sync issues, we saw state sync getting stuck. This could happen if we synced all chunks (end_key = None) and subsequently paused state sync but then failed to apply the last chunk.

This PR addresses the issue in two ways:

Pull request checklist

viquezclaudio commented 1 week ago

I tested this fixes the validity sync stuck issue