-
Notifications
You must be signed in to change notification settings - Fork 296
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
chaincfg: Introduce new type DNSSeed #961
Conversation
Older nodes previously added the IP and port information to the address manager which proved to be unreliable as an inbound connection from a peer didn't necessarily mean the peer itself accepted inbound connections. This also fixes a bug where the peer package was incorrectly sending the peer's services as its own.
DNSSeed defines a DNS Seed with a hostname and whether it supports filtering by service flag bits.
@dnldd did you run this? |
@dajohi yes, run it on testnet. dcrd synced without errors. Did I miss something? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
sorry, no. just wanted to make sure you ran it with peers.json removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
chaincfg/params.go
Outdated
return d.Host | ||
} | ||
|
||
// Register registers the network parameters for a Bitcoin network. This may |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you accidentally reverted the Decred to Bitcoin. s/Bitcoin/Decred/
DNSSeed defines a DNS Seed with a hostname and whether it supports filtering by service flag bits.
f685f08
to
7f7894c
Compare
This PR contains the following upstream commits:
DNSSeed defines a DNS Seed with a hostname and whether it supports
filtering by service flag bits.