| 380 | } |
| 381 | |
| 382 | std::string JSONRPCExecBatch(const JSONRPCRequest& jreq, const UniValue& vReq) |
| 383 | { |
| 384 | UniValue ret(UniValue::VARR); |
| 385 | for (unsigned int reqIdx = 0; reqIdx < vReq.size(); reqIdx++) |
| 386 | ret.push_back(JSONRPCExecOne(jreq, vReq[reqIdx])); |
| 387 | |
| 388 | return ret.write() + "\n"; |
| 389 | } |
| 390 | |
| 391 | /** |
| 392 | * Process named arguments into a vector of positional arguments, based on the |
no test coverage detected