MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / JSONRPCExecBatch

Function JSONRPCExecBatch

src/rpcserver.cpp:493–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493std::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
502UniValue CRPCTable::execute(const std::string &strMethod, const UniValue &params) const
503{

Callers 1

HTTPReq_JSONRPCFunction · 0.85

Calls 4

JSONRPCExecOneFunction · 0.85
sizeMethod · 0.45
push_backMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected