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

Method PrepareRequest

src/bitcoin-cli.cpp:762–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760{
761public:
762 UniValue PrepareRequest(const std::string& method, const std::vector<std::string>& args) override
763 {
764 address_str = args.at(1);
765 UniValue params{RPCConvertValues("generatetoaddress", args)};
766 return JSONRPCRequestObj("generatetoaddress", params, 1);
767 }
768
769 UniValue ProcessReply(const UniValue &reply) override
770 {

Callers

nothing calls this directly

Calls 3

RPCConvertValuesFunction · 0.85
JSONRPCRequestObjFunction · 0.85
atMethod · 0.45

Tested by

no test coverage detected