diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-09-06 19:38:33 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-09-06 19:39:00 +0200 |
| commit | 21e2f2f79961a1f0235577d4c69b178f3e2e6297 (patch) | |
| tree | d5265e44a944520175f857ace763df388fb9bec6 | |
| parent | Merge #11210: Stop test_bitcoin-qt touching ~/.bitcoin (diff) | |
| parent | [doc] Add RPC response notes (diff) | |
| download | discoin-21e2f2f79961a1f0235577d4c69b178f3e2e6297.tar.xz discoin-21e2f2f79961a1f0235577d4c69b178f3e2e6297.zip | |
Merge #11135: Update developer notes with RPC response guidelines
62ecce75e [doc] Add RPC response notes (João Barbosa)
Pull request description:
Tree-SHA512: 795969813eefab47ac03050bd70762fc36d86edb00bdfe1ba76837a810370d61dc88749c51153bd3949eb3885f084b4ba8736b4bbf90dfef65e3fe1939304bd8
| -rw-r--r-- | doc/developer-notes.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/developer-notes.md b/doc/developer-notes.md index 2f04d6ee6..4694175a9 100644 --- a/doc/developer-notes.md +++ b/doc/developer-notes.md @@ -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. |