Filter for: (1) wtxids of transactions that were recently rejected by the mempool but are eligible for reconsideration if submitted with other transactions. (2) packages (see GetPackageHash) we have already rejected before and should not retry.

Synopsis

Declared in <node/txdownloadman_impl.h>

std::unique_ptr<CRollingBloomFilter> m_lazy_recent_rejects_reconsiderable = {nullptr};

Description

Similar to m_lazy_recent_rejects, this filter is used to save bandwidth when e.g. all of our peers have larger mempools and thus lower minimum feerates than us.

When a transaction's error is TxValidationResult::TX_RECONSIDERABLE (in a package or by itself), add its wtxid to this filter. When a package fails for any reason, add the combined hash to this filter.

Upon receiving an announcement for a transaction, if it exists in this filter, do not download the txdata. When considering packages, if it exists in this filter, drop it.

Reset this filter when the chain tip changes.

Parameters are picked to be the same as m_lazy_recent_rejects, with the same rationale.

Created with MrDocs