MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ProcessReply

Method ProcessReply

src/bitcoin-cli.cpp:769–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

767 }
768
769 UniValue ProcessReply(const UniValue &reply) override
770 {
771 UniValue result(UniValue::VOBJ);
772 result.pushKV("address", address_str);
773 result.pushKV("blocks", reply.get_obj()["result"]);
774 return JSONRPCReplyObj(std::move(result), NullUniValue, /*id=*/1, JSONRPCVersion::V2);
775 }
776protected:
777 std::string address_str;
778};

Callers

nothing calls this directly

Calls 2

JSONRPCReplyObjFunction · 0.85
pushKVMethod · 0.80

Tested by

no test coverage detected