Page MenuHomePhabricator

[seeder] Use netmagic from chainparams instead of a cached global
ClosedPublic

Authored by jasonbcox on Dec 7 2020, 23:23.

Details

Summary

See title. The global cache can cause weird behavior in unit tests
and I don't see any benefit to keeping it around.

Test Plan
ninja bitcoin-seeder check-seeder

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.