forked from ava-labs/coreth
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cortina 16: Ava-labs/core-eth v0.12.9-rc5 (avalanchego 1.10.16) #92
Merged
Conversation
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
Co-authored-by: aaronbuchwald <[email protected]>
* ethclient: restore special casing in ToBlockNumArg * add explicit SafeBlockNumber * wspace * add string
* make prefetcher thread-safe * outline TODOs * add more TODOs * add more TODOs * update miner to use prefetcher * remove Copy2 * work on refactoring prefetcher for concurrent use * keep on keeping on * spec multi-trie * limit prefetching across all subfetchers * making progress * add functionality to wait * remove addressed TODOs * rename sm * more cleanup * move term to mt * more moving around * move loop into prefetcher * more cleanup * outline todo for using a single queue * working through single channel * continuing refactor * make sure to return copy * change name to trie orchestrator * more progress on revamp * skip prefetch if to is nil * start task processing * remove unnecessary changes * add more stop behavior * add comment for miner prefetcher * add comments for const * tests passing locally * cleanup usage of wg * track time spent waiting on fetcher * track skips * nit on prefetcher * don't clear state channel * cleanup restore outstanding requests * add debugging logs * remove verbose logging * ensure inner loop uses different variables * clean up var naming * replace panics with logs * set target task size as fixed * remove loop checks * clearer metrics tracking * use bounded workers * use cancelable context * copy meter * add doneLock * add more comments * simplify bounded workers * track outstanding work * Stop -> Wait * allow copies up to maxConcurrentReads * add largest load metric * lint * respect metrics enabled * track num fetchers * build works * fix prefetcher test * don't clear pending tasks when waiting * cleanup trie prefetcher scale up * update tests with parallelism * use spawner instead of spawn * fix more tests * fix shutdown stall * update default parallelism to 48 * spawn trie per key * change prefetcher parallelism to 16 * add TODO * remove context from bounded workers * remove context from bounded workers * remove delivery metrics * handle shutdown in wait * remove extra locking * rename var * update comments around shutdown path * reorder channel vars * use processingTasks instead of outstandingRequests * fix comment on panic * ensure idle workers are fed first * try live copy first * remove unnecessary waitgroup * honor stop
…ock requests (ava-labs#402) * sync/handlers: add soft cap on total block data size while serving block requests * sync/handlers: add block that exceeds soft cap if it's the first block * plugin/evm: update network codec size to 2MB * address nits * Add comment to p2p codec max message size
# Conflicts: # RELEASES.md # core/blockchain.go # go.sum # plugin/evm/version.go # scripts/versions.sh
evlekht
approved these changes
Mar 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why this should be merged
This PR contains changes from ava-labs/core-eth between cortina-14 and cortina-15. Its required for upcoming merge of cortina-15 changes to caminogo.
Notable changes
Diff with previous tag
v1.1.15-rc1
(coreth v0.12.8-rc.1) ava-labs/coreth@v0.12.8-rc.1...v0.12.9-rc.5How this works
Conflicts
Fixes
N/A
How this was tested
Automated unit tests