Page MenuHomePhabricator

Bypass headers anti-DoS checks for NoBan peers
ClosedPublic

Authored by PiRK on Apr 29 2024, 16:43.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC17e17ba21d0b: Bypass headers anti-DoS checks for NoBan peers
Summary

This allows you to easily avoid downloading headers twice if you have a trusted node to connect to

This concludes backport of core#25960
https://github.com/bitcoin/bitcoin/pull/25960/commits/e5982ecdc4650e9b6de38f190f3a97d792499e2a

Test Plan

ninja all check-all

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Apr 29 2024, 16:43
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/net_processing.cpp
3917 ↗(On Diff #47479)

IMO NetPermissionFlags::Download would make more sense, but OK

This revision is now accepted and ready to land.Apr 30 2024, 06:50