haveno-dex / haveno

Decentralized P2P exchange platform built on Monero and Tor
https://haveno.exchange
GNU Affero General Public License v3.0
1.05k stars 120 forks source link

Ability to specify seednodes and network key via the daemon #1267

Open KewbitXMR opened 2 months ago

KewbitXMR commented 2 months ago

Allows you to specify seednodes via the mobile/desktop app essentially allowing the user to connect to one or any distinct Haveno networks/markets without necessitating separate installers.

Currently seednodes are hardcoded into the software and forkers have to change it manually, it should be dynamic and up to the user which nodes to trust.

This will make using different networks easier, and also allow for federation of some kind in the apps, which I view as an anti-monopoly strategy, which is essential for true decentralisation.

boldsuck commented 1 month ago

You can specify individual seednodes via cmdline --seedNodes= or in ~/.local/share/Haveno/haveno.properties

For testing purposes I have e.g. ~/.local/share/Haveno-reto/haveno.properties

seedNodes=xephvvzd3orepnny7lbia4nkwie5t7wjivlvvz5lhbsck7ubavystead.onion:9992,z47tltuwytd5icqq4hni2ammvlugp6pcwqboeu7ngawruualxjjuu3ad.onion:9992,hxb5h34hjgyraycrrxlz5ar2q77mjgondzicwzayqwwvuaepssrn5zyd.onion:9993,g4z6oi2wf62nwztwve6qe2hqswj4ezpom6hn7cuy5cxaidey4us76bid.onion:9993,oyui76zng5nhml6xlrysfmyqgoutlhwr3h7p35rlzr5fvtg6tzgavvqd.onion:9992