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_utils.h"
json_spirit::Object JSONRPCError(int code, const std::string& message);
void ThreadRPCServer(void* parg);
int CommandLineRPC(int argc, char *argv[]);

View File

@ -8,18 +8,12 @@
#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
// using namespace boost::asio;
using namespace json_spirit;
using namespace std;
extern Object JSONRPCError(int code, const string& message);
class CTxDump
{
public: