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

Method ProcessReply

src/bitcoin-cli.cpp:684–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682 }
683
684 UniValue ProcessReply(const UniValue &reply) override {
685 UniValue result(UniValue::VOBJ);
686 result.pushKV("address", address_str);
687 result.pushKV("blocks", reply.get_obj()["result"]);
688 return JSONRPCReplyObj(result, NullUniValue, 1);
689 }
690
691protected:
692 std::string address_str;

Callers

nothing calls this directly

Calls 2

JSONRPCReplyObjFunction · 0.85
pushKVMethod · 0.80

Tested by

no test coverage detected