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
Branch
avalanche_getavaaddr_manual
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18761
Build 37313: Build Diffbuild-diff · build-without-wallet · lint-circular-dependencies · build-debug · build-clang-tidy · build-clang
Build 37312: arc lint + arc unit

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

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

378

Should we clean this up?

This revision now requires changes to proceed.Apr 11 2022, 06:39
test/functional/abc_p2p_getavaaddr.py
292

Good catch

378

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