diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-05-09 09:16:29 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-05-09 09:10:53 -0400 |
commit | fa1dce7329d3e74d46ab98b93772b1832a3f1819 (patch) | |
tree | b04ef80afae5d50a27873e3829865d20fc4f085a /src/net.cpp | |
parent | c459c5f70176928adcee4935813a2dbe7f4dbd51 (diff) |
net: Rename ::fRelayTxes to ::g_relay_txes
This helps to distinguish it from CNode::fRelayTxes and avoid bugs like
425278d17bd0edf8a3a7cc81e55016f7fd8e7726
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 1335804b06..3c6f5a05f3 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -79,7 +79,7 @@ static const uint64_t RANDOMIZER_ID_LOCALHOSTNONCE = 0xd93e69e2bbfa5735ULL; // S // bool fDiscover = true; bool fListen = true; -bool fRelayTxes = true; +bool g_relay_txes = !DEFAULT_BLOCKSONLY; CCriticalSection cs_mapLocalHost; std::map<CNetAddr, LocalServiceInfo> mapLocalHost GUARDED_BY(cs_mapLocalHost); static bool vfLimited[NET_MAX] GUARDED_BY(cs_mapLocalHost) = {}; |