Page MenuHomePhabricator

[avalanche] Send getavaaddr messages to the manually added nodes
ClosedPublic

Authored by Fabien on Apr 8 2022, 20:14.

Details

Summary

As per title, this makes it easier to test addresses propagation and make it possible to build private network. Only avalanche enabled peers are concerned.

Test Plan
./test/functional/test_runner.py abc_p2p_getavaaddr

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Apr 8 2022, 20:14
tyler-smith added a subscriber: tyler-smith.

The concept and implementation look good. A few nits with the test.

test/functional/abc_p2p_getavaaddr.py
292 ↗(On Diff #33123)

Unless I'm misunderstanding this part of the test this should say "not responding" right?

378 ↗(On Diff #33123)

Should we clean this up?

This revision now requires changes to proceed.Apr 11 2022, 06:39
test/functional/abc_p2p_getavaaddr.py
292 ↗(On Diff #33123)

Good catch

378 ↗(On Diff #33123)

Indeed, it should not be commented out

Uncomment the tests and fix comment

This revision is now accepted and ready to land.Apr 12 2022, 04:26