| 436 | } |
| 437 | |
| 438 | std::string JSONRPCExecBatch(const Config &config, RPCServer &rpcServer, |
| 439 | const JSONRPCRequest &jreq, const UniValue &vReq) { |
| 440 | UniValue ret(UniValue::VARR); |
| 441 | for (size_t i = 0; i < vReq.size(); i++) { |
| 442 | ret.push_back(JSONRPCExecOne(config, rpcServer, jreq, vReq[i])); |
| 443 | } |
| 444 | |
| 445 | return ret.write() + "\n"; |
| 446 | } |
| 447 | |
| 448 | /** |
| 449 | * Process named arguments into a vector of positional arguments, based on the |
no test coverage detected