diff options
author | amadeuszpawlik <apawlik@protonmail.com> | 2021-05-18 17:42:44 +0200 |
---|---|---|
committer | apawlik <amadeusz.pawlik@getinge.com> | 2021-05-19 16:55:03 +0200 |
commit | c0385f10a133d5d8a4c296e7b7a6d75c9c4eec12 (patch) | |
tree | 949a19803f1c4e6d0ec12f80b0b4bfb3cda7691b /src/net_processing.cpp | |
parent | 39d597d362a2a06d276dd55a152c729c01c1e661 (diff) |
Remove -feefilter option
Feefilter option is debug only and it isn't used in any tests, it's wasteful
to check this option for every peer on every iteration of the message handler
loop. refs #21545
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index fdd36835c2..cdf0fe0c5e 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -4711,7 +4711,6 @@ bool PeerManagerImpl::SendMessages(CNode* pto) if (pto->m_tx_relay != nullptr && !m_ignore_incoming_txs && pto->GetCommonVersion() >= FEEFILTER_VERSION && - gArgs.GetBoolArg("-feefilter", DEFAULT_FEEFILTER) && !pto->HasPermission(NetPermissionFlags::ForceRelay) // peers with the forcerelay permission should not filter txs to us ) { CAmount currentFilter = m_mempool.GetMinFee(gArgs.GetArg("-maxmempool", DEFAULT_MAX_MEMPOOL_SIZE) * 1000000).GetFeePerK(); |