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

RPC server: thread safety (+ small fix to on_getblockhash) #7937

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

j-berman
Copy link
Collaborator

@j-berman j-berman changed the title RPC server: make get_info thread safe (+ other tiny concurrency wins) [WIP] RPC server: make get_info thread safe (+ other tiny concurrency wins) Sep 13, 2021
@j-berman j-berman changed the title [WIP] RPC server: make get_info thread safe (+ other tiny concurrency wins) RPC server: thread safety (+ small fix to on_getblockhash) Sep 14, 2021
- grab an lmdb db_rtxn_guard to ensure consistent data from the db
- fixed on_getblockhash error resp when requested height >= blockchain height
- left functions that read shared memory untouched for now
@luigi1111 luigi1111 merged commit 50410d1 into monero-project:master Apr 6, 2022
j-berman added a commit to j-berman/monero that referenced this pull request Jun 13, 2022
This reverts commit 50410d1, reversing
changes made to d054def.
selsta pushed a commit to selsta/monero that referenced this pull request Jun 22, 2022
This reverts commit 50410d1, reversing
changes made to d054def.
luigi1111 added a commit that referenced this pull request Jul 3, 2022
8460fcc Revert 'Merge pull request #7937' (j-berman)
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.

4 participants