jgarzik / jgarzik/python-bitcoinrpc

batch call parsing does not conform to JSON-RPC 2.0 standard

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
663
Forks
300
PR merge metrics
No merged PRs in 30d

Description

`AuthProxy.batch_()` should use ids to match responses with requests.

According to https://www.jsonrpc.org/specification: "The Response objects being returned from a batch call MAY be returned in any order within the Array. The Client SHOULD match contexts between the set of Request objects and the resulting set of Response objects based on the id member within each Object."

Now it is assumed that the server will keep the order the same.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.