Skip to content

Commit

Permalink
Monacoin: Remove functions.
Browse files Browse the repository at this point in the history
They were moved by Bitcoin-core.
  • Loading branch information
cryptcoin-junkey committed Feb 20, 2021
1 parent 7a1ed0a commit f2a6201
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/rpc/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -464,17 +464,6 @@ std::vector<std::string> CRPCTable::listCommands() const
return commandList;
}

std::string HelpExampleCli(const std::string& methodname, const std::string& args)
{
return "> monacoin-cli " + methodname + " " + args + "\n";
}

std::string HelpExampleRpc(const std::string& methodname, const std::string& args)
{
return "> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", "
"\"method\": \"" + methodname + "\", \"params\": [" + args + "] }' -H 'content-type: text/plain;' http://127.0.0.1:9402/\n";
}

void RPCSetTimerInterfaceIfUnset(RPCTimerInterface *iface)
{
if (!timerInterface)
Expand Down

0 comments on commit f2a6201

Please sign in to comment.