mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
[doc] Add RPC response notes
This commit is contained in:
parent
3f726c99f8
commit
62ecce75e4
@ -619,3 +619,8 @@ A few guidelines for introducing and reviewing new RPC interfaces:
|
||||
- *Rationale*: as well as complicating the implementation and interfering
|
||||
with the introduction of multi-wallet, wallet and non-wallet code should be
|
||||
separated to avoid introducing circular dependencies between code units.
|
||||
|
||||
- Try to make the RPC response a JSON object.
|
||||
|
||||
- *Rationale*: If a RPC response is not a JSON object then it is harder to avoid API breakage if
|
||||
new data in the response is needed.
|
||||
|
Loading…
Reference in New Issue
Block a user