Add separate bitcoin-rpc client

This adds an executable `bitcoin-rpc` that only serves as a Bitcoin RPC
client.
The commit does not remove RPC functionality from the `bitcoind` yet,
this functionality should be deprecated but is left for a later version
to give users some time to switch.
This commit is contained in:
Wladimir J. van der Laan
2013-10-11 23:09:59 +02:00
parent cc7562b7d2
commit 2a03a39020
8 changed files with 229 additions and 75 deletions

View File

@@ -14,6 +14,15 @@ void StartShutdown();
bool ShutdownRequested();
void Shutdown();
bool AppInit2(boost::thread_group& threadGroup);
std::string HelpMessage();
/* The help message mode determines what help message to show */
enum HelpMessageMode
{
HMM_BITCOIND,
HMM_BITCOIN_QT,
HMM_BITCOIN_CLI
};
std::string HelpMessage(HelpMessageMode mode);
#endif