Skip to content

Commit e736772

Browse files
committed
Move network-msg-processing code out of main to its own file
1 parent 87c35f5 commit e736772

16 files changed

+3107
-3039
lines changed

src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ BITCOIN_CORE_H = \
109109
merkleblock.h \
110110
miner.h \
111111
net.h \
112+
net_processing.h \
112113
netaddress.h \
113114
netbase.h \
114115
netmessagemaker.h \
@@ -183,6 +184,7 @@ libbitcoin_server_a_SOURCES = \
183184
merkleblock.cpp \
184185
miner.cpp \
185186
net.cpp \
187+
net_processing.cpp \
186188
noui.cpp \
187189
policy/fees.cpp \
188190
policy/policy.cpp \

src/bench/checkblock.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include "chainparams.h"
88
#include "main.h"
9+
#include "streams.h"
910
#include "consensus/validation.h"
1011

1112
namespace block_bench {

src/init.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "miner.h"
2424
#include "netbase.h"
2525
#include "net.h"
26+
#include "net_processing.h"
2627
#include "policy/policy.h"
2728
#include "rpc/server.h"
2829
#include "rpc/register.h"

0 commit comments

Comments
 (0)