| 199 | } |
| 200 | |
| 201 | std::string HelpExampleRpc(const std::string& methodname, const std::string& args) |
| 202 | { |
| 203 | return "> curl --user myusername --data-binary '{\"jsonrpc\": \"2.0\", \"id\": \"curltest\", " |
| 204 | "\"method\": \"" + methodname + "\", \"params\": [" + args + "]}' -H 'content-type: application/json' http://127.0.0.1:8332/\n"; |
| 205 | } |
| 206 | |
| 207 | std::string HelpExampleRpcNamed(const std::string& methodname, const RPCArgList& args) |
| 208 | { |
no outgoing calls