We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c46f1ce commit 18a9b27Copy full SHA for 18a9b27
src/net_processing.cpp
@@ -4689,7 +4689,10 @@ bool PeerManagerImpl::SendMessages(CNode* pto)
4689
//
4690
// Message: feefilter
4691
4692
- if (pto->m_tx_relay != nullptr && pto->GetCommonVersion() >= FEEFILTER_VERSION && gArgs.GetBoolArg("-feefilter", DEFAULT_FEEFILTER) &&
+ if (pto->m_tx_relay != nullptr &&
4693
+ !m_ignore_incoming_txs &&
4694
+ pto->GetCommonVersion() >= FEEFILTER_VERSION &&
4695
+ gArgs.GetBoolArg("-feefilter", DEFAULT_FEEFILTER) &&
4696
!pto->HasPermission(PF_FORCERELAY) // peers with the forcerelay permission should not filter txs to us
4697
) {
4698
CAmount currentFilter = m_mempool.GetMinFee(gArgs.GetArg("-maxmempool", DEFAULT_MAX_MEMPOOL_SIZE) * 1000000).GetFeePerK();
0 commit comments