-
Notifications
You must be signed in to change notification settings - Fork 16
Improve peer discovery mechanism #347
New issue
Have a question about this project? Sign up fo 8000 r 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
Comments
@Warchant do you have a list of peers that we want to hardcode? |
@blackyblack it turns out mainnet NC does DNS resolution to get peers. And it is already implemented in APM. |
I see that DNS IPs are added to the peers table as soon as they are resolved. And we have such a test case for a single IP for a single DNS record. |
For (2) scratch this. Found some code that looks like it. |
@Warchant Also I found that peers may stay in candidates list but not being connected to. It happens if minimum amount of peers has been reached. Do we want to fix this behavior? |
|
|
@blackyblack wow. Okay. |
I was looking at the nodecore peer discovery code and the logs are for SPV app. I will check if there is any difference. |
Uh oh!
There was an error while loading. Please reload this page.
Fixes https://github.com/VeriBlock/vbk-ri-btc/issues/630
The text was updated successfully, but these errors were encountered: