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

Function JSONRPCExecBatch

src/rpc/core/rpcserver.cpp:426–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426string JSONRPCExecBatch(const Array& vReq) {
427 Array ret;
428 for (unsigned int reqIdx = 0; reqIdx < vReq.size(); reqIdx++)
429 ret.push_back(JSONRPCExecOne(vReq[reqIdx]));
430
431 return write_string(Value(ret), false) + "\n";
432}
433
434json_spirit::Value CRPCTable::execute(const string& strMethod,
435 const json_spirit::Array& params) const {

Callers 1

JsonRPCHandlerFunction · 0.85

Calls 5

JSONRPCExecOneFunction · 0.85
write_stringFunction · 0.85
ValueFunction · 0.85
push_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected