HomePhabricator

Add an option to allow for bypassing the network group limit on outbound…

Description

Add an option to allow for bypassing the network group limit on outbound connections

Summary: This hidden option is intended for testing purpose only. It makes it possible to bypass the network group limitation for outbound connection, designed to prevent from connecting to several peers located in the same area and as such helps preventing eclipse attacks. This new flag comes in handy when running tests in a semi private network made of nodes located at the same place. There is no change of behavior when the flag is not set.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, tyler-smith

Reviewed By: #bitcoin_abc, tyler-smith

Subscribers: tyler-smith

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

Details

Provenance
FabienAuthored on Apr 12 2022, 19:49
FabienPushed on Apr 13 2022, 08:24
Reviewer
Restricted Project
Differential Revision
D11340: Add an option to allow for bypassing the network group limit on outbound connections
Parents
rABC1501283baca2: refactor: Avoid magic value of all-zeros in assumeutxo base_blockhash
Branches
Unknown
Tags
Unknown