Skip to content
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

Merge v0.10.7 into dev #74

Merged
merged 14 commits into from
Feb 1, 2024
Merged

Merge v0.10.7 into dev #74

merged 14 commits into from
Feb 1, 2024

Conversation

cp-wjhan
Copy link

  • Merge v0.10.7 into dev
  • internal/ethapi: made ecrecover run parallel in GetReceiptsByHash
  • node: fix HTTP server always force closing
  • p2p: move ping handling into pingLoop goroutine

cp-khs and others added 14 commits December 7, 2023 10:08
…api performance enhancement

- added connection check during GetBlockByXXX and GetReceiptsByHash call to cancel requests for timed-out connections
  added context argument to ethapi.RPCMarshalBlock for this
- put a limit on the concurrent requests for GetBlockByXXX and GetReceiptsByHash: params.MaxPublicRequests
- added a cache for marshaled block and receipts for GetBlockByXXX and getReceiptsByHash: params.PublicRequestsCacheLocation
cmd/geth,cmd/utils,params: Add random list setting for Bootnodes.
# Conflicts:
#	cmd/geth/usage.go
#	cmd/utils/flags.go
#	internal/ethapi/api.go
Moving the response sending there allows tracking all peer goroutines
in the peer WaitGroup.
@cp-wjhan cp-wjhan requested review from cp-jhjin and sadoci January 30, 2024 00:49
Copy link

@sadoci sadoci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cp-jhjin cp-jhjin merged commit 2c35423 into wemixarchive:dev Feb 1, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants