HomePhabricator

[avalanche] Limit the number of delegation levels

Description

[avalanche] Limit the number of delegation levels

Summary: There is no known real world use case for more than a couple delegation levels, and this will prevent a peer from sending avahello message maxing out the levels, which will take some time to verify for no reason.

Test Plan:

ninja check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
FabienAuthored on Apr 27 2022, 14:10
FabienPushed on Apr 28 2022, 15:10
Reviewer
Restricted Project
Differential Revision
D11393: [avalanche] Limit the number of delegation levels
Parents
rABCdd77141dbdd4: Implement COW for the radix tree
Branches
Unknown
Tags
Unknown