RPC: near-parity with JSON-RPC 2.0 specification - #692
Open
redsh4de wants to merge 1 commit into
Open
Conversation
redsh4de
force-pushed
the
feat/jsonrpc2-compl
branch
from
August 24, 2026 19:16
1bce07b to
cacc603
Compare
redsh4de
force-pushed
the
feat/jsonrpc2-compl
branch
from
August 26, 2026 13:31
cacc603 to
ba7abab
Compare
redsh4de
marked this pull request as ready for review
August 26, 2026 18:26
redsh4de
force-pushed
the
feat/jsonrpc2-compl
branch
2 times, most recently
from
August 27, 2026 08:49
5347081 to
98e1f29
Compare
redsh4de
force-pushed
the
feat/jsonrpc2-compl
branch
from
August 27, 2026 09:33
a0f4fa6 to
9aef740
Compare
This file contains hidden or 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
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.
What
Brings the RPC closer to compliance with the JSON-RPC 2.0 specification
Not implemented are support for negative ids and batch requests (#694). The latter could be done after the rate limit changes in #685
Why
Correctness
Where
rpcHow
"id": null-32700 Parse errorfor malformed JSON-32600 Invalid Requestfor invalid request structures-32601 Method not foundfor unknown methods-32602 Invalid paramsfor malformed method parameters-32603 Internal errorfor internal failures"id": nullwhen the request ID cannot be determined