Skip to content
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

test and set directory_nodes #108

Open
openoms opened this issue Jan 12, 2023 · 2 comments
Open

test and set directory_nodes #108

openoms opened this issue Jan 12, 2023 · 2 comments

Comments

@openoms
Copy link
Owner

openoms commented Jan 12, 2023

To test:

# for mainnet
directory_nodes_list=$(curl -Ss \
 https://raw.githubusercontent.com/JoinMarket-Org/joinmarket-clientserver/master/src/jmclient/configure.py \
 | grep MAINNET -A1 | grep 'directory_nodes =' | awk -F'=' '{print $2}' | tr -d ' ' | tr ',' '\n' | cut -d: -f1)
echo $directory_nodes_list
for i in $directory_nodes_list; do
  time torsocks nc -zv $i 5222
done
# for signet
directory_nodes_list=$(curl -Ss \
 https://raw.githubusercontent.com/JoinMarket-Org/joinmarket-clientserver/master/src/jmclient/configure.py \
 | grep SIGNET -A1 | grep 'directory_nodes =' | awk -F'=' '{print $2}' | tr -d ' ' | tr ',' '\n' | cut -d: -f1)
echo $directory_nodes_list
for i in $directory_nodes_list; do
  time torsocks nc -zv $i 5222
done

Would make a nice option in the TOOLS menu. Could also add the unused nodes to the joinmarket.cfg.

@openoms
Copy link
Owner Author

openoms commented Feb 4, 2023

Also see JoinMarket-Org/joinmarket-clientserver#1445 for new directory nodes proposed.

@openoms
Copy link
Owner Author

openoms commented Jun 28, 2023

TODO: double check switching between signet and mainnet

signet:

directory_nodes = rr6f6qtleiiwic45bby4zwmiwjrj3jsbmcvutwpqxjziaydjydkk5iad.onion:5222,k74oyetjqgcamsyhlym2vgbjtvhcrbxr4iowd4nv4zk5sehw4v665jad.onion:5222,y2ruswmdbsfl4hhwwiqz4m3sx6si5fr6l3pf62d4pms2b53wmagq3eqd.onion:5222

mainnet:

directory_nodes = g3hv4uynnmynqqq2mchf3fcm3yd46kfzmcdogejuckgwknwyq5ya6iad.onion:5222,3kxw6lf5vf6y26emzwgibzhrzhmhqiw6ekrek3nqfjjmhwznb2moonad.onion:5222,bqlpq6ak24mwvuixixitift4yu42nxchlilrcqwk2ugn45tdclg42qid.onion:5222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant