-
Notifications
You must be signed in to change notification settings - Fork 178
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
Stopgap: list of directory nodes #1445
Comments
It's worth mentioning something here: users want access to all counterparties. This is why we've always had a focus on "connect to every message channel, redundantly". In contrast, "well let's just connect to some random set out of a long list", as in a gossip network, is harder to fit into our model. You want to see everyone's messages, not just "be informed of a global state update" (as in e.g. bitcoin, where gossip can make a lot more sense; you only need a few, or even one node, to tell you about a valid state update). |
Here is another new directory node for consideration: I'll be using it to troubleshoot #1435 edit: The original troubleshooting node server is currently down. It has been replaced with plq5jw5hqke6werrc5duvgwbuczrg4mphlqsqbzmdfwxwkm2ncdzxeqd.onion:5222 which should be a "permanent" node. |
Thanks! |
Add directory_nodes from JoinMarket-Org#1445
Is there a limit to the number of directories you can add? Added these two alternates (yleg, wkd3) after the original 3,, and on startup, it only tries to connect to 3 of them based on the logs. 2023-10-19 22:38:02,430 [MainThread ] [INFO ] Trying to connect to node: bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222 |
I don't believe so, I have several in my configs that all seem to at least attempt to connect. Maybe double check the formatting, I remember having a similar problem and was either missing a comma or port number iirc. Note, I've edited my comment above due to the wkd3 node being down currently (not related to the issues here). |
new node to consider: |
I think with recent news regarding coinjoins, we should prioritize this and start discussing solutions. |
We may want to use directory nodes to gossip active directory nodes as follows.
We could maybe think of some sort of a DN connectivity score, starting at 0, slowly increasing with time, and decreasing on each failed connection attempt. Client could maintain their local score, and DN could average scores received from various clients. This should allow highly available/rarely failing DN to be prioritized over others. |
Jam docker standalone currently sets (https://github.com/joinmarket-webui/jam-docker/blob/6bb93e1d362659655ba3bf91231d2d4aae32cb6f/standalone/default.cfg#L83):
Should
be added as well? What do you think? Also, which ones to remove? |
I'd say |
State of the mentioned directory nodes as of today: 3 out of 7 working (2 of them are included in the default config).
|
Our current defaults are here.
Here is a newly proposed one: ylegp63psfqh3zk2huckf2xth6dxvh2z364ykjfmvsoze6tkfjceq7qd.onion:5222
We could add more to this page over time.
"Stopgap": because, the only realistic solution I think, over time, is some kind of gossip of directory nodes done dynamically, via something like seed directory nodes. There is a lot to discuss about that idea, and nothing has been coded yet. Hence as a stopgap, barring regularly re-releasing the software every week or something, we can perhaps just list possible directory nodes here. The idea is that they don't need trust, they are very lightweight, and they don't hold funds nor user information.
The text was updated successfully, but these errors were encountered: