-
Notifications
You must be signed in to change notification settings - Fork 31
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
Rotate Boss/Mod/ConnectFinderByHardcode.cpp #182
Comments
Here we go:
Just something I threw together. When it says that it can't find the node, it means that the id isn't in my gossiped list of nodes. Although I've carried out some maintenance on my node, and it therefore doesn't have weeks of uptime, it does have 12hrs. So, even if the node is still around, if it isn't in my gossip then it's probably not very dependable at the moment anyway and thus may not be suitable for this list anyway. About the gathering if new participants for that list, we could like think of something. I think that at 1ml one can actually sort out the oldest active nodes with a public ip per country, parse that, and try to connect. Might look at it. |
It is possible too send an
|
From ZmnSCPxj:
Hi all,
Please periodically refresh the list of nodes in
Boss/Mod/ConnectFinderByHardcode.cpp
.As you know, the network is always in flux, and nodes that used to be online may drop offline, or may change their IP address.
The last time the list was updated was more than a year ago.
Mea culpa.
Please attempt to check every node in
Boss/Mod/ConnectFinderByHardcode.cpp
by trying to do a "spot check" to connect to each listed node.Also, check that the address you are able to connect to is the same as the one in the hardcoded list.
If a "spot check" connection attempt to a listed node fails, please remove it, then replace with some other node that you spot-checked to be online.
And if possible, please add 1 or 2 more on top of the removed nodes.
What I usually do when looking for new nodes is:
If it succeeds, add them to the list.
The goal is to kinda have a nice geographic distribution.
Note that I do not ask permission from anyone to add them on the list or not.
For the most part, even if you have 100 new CLBOSS users everyday (highly unlikely!) there are currently 33 nodes in that list, so approximately 3 new connections per day, which should be tiny.
The hardcoded list is also a fallback.
For the most part, for new nodes, it should use the BOLT10 DNS, from the DNS resolvers of cdecker and darosior, though you should also periodically test them every now and them as well to see if they are still working.
However, there are some cases where a new node is unable to use a BOLT10 DNS:
dig
program is not installed and the user ignores the helpful warning log message about it.dig
program is installed but the user has set the node to always connect out via Tor, buttorify dig +tcp
does not work for some reason.Thus the fallback should be kept up-to-date if possible.
Regards,
ZmnSCPxj
The text was updated successfully, but these errors were encountered: