Page MenuHomePhabricator

p2p: don't add AlreadyHave transactions to recentRejects
ClosedPublic

Authored by PiRK on Dec 15 2021, 09:44.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC1371b60fd052: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable