aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-10-22 10:56:38 +0100
committerJohn Newbery <john@johnnewbery.com>2020-12-09 18:13:37 +0000
commit34e33ab8592d757b3acfe812c20d235029bbc319 (patch)
tree92fe61dc4eb99ce083e4192e828fb661b1d33c16 /src/net.cpp
parent68334b39443b3cfd75b0ef815ac40074185386f2 (diff)
downloadbitcoin-34e33ab8592d757b3acfe812c20d235029bbc319.tar.xz
Remove g_relay_txes
Also remove vestigial commend in init.cpp
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 9c6d7b6375..d4746b4766 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -111,7 +111,6 @@ static const uint64_t RANDOMIZER_ID_ADDRCACHE = 0x1cf2e4ddd306dda9ULL; // SHA256
//
bool fDiscover = true;
bool fListen = true;
-bool g_relay_txes = !DEFAULT_BLOCKSONLY;
RecursiveMutex cs_mapLocalHost;
std::map<CNetAddr, LocalServiceInfo> mapLocalHost GUARDED_BY(cs_mapLocalHost);
static bool vfLimited[NET_MAX] GUARDED_BY(cs_mapLocalHost) = {};