Page MenuHomePhabricator

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

Authored by Fabien on Jan 13 2022, 14:31.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC40ddc93c7c96: 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

Diff Detail