mirror of https://github.com/bitcoin/bitcoin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
559 B
10 lines
559 B
2 years ago
|
JSON-RPC
|
||
|
--------
|
||
|
|
||
|
The JSON-RPC server now recognizes JSON-RPC 2.0 requests and responds with
|
||
|
strict adherence to the specification (https://www.jsonrpc.org/specification):
|
||
|
|
||
|
- Returning HTTP "204 No Content" responses to JSON-RPC 2.0 notifications instead of full responses.
|
||
|
- Returning HTTP "200 OK" responses in all other cases, rather than 404 responses for unknown methods, 500 responses for invalid parameters, etc.
|
||
|
- Returning either "result" fields or "error" fields in JSON-RPC responses, rather than returning both fields with one field set to null.
|