aboutsummaryrefslogtreecommitdiff
path: root/src/rpcclient.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-11-27 15:41:12 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-12-03 09:07:13 +0100
commit0b47fe6bdc14e942bc886a08a55cc183c6820636 (patch)
tree36e789aef8cf8df1d15752a207bfd2461a2232bf /src/rpcclient.h
parente7e8a7537a8106bace2886fd7e6480f561986998 (diff)
bitcoin-cli: remove unneeded dependencies (only code movement)
Remove unnecessary dependencies for bitcoin-cli (leveldb, berkelydb, wallet, RPC server) Build system changes: - split libbitcoin.a into libbitcoin_common.a, libbitcoin_server.a and libbitcoin_cli.a Code changes (movement only): - split up HelpMessage into HelpMessage in init.cpp and HelpMessageCli in rpcclient.cpp - move uiInterface from init.cpp to util.cpp
Diffstat (limited to 'src/rpcclient.h')
-rw-r--r--src/rpcclient.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rpcclient.h b/src/rpcclient.h
index f3ea56c25b..e101d22ec5 100644
--- a/src/rpcclient.h
+++ b/src/rpcclient.h
@@ -14,4 +14,12 @@ 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