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

Function JSONRPCReply

src/rpc/protocol.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47std::string JSONRPCReply(const UniValue& result, const UniValue& error, const UniValue& id)
48{
49 UniValue reply = JSONRPCReplyObj(result, error, id);
50 return reply.write() + "\n";
51}
52
53UniValue JSONRPCError(int code, const std::string& message)
54{

Callers 2

JSONErrorReplyFunction · 0.85
HTTPReq_JSONRPCFunction · 0.85

Calls 2

JSONRPCReplyObjFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected