-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pending block queue caching with TTL (#7816)
* Update pending blks queue to ttl one * Update tests * Comment * Gazelle * Fix fuzz * More comments * Fix fuxx import * Nishant's feedback * Happy lint * Return error for len(blks) >= maxBlocksPerSlot * Ensure proposer time conv * don't use gcache's default exp time it's 0 * fix TestService_AddPeningBlockToQueueOverMax * Update beacon-chain/sync/pending_blocks_queue.go Co-authored-by: Nishant Das <nishdas93@gmail.com> * Fix time conversion Co-authored-by: Nishant Das <nishdas93@gmail.com>
- Loading branch information
1 parent
eb7ab16
commit 4b6441f
Showing
10 changed files
with
190 additions
and
81 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.