Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi: Add HTTP seeder support. #2017

Merged
merged 4 commits into from
Jan 12, 2020
Merged

multi: Add HTTP seeder support. #2017

merged 4 commits into from
Jan 12, 2020

Conversation

dajohi
Copy link
Member

@dajohi dajohi commented Dec 5, 2019

Copy link
Member

@davecgh davecgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to the inline comments, this is also failing the tests.

server.go Outdated Show resolved Hide resolved
server.go Outdated Show resolved Hide resolved
connmgr/seed.go Outdated Show resolved Hide resolved
connmgr/seed.go Show resolved Hide resolved
@dajohi dajohi marked this pull request as ready for review January 10, 2020 21:13
@davecgh davecgh changed the title HTTP Seeder support multi: Add HTTP seeder support. Jan 10, 2020
connmgr/seed.go Outdated Show resolved Hide resolved
Copy link
Member

@davecgh davecgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The third commit needs to be amended to conform to the code contribution guidelines and I would also suggest updating the commit the deprecates nodnsseed to also deprecate the chaincfg.Params.DNSSeeds field since it will need to be removed in the next major version bump of chaincfg.

server.go Outdated Show resolved Hide resolved
connmgr/seed.go Show resolved Hide resolved
Seeder identifies the hostname as a seeder.
connmgr: deprecate SeedFromDNS
config: deprecate nodnsseed; add noseeders
@davecgh
Copy link
Member

davecgh commented Jan 12, 2020

I added a debug statement to ensure the returned values match the query string as expected and verified that it works as expected over Tor as well.

@davecgh davecgh merged commit e3547d0 into decred:master Jan 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants