HomePhabricator

Add an option to override the max addr sent in response to a getaddr message

Description

Add an option to override the max addr sent in response to a getaddr message

Summary:
This will make it possible to write tests for the avalanche node addresses request and responses. Since this is intended for testing only this is put in the hidden options, there is no boundary check and the default causes no change in behavior (tested in p2p_getaddr_caching.py).

Ref T1696.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1696

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

Details

Provenance
FabienAuthored on Jan 13 2022, 14:29
FabienPushed on Jan 13 2022, 20:16
Reviewer
Restricted Project
Differential Revision
D10823: Add an option to override the max addr sent in response to a getaddr message
Parents
rABCc4dad634abbf: Unbreak the build with boost 1.78
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task