HomePhabricator

p2p: don't add AlreadyHave transactions to recentRejects

Description

p2p: don't add AlreadyHave transactions to recentRejects

Summary:
Now, we only add a transaction to our recentRejects filter if we didn't already have it, meaning that it is added at most once, as intended.

This is a backport of core#19753

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10681

Details

Provenance
PiRKAuthored on Dec 15 2021, 09:33
PiRKPushed on Dec 15 2021, 15:56
Reviewer
Restricted Project
Differential Revision
D10681: p2p: don't add AlreadyHave transactions to recentRejects
Parents
rABCd6d1e97c43d2: qt: Add WalletFrame::sizeHint
Branches
Unknown
Tags
Unknown