Browse Source

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

miguelfreitas
Jeff Garzik 13 years ago committed by Jeff Garzik
parent
commit
480d44bd0b
  1. 2
      src/bitcoinrpc.h
  2. 6
      src/rpcdump.cpp

2
src/bitcoinrpc.h

@ -13,6 +13,8 @@ @@ -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[]);

6
src/rpcdump.cpp

@ -8,18 +8,12 @@ @@ -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:

Loading…
Cancel
Save