| 491 | } |
| 492 | |
| 493 | std::string JSONRPCExecBatch(const UniValue& vReq) |
| 494 | { |
| 495 | UniValue ret(UniValue::VARR); |
| 496 | for (unsigned int reqIdx = 0; reqIdx < vReq.size(); reqIdx++) |
| 497 | ret.push_back(JSONRPCExecOne(vReq[reqIdx])); |
| 498 | |
| 499 | return ret.write() + "\n"; |
| 500 | } |
| 501 | |
| 502 | UniValue CRPCTable::execute(const std::string &strMethod, const UniValue ¶ms) const |
| 503 | { |
no test coverage detected