stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 671 forks source link

[Nakamoto] buffer and handle pushed StackerDB chunks that arrive just before the Stacks tenure advances #5116

Closed jcnelson closed 2 months ago

jcnelson commented 2 months ago

The Bitcoin blockchain and Stacks blockchain replicas do not advance at a uniform pace. As such, StackerDB chunks can get pushed to a node that doesn't have an up-to-date view of the Stacks chain -- often it's behind by one tenure. We need to extend the unsolicited message handling logic to buffer StackerDB pushed chunks for one tenure if they can't be processed immediately, and retry them once the tenure advances.

jcnelson commented 2 months ago

This is addressed in #5118

blockstack-devops commented 3 weeks ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.