File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4387,9 +4387,9 @@ bool PeerLogicValidation::SendMessages(CNode* pto)
4387
4387
//
4388
4388
// Message: feefilter
4389
4389
//
4390
- // We don't want white listed peers to filter txs to us if we have -whitelistforcerelay
4391
4390
if (pto->m_tx_relay != nullptr && pto->nVersion >= FEEFILTER_VERSION && gArgs .GetBoolArg (" -feefilter" , DEFAULT_FEEFILTER) &&
4392
- !pto->HasPermission (PF_FORCERELAY)) {
4391
+ !pto->HasPermission (PF_FORCERELAY) // peers with the forcerelay permission should not filter txs to us
4392
+ ) {
4393
4393
CAmount currentFilter = m_mempool.GetMinFee (gArgs .GetArg (" -maxmempool" , DEFAULT_MAX_MEMPOOL_SIZE) * 1000000 ).GetFeePerK ();
4394
4394
int64_t timeNow = GetTimeMicros ();
4395
4395
if (timeNow > pto->m_tx_relay ->nextSendTimeFeeFilter ) {
You can’t perform that action at this time.
0 commit comments