Skip to content

Commit faccf0a

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

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
@@ -4389,9 +4389,9 @@ bool PeerLogicValidation::SendMessages(CNode* pto)
43894389
//
43904390
// Message: feefilter
43914391
//
4392-
// We don't want white listed peers to filter txs to us if we have -whitelistforcerelay
43934392
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+
) {
43954395
CAmount currentFilter = m_mempool.GetMinFee(gArgs.GetArg("-maxmempool", DEFAULT_MAX_MEMPOOL_SIZE) * 1000000).GetFeePerK();
43964396
int64_t timeNow = GetTimeMicros();
43974397
if (timeNow > pto->m_tx_relay->nextSendTimeFeeFilter) {

0 commit comments

Comments
 (0)