Skip to content

Conversation

Liquid369
Copy link
Member

PIVX Core is currently working with a mix of 1.0, 1.1 and 2.0 behaviors for the JSON RPC server.

@Duddino was having issues with a rust json rpc library interfacing with our daemon because of the responses not aligning to the JSON-RPC 2.0 standard behaviors. This backport was identified and has been applied to ensure JSON-RPC 2.0 compatibility.

Behavior changes:

  • Return HTTP 200 "OK" unless there is an error or malformed message
  • Return "error" or "result" not both
  • Streamlined behavior for single and batch requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants