Skip to content

Use read lock for Content, Pending, ToJournal methods#698

Closed
KyrinCode wants to merge 2 commits intoethereum-optimism:optimismfrom
KyrinCode:fix-locks-in-txpool
Closed

Use read lock for Content, Pending, ToJournal methods#698
KyrinCode wants to merge 2 commits intoethereum-optimism:optimismfrom
KyrinCode:fix-locks-in-txpool

Conversation

@KyrinCode
Copy link
Copy Markdown
Contributor

Description

Changed mutex locking from exclusive to read-only for improved concurrency.

Additional context

This is the PR for upstream go-ethereum.

Changed mutex locking from exclusive to read-only for improved concurrency.
@KyrinCode KyrinCode requested a review from a team as a code owner October 16, 2025 15:56
Comment thread core/txpool/legacypool/legacypool.go Outdated
Comment thread core/txpool/legacypool/legacypool.go Outdated
Comment thread core/txpool/legacypool/legacypool.go Outdated
@ajsutton
Copy link
Copy Markdown
Contributor

Thanks but this change would be better submitted to upstream geth and then will be pulled through to op-geth as part of pulling in geth releases. We try to minimise the diff from upstream to make maintenance easier.

@ajsutton ajsutton closed this Oct 17, 2025
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.

2 participants