diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-05-26 14:52:05 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-05-26 15:02:16 +0200 |
commit | c028c7b7557da2baff7af8840108e8be4db8e0c6 (patch) | |
tree | 89d5448cf5ddc26fa2232e8aa68714a722868fc5 /src/init.cpp | |
parent | 6fc6325f77ee1ca53f9180140ddcaf7f2d72d9d3 (diff) | |
parent | 1ab1dc3140ff521df42f1f396a49a50e91bf2740 (diff) |
Merge #8049: Expose information on whether transaction relay is enabled in `getnetwork`
1ab1dc3 rpc: Add `relaytxes` flag to `getnetworkinfo` (Wladimir J. van der Laan)
581ddff net: Add fRelayTxes flag (Wladimir J. van der Laan)
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 617d2e9847..9b6943c586 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1114,6 +1114,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) { |