| 413 | } |
| 414 | |
| 415 | std::string JSONRPCExecBatch(const JSONRPCRequest& jreq, const UniValue& vReq) |
| 416 | { |
| 417 | UniValue ret(UniValue::VARR); |
| 418 | for (unsigned int reqIdx = 0; reqIdx < vReq.size(); reqIdx++) |
| 419 | ret.push_back(JSONRPCExecOne(jreq, vReq[reqIdx])); |
| 420 | |
| 421 | return ret.write() + "\n"; |
| 422 | } |
| 423 | |
| 424 | /** |
| 425 | * Process named arguments into a vector of positional arguments, based on the |
no test coverage detected