Page MenuHomePhabricator

[avalanche] Limit the number of delegation levels
ClosedPublic

Authored by Fabien on Apr 28 2022, 14:12.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC0c2a5ed57d4f: [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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_limit_delegation_levels
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18903
Build 37589: Build Diffbuild-debug · build-diff · lint-circular-dependencies · build-without-wallet · build-clang · build-clang-tidy
Build 37588: arc lint + arc unit