Skip to content

Commit fa2a5f3

Browse files
author
MarcoFalke
committed
rpc: Move mempool RPCs to new file
Can be reviewed with: --color-moved=dimmed-zebra --color-moved-ws=ignore-all-space
1 parent a817174 commit fa2a5f3

File tree

7 files changed

+489
-457
lines changed

7 files changed

+489
-457
lines changed

src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ BITCOIN_CORE_H = \
209209
reverse_iterator.h \
210210
rpc/blockchain.h \
211211
rpc/client.h \
212+
rpc/mempool.h \
212213
rpc/mining.h \
213214
rpc/protocol.h \
214215
rpc/rawtransaction_util.h \
@@ -370,6 +371,7 @@ libbitcoin_node_a_SOURCES = \
370371
pow.cpp \
371372
rest.cpp \
372373
rpc/blockchain.cpp \
374+
rpc/mempool.cpp \
373375
rpc/mining.cpp \
374376
rpc/misc.cpp \
375377
rpc/net.cpp \

src/bench/rpc_mempool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

55
#include <bench/bench.h>
6-
#include <rpc/blockchain.h>
6+
#include <rpc/mempool.h>
77
#include <txmempool.h>
88

99
#include <univalue.h>

src/rest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <primitives/block.h>
1616
#include <primitives/transaction.h>
1717
#include <rpc/blockchain.h>
18+
#include <rpc/mempool.h>
1819
#include <rpc/protocol.h>
1920
#include <rpc/server.h>
2021
#include <rpc/server_util.h>

0 commit comments

Comments
 (0)