There is already a variable that does this in the node software, but it
cannot be included in the seeder without building the net.h with the
rest of the seeder. Thus expanding the use of ADDR_SOFT_CAP outside
of just the test suite is a better solution.
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project - Commits
- rSTAGING28b437a49d59: Make use of ADDR_SOFT_CAP outside just the seeder test suite
rABC28b437a49d59: Make use of ADDR_SOFT_CAP outside just the seeder test suite
ninja ninja check-bitcoin-seeder
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- MaxAddrsConstant
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 10142 Build 18110: Default Diff Build & Tests Build 18109: arc lint + arc unit
Event Timeline
src/seeder/test/p2p_messaging_tests.cpp | ||
---|---|---|
107 | This should be the hint that this isn't a maximum number of addresses per message. Just because they happen to be the same number, doesn't mean they're the same thing (or even related at all). |
src/seeder/test/p2p_messaging_tests.cpp | ||
---|---|---|
106 ↗ | (On Diff #18717) | Keeping this comment with ADDR_SOFT_CAP would be useful, since we don't know why it's a "soft cap" |