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

Function JSONRPCExecBatch

src/rpc/server.cpp:415–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415std::string JSONRPCExecBatch(const JSONRPCRequest& jreq, const UniValue& vReq)
416{
417 UniValue ret(UniValue::VARR);
418 for (unsigned int reqIdx = 0; reqIdx < vReq.size(); reqIdx++)
419 ret.push_back(JSONRPCExecOne(jreq, vReq[reqIdx]));
420
421 return ret.write() + "\n";
422}
423
424/**
425 * Process named arguments into a vector of positional arguments, based on the

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