aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-10-26 18:17:01 +0200
committerMacroFake <falke.marco@gmail.com>2022-10-27 16:09:33 +0200
commitfa24239a1c2281f61ab70a62228e88f4c7e72701 (patch)
tree951be203a8cbc6d4a84149d4aea11f2d45c165bc /src/net.h
parentec92d23fb8922c37f678589d743ca214f966cd75 (diff)
net: Avoid SetTxRelay for feeler connections
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net.h b/src/net.h
index 11bfc4c9fb..245f14731b 100644
--- a/src/net.h
+++ b/src/net.h
@@ -489,10 +489,8 @@ public:
/** Whether this peer provides all services that we want. Used for eviction decisions */
std::atomic_bool m_has_all_wanted_services{false};
- /** Whether we should relay transactions to this peer (their version
- * message did not include fRelay=false and this is not a block-relay-only
- * connection). This only changes from false to true. It will never change
- * back to false. Used only in inbound eviction logic. */
+ /** Whether we should relay transactions to this peer. This only changes
+ * from false to true. It will never change back to false. */
std::atomic_bool m_relays_txs{false};
/** Whether this peer has loaded a bloom filter. Used only in inbound