Browse Source

add new RPC implementation file `rpcmisc.cpp`

0.10
Wladimir J. van der Laan 11 years ago
parent
commit
652e156951
  1. 1
      src/Makefile.am
  2. 28
      src/rpcmisc.cpp

1
src/Makefile.am

@ -53,6 +53,7 @@ libbitcoin_server_a_SOURCES = \
noui.cpp \ noui.cpp \
rpcblockchain.cpp \ rpcblockchain.cpp \
rpcmining.cpp \ rpcmining.cpp \
rpcmisc.cpp \
rpcnet.cpp \ rpcnet.cpp \
rpcrawtransaction.cpp \ rpcrawtransaction.cpp \
txdb.cpp \ txdb.cpp \

28
src/rpcmisc.cpp

@ -0,0 +1,28 @@
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "rpcserver.h"
#include "init.h"
#include "main.h"
#include "net.h"
#include "netbase.h"
#include "util.h"
#ifdef ENABLE_WALLET
#include "wallet.h"
#include "walletdb.h"
#endif
#include <stdint.h>
#include <boost/assign/list_of.hpp>
#include "json/json_spirit_utils.h"
#include "json/json_spirit_value.h"
using namespace std;
using namespace boost;
using namespace boost::assign;
using namespace json_spirit;
Loading…
Cancel
Save