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 @@ -4389,9 +4389,9 @@ bool PeerLogicValidation::SendMessages(CNode* pto)
4389
4389
//
4390
4390
// Message: feefilter
4391
4391
//
4392
- // We don't want white listed peers to filter txs to us if we have -whitelistforcerelay
4393
4392
if (pto->m_tx_relay != nullptr && pto->nVersion >= FEEFILTER_VERSION && gArgs .GetBoolArg (" -feefilter" , DEFAULT_FEEFILTER) &&
4394
- !pto->HasPermission (PF_FORCERELAY)) {
4393
+ !pto->HasPermission (PF_FORCERELAY) // peers with the forcerelay permission should not filter txs to us
4394
+ ) {
4395
4395
CAmount currentFilter = m_mempool.GetMinFee (gArgs .GetArg (" -maxmempool" , DEFAULT_MAX_MEMPOOL_SIZE) * 1000000 ).GetFeePerK ();
4396
4396
int64_t timeNow = GetTimeMicros ();
4397
4397
if (timeNow > pto->m_tx_relay ->nextSendTimeFeeFilter ) {
You can’t perform that action at this time.
0 commit comments