HomePhabricator

[avalanche] Use constants for delays in abc_p2p_getavaaddr

Description

[avalanche] Use constants for delays in abc_p2p_getavaaddr

Summary:
The test uses a lot of mock times and it's getting difficult to know who is who, so use constants instead of magic number to make this more obvious. There is no change in behavior.

Depends on D11292.

Test Plan:

./test/functional/test_runner.py abc_p2p_getavaaddr

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Apr 1 2022, 08:51
FabienPushed on Apr 1 2022, 13:06
Reviewer
Restricted Project
Differential Revision
D11293: [avalanche] Use constants for delays in abc_p2p_getavaaddr
Parents
rABC53b215b63d80: [avalanche] Fix an always true assertion in abc_p2p_getavaaddr
Branches
Unknown
Tags
Unknown