aboutsummaryrefslogtreecommitdiff
path: root/src/rpcclient.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-26 11:38:44 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-06-15 15:38:22 +0200
commitb750cf1fb9b6529ab1761b22947677ca78a2c626 (patch)
treed0afe7a6b7f4a33be306f259af83fa871c29146b /src/rpcclient.h
parent0cafb630254c6459ea02f6fc47e1c37bb81a1238 (diff)
downloadbitcoin-b750cf1fb9b6529ab1761b22947677ca78a2c626.tar.xz
Remove cli functionality from bitcoind
As it says on the tin. It was deprecated in version 0.9, and at some point it should be removed. Removes the dependency of bitcoind on libbitcoin-cli.a. Move some functions that used to be shared but are now only used in bitcoin-cli.cpp to that file. After this change, an error is printed (and exit code 1 is returned) when the user tries to send RPC commands using bitcoind.
Diffstat (limited to 'src/rpcclient.h')
-rw-r--r--src/rpcclient.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rpcclient.h b/src/rpcclient.h
index e101d22ec5..840890e34b 100644
--- a/src/rpcclient.h
+++ b/src/rpcclient.h
@@ -10,16 +10,6 @@
#include "json/json_spirit_utils.h"
#include "json/json_spirit_writer_template.h"
-int CommandLineRPC(int argc, char *argv[]);
-
json_spirit::Array RPCConvertValues(const std::string &strMethod, const std::vector<std::string> &strParams);
-/** Show help message for bitcoin-cli.
- * The mainProgram argument is used to determine whether to show this message as main program
- * (and include some common options) or as sub-header of another help message.
- *
- * @note the argument can be removed once bitcoin-cli functionality is removed from bitcoind
- */
-std::string HelpMessageCli(bool mainProgram);
-
#endif