add new RPC implementation file rpcmisc.cpp

This commit is contained in:
Wladimir J. van der Laan 2013-12-13 16:01:22 +01:00
parent 6bfaf2ac37
commit 652e156951
2 changed files with 29 additions and 0 deletions

View File

@ -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 Normal file
View File

@ -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;