-
Notifications
You must be signed in to change notification settings - Fork 215
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
BUIP018 Seeding #30
BUIP018 Seeding #30
Conversation
Bitnodes.21.co using the Bitnodes API. This provides an alternative to DNS seeding. - Add command-line option 'bitnodes', enabled by default. - Add command-line option 'forcebitnodes', disabled by default.
If at least one custom DNS seed is set, the default DNS seeds are ignored.
// Get nodes from websites offering Bitnodes API | ||
if ((addrman.size() > 0) && | ||
(!GetBoolArg("-forcebitnodes", DEFAULT_FORCEBITNODES))) { | ||
MilliSleep(11 * 1000); |
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.
why 11 seconds?
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.
It's a magic number. For consistency I used the same value as found in ThreadDNSAddressSeed().
https://github.com/BitcoinUnlimited/BitcoinUnlimited/blob/0.12bu/src/net.cpp#L1400
Awesome, thx for the submission! |
I like this feature - I'm trying to get it to work on Bitcoin Core but it doesn't compile easily for some reason :-s |
it might be your boost version...i think this only works on boost 1.59 On 22/09/2016 6:14 AM, R E Broadley wrote:
|
Remove references to CDeltaBlock outside deltablocks files
Bitnodes API seeding and user-configurable DNS seeds.
https://bitco.in/forum/threads/buip018-seeding.1065/