-
Notifications
You must be signed in to change notification settings - Fork 1
(DRAFT) mmn cleanup block ordering #321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
p2p/block_ordering.go
Outdated
|
|
||
| // Trigger cleanup after processing blocks - use the latest processed slot | ||
| latestProcessedSlot := processedBlocks[len(processedBlocks)-1].Slot | ||
| ln.cleanupBlockOrderingQueue(latestProcessedSlot) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why we need this clean logic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i removed this only clean every 1500 blocks
hoangdohuy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review logic again! I not sure why you need this clean logic?
hoangdohuy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally we dont need handle this cleanup.
-> If we need to call cleanupBlockOrderingQueue maybe have something wrong with our logic so please add log warn when start and finish cleanupBlockOrderingQueue function.
No description provided.