Page MenuHomePhabricator

Convert the DNS handling code in the seeder to C++
ClosedPublic

Authored by deadalnix on Nov 8 2017, 11:58.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
dnscpp
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1074
Build 1074: arc lint + arc unit

Event Timeline

src/seeder/dns.cpp
214

I thought C++ treated all decls as if they were immediately after the start of the function? Should it be initialized to something here?

Also Prdeclare -> Predeclare

360

What's the purpose of this block?

410

Is there a better way to leave debug prints around?

src/seeder/dns.cpp
410

Yes, using a logging system.

src/seeder/dns.cpp
410

If you put a task in with an example of how to do it in the seeder, I can clean these up.

This revision is now accepted and ready to land.Nov 8 2017, 16:45
src/seeder/dns.cpp
360

Scope declarations.

This revision was automatically updated to reflect the committed changes.