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

[Network] NakamotoDownloadStateMachine::load_tenure_start_blocks() is slow #5204

Closed jcnelson closed 1 month ago

jcnelson commented 1 month ago

The function NakamotoDownloadStateMachine::load_tenure_start_blocks() is slow. It takes ~60ms to run for a reward cycle of just 20 blocks. It will need to be optimized through caching, or possibly dropped in favor of something else before mainnet.

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.