diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-05-26 11:38:44 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-06-15 15:38:22 +0200 |
| commit | b750cf1fb9b6529ab1761b22947677ca78a2c626 (patch) | |
| tree | d0afe7a6b7f4a33be306f259af83fa871c29146b /src/rpcclient.h | |
| parent | bitcoin-cli, rpcclient: prefer EXIT_FAILURE cstdlib constant (diff) | |
| download | discoin-b750cf1fb9b6529ab1761b22947677ca78a2c626.tar.xz discoin-b750cf1fb9b6529ab1761b22947677ca78a2c626.zip | |
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.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rpcclient.h b/src/rpcclient.h index e101d22ec..840890e34 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 |