Skip to content

Commit fac63eb

Browse files
author
MarcoFalke
committed
doc: Remove -whitelistforcerelay from comment
Instead, permission flags should be used. For example [email protected]
1 parent faabd15 commit fac63eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net_processing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4387,9 +4387,9 @@ bool PeerLogicValidation::SendMessages(CNode* pto)
43874387
//
43884388
// Message: feefilter
43894389
//
4390-
// We don't want white listed peers to filter txs to us if we have -whitelistforcerelay
43914390
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+
) {
43934393
CAmount currentFilter = m_mempool.GetMinFee(gArgs.GetArg("-maxmempool", DEFAULT_MAX_MEMPOOL_SIZE) * 1000000).GetFeePerK();
43944394
int64_t timeNow = GetTimeMicros();
43954395
if (timeNow > pto->m_tx_relay->nextSendTimeFeeFilter) {

0 commit comments

Comments
 (0)