jgarzik / jgarzik/python-bitcoinrpc
batch call parsing does not conform to JSON-RPC 2.0 standard
- Lingua principale
- Python
- Stelle
- 663
- Fork
- 300
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
`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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start at AuthProxy.batch_(), where batch responses are currently assumed to preserve request order. Read the JSON-RPC 2.0 batch specification and trace how request and response ids are represented. Done means responses are matched to their requests by id even when the server returns them in a different order.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100