Page MenuHomePhabricator

Rename Seeder's CAddrInfo -> CSeederAddrInfo
ClosedPublic

Authored by nakihito on Jun 3 2020, 22:46.

Details

Reviewers
jasonbcox
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC6dd46aa22018: Rename Seeder's CAddrInfo -> CSeederAddrInfo
Summary

The CAddrInfo is a class that already exists in the node software.
This will cause compiler issues as the seeder is built with more parts
of the node software. Because the seeder does not record the same
information about an address as the node software, refactoring the
seeder's version of the class to inherit the node software's version
would not be useful.

scripted diff
sed -i -e 's/CAddrInfo/CSeederAddrInfo/g' src/seeder/db.*

Test Plan
ninja

Event Timeline

Owners added a reviewer: Restricted Owners Package.Jun 3 2020, 22:46
nakihito requested review of this revision.Jun 3 2020, 22:46
nakihito planned changes to this revision.
nakihito requested review of this revision.Jun 3 2020, 23:19
jasonbcox added a subscriber: jasonbcox.

Since we own the seeder code now, consider new class names to not include the C... prefix. It's not useful.

This revision is now accepted and ready to land.Jun 3 2020, 23:56