Changeset View
Changeset View
Standalone View
Standalone View
src/net_processing.cpp
Show First 20 Lines • Show All 5,548 Lines • ▼ Show 20 Lines | if (pingSend) { | ||||
if (!vGetData.empty()) { | if (!vGetData.empty()) { | ||||
m_connman.PushMessage(pto, | m_connman.PushMessage(pto, | ||||
msgMaker.Make(NetMsgType::GETDATA, vGetData)); | msgMaker.Make(NetMsgType::GETDATA, vGetData)); | ||||
} | } | ||||
// | // | ||||
// Message: feefilter | // Message: feefilter | ||||
// | // | ||||
// We don't want white listed peers to filter txs to us if we have | // peers with the forcerelay permission should not filter txs to us | ||||
// -whitelistforcerelay | |||||
if (pto->m_tx_relay != nullptr && | if (pto->m_tx_relay != nullptr && | ||||
pto->GetCommonVersion() >= FEEFILTER_VERSION && | pto->GetCommonVersion() >= FEEFILTER_VERSION && | ||||
gArgs.GetBoolArg("-feefilter", DEFAULT_FEEFILTER) && | gArgs.GetBoolArg("-feefilter", DEFAULT_FEEFILTER) && | ||||
!pto->HasPermission(PF_FORCERELAY)) { | !pto->HasPermission(PF_FORCERELAY)) { | ||||
Amount currentFilter = | Amount currentFilter = | ||||
m_mempool | m_mempool | ||||
.GetMinFee( | .GetMinFee( | ||||
gArgs.GetArg("-maxmempool", DEFAULT_MAX_MEMPOOL_SIZE) * | gArgs.GetArg("-maxmempool", DEFAULT_MAX_MEMPOOL_SIZE) * | ||||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |