aboutsummaryrefslogtreecommitdiff
path: root/src/script.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-06-24 02:01:28 -0400
committerJeff Garzik <[email protected]>2012-07-03 22:53:57 -0400
commit613389019e6e3c0e903f78f6186d598c5194c395 (patch)
tree4ee9314b7d5f8bce126101308142b5784bc7f9a2 /src/script.cpp
parentRPC: break out high level JSON-RPC req/resp into their own functions (diff)
downloaddiscoin-613389019e6e3c0e903f78f6186d598c5194c395.tar.xz
discoin-613389019e6e3c0e903f78f6186d598c5194c395.zip
RPC: add support for JSON-RPC 2.0-style request batching
If the top-level object is an array, it is assumed to be an array of JSON-RPC requests. An array is returned, containing one response (error or not) per request, in the order submitted. In a slight change in semantics, batched requests -always- return an HTTP 200 OK status, even ones full of invalid or incorrect requests.
Diffstat (limited to 'src/script.cpp')
0 files changed, 0 insertions, 0 deletions