-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve log fetch block range decision (#38)
* improve log fetch block range dicision * change fixed number to const variable * fix: prevent share blockRangeManager across all verse * delete blockRangeManager from the struct * respond feed back from @ironbeer * Add NextIndexEventEmittedBlock method * Modify NextIndexEventEmittedBlock method to GetEventEmittedBlock * Add utility funcs * Modify return type * Improved determining start and end block of verification * Improved determining start and end block of verification * Add generics SyncMap * Background publishing of unverified signatures * Adjustment of intervals * Add comment * Move backoffDecr * Catch publish error * Exit log of background tasks * Improved log * Unwrap shortage error * Fixed an issue where receiving unverified signatures was missed due to `peer == proc.peer` * Improved error name * Add util.WorkerPool * Add header get method with caching * Add global verse pool * Improved woker pool * Support for verse pool * Add task cache cleanup * Rename ticker * Reducing RPC load for event retrieval request * Fixed overflow bug * Fixed workers were blocked due to an infinite loop --------- Co-authored-by: ironbeer <[email protected]>
- Loading branch information
Showing
29 changed files
with
2,473 additions
and
638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.