aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-05-12 14:00:22 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-05-12 14:12:46 +0200
commit581ddff05c92eb835a20c2be9ccf5d2d37b94883 (patch)
treea06b20aa1f251256346bf9fac761164b57c53bce /src/init.cpp
parent169d379c98357a17e634f34b5e72033c69f9a7cb (diff)
net: Add fRelayTxes flag
Add a fRelayTxes to keep track of the relay transaction flag we send to other peers.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index d19ca530b3..3218321a32 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1102,6 +1102,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
fListen = GetBoolArg("-listen", DEFAULT_LISTEN);
fDiscover = GetBoolArg("-discover", true);
fNameLookup = GetBoolArg("-dns", DEFAULT_NAME_LOOKUP);
+ fRelayTxes = !GetBoolArg("-blocksonly", DEFAULT_BLOCKSONLY);
bool fBound = false;
if (fListen) {