MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / JSONRPCExecBatch

Function JSONRPCExecBatch

src/rpc/server.cpp:438–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438std::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

Callers 1

ProcessHTTPRequestMethod · 0.85

Calls 4

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

Tested by

no test coverage detected