Skip to content

Commit 652e156

Browse files
committed
add new RPC implementation file rpcmisc.cpp
1 parent 6bfaf2a commit 652e156

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

src/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ libbitcoin_server_a_SOURCES = \
5353
noui.cpp \
5454
rpcblockchain.cpp \
5555
rpcmining.cpp \
56+
rpcmisc.cpp \
5657
rpcnet.cpp \
5758
rpcrawtransaction.cpp \
5859
txdb.cpp \

src/rpcmisc.cpp

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Copyright (c) 2010 Satoshi Nakamoto
2+
// Copyright (c) 2009-2013 The Bitcoin developers
3+
// Distributed under the MIT/X11 software license, see the accompanying
4+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5+
6+
#include "base58.h"
7+
#include "rpcserver.h"
8+
#include "init.h"
9+
#include "main.h"
10+
#include "net.h"
11+
#include "netbase.h"
12+
#include "util.h"
13+
#ifdef ENABLE_WALLET
14+
#include "wallet.h"
15+
#include "walletdb.h"
16+
#endif
17+
18+
#include <stdint.h>
19+
20+
#include <boost/assign/list_of.hpp>
21+
#include "json/json_spirit_utils.h"
22+
#include "json/json_spirit_value.h"
23+
24+
using namespace std;
25+
using namespace boost;
26+
using namespace boost::assign;
27+
using namespace json_spirit;
28+

0 commit comments

Comments
 (0)