rpcdump: include cleanup. move JSONRPCError def to bitcoinrpc.h.

This commit is contained in:
Jeff Garzik 2012-05-23 23:20:07 -04:00 committed by Jeff Garzik
parent 429039d45d
commit 480d44bd0b
2 changed files with 2 additions and 6 deletions

View file

@ -13,6 +13,8 @@
#include "json/json_spirit_writer_template.h" #include "json/json_spirit_writer_template.h"
#include "json/json_spirit_utils.h" #include "json/json_spirit_utils.h"
json_spirit::Object JSONRPCError(int code, const std::string& message);
void ThreadRPCServer(void* parg); void ThreadRPCServer(void* parg);
int CommandLineRPC(int argc, char *argv[]); int CommandLineRPC(int argc, char *argv[]);

View file

@ -8,18 +8,12 @@
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
#include "json/json_spirit_reader_template.h"
#include "json/json_spirit_writer_template.h"
#include "json/json_spirit_utils.h"
#define printf OutputDebugStringF #define printf OutputDebugStringF
// using namespace boost::asio; // using namespace boost::asio;
using namespace json_spirit; using namespace json_spirit;
using namespace std; using namespace std;
extern Object JSONRPCError(int code, const string& message);
class CTxDump class CTxDump
{ {
public: public: