sync hashBlocks performance issue #2857
Labels
prio-medium
Resolve this some time soon (tm).
scope-performance
Performance issue and ideas to improve performance.
Describe the bug
Sync module tracks the blocks downloaded to do peer scoring latter. However a CPU profile reveals it's a very expensive operation. How can the sync module track the blocks in a succinct unique manner without having to hash all the blocks upfront?
Expected behavior
Track blocks in a cheap manner
Steps to Reproduce
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: