XRPLF / xrpl-dev-portal

Source code for xrpl.org including developer documentation
https://xrpl.org
Other
519 stars 1.01k forks source link

Document "ripplerpc": "3.0" option #1458

Open intelliot opened 2 years ago

intelliot commented 2 years ago

This is a reminder to document the "ripplerpc": "3.0" option if/when the following PR gets merged.

https://github.com/XRPLF/rippled/pull/4143

mDuo13 commented 1 year ago

Also document any general differences that "ripplerpc": "2.0" applies as well. https://github.com/XRPLF/rippled/pull/1907 (I'm currently not sure what changes, if any, are applied as a result of passing either version)

mDuo13 commented 1 year ago

The 2.0 stuff is related to supporting JSON-RPC 2.0 (differences from 1.0, generally, not specific to rippled, are here: http://www.simple-is-better.org/rpc/#differences-between-1-0-and-2-0 ).

The 3.0 stuff mainly lets the response use non-200 HTTP status codes for errors, which causes the JSON-RPC API to behave a bit more like a RESTful API.