diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-06-07 10:03:13 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-06-21 12:18:10 -0400 |
commit | fac63eb5eabcbbc2e51d414b9cf76f0e897dba1a (patch) | |
tree | 66770a64b97ee0b9eaeba5562b9f6f033218b30f /src | |
parent | faabd1514fecd828451387b025c1cc74a37bc854 (diff) | |
download | bitcoin-fac63eb5eabcbbc2e51d414b9cf76f0e897dba1a.tar.xz |
doc: Remove -whitelistforcerelay from comment
Instead, permission flags should be used. For example
-whitelist=forcerelay@127.0.0.1
Diffstat (limited to 'src')
-rw-r--r-- | src/net_processing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index d7fbf6941d..270e415e42 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -4387,9 +4387,9 @@ bool PeerLogicValidation::SendMessages(CNode* pto) // // Message: feefilter // - // We don't want white listed peers to filter txs to us if we have -whitelistforcerelay if (pto->m_tx_relay != nullptr && pto->nVersion >= FEEFILTER_VERSION && gArgs.GetBoolArg("-feefilter", DEFAULT_FEEFILTER) && - !pto->HasPermission(PF_FORCERELAY)) { + !pto->HasPermission(PF_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(); int64_t timeNow = GetTimeMicros(); if (timeNow > pto->m_tx_relay->nextSendTimeFeeFilter) { |