mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
wowlet: fix remote-node connect when the built-in node is off. (1) nodes.cpp loadConfig: when the websocket discovery is disabled, ignore the cached ws node list (stale / polluted with monero nodes from an early build) and use the bundled wownero list. (2) nodes.json: managed clearnet list -> the 4 current healthy wownero nodes (node2/node3.monerodevs.org, spippolatori.it, wownerod.foolsump.com)
This commit is contained in:
+4
-16
@@ -14,22 +14,10 @@
|
|||||||
"zao3w6isidntdbnyee5ufs7fyzmv7wzchpw32i3uo5eldjwmo4bxg2qd.onion:34568"
|
"zao3w6isidntdbnyee5ufs7fyzmv7wzchpw32i3uo5eldjwmo4bxg2qd.onion:34568"
|
||||||
],
|
],
|
||||||
"clearnet": [
|
"clearnet": [
|
||||||
"global.wownodes.com:34568",
|
"node2.monerodevs.org:34568",
|
||||||
"super.fast.node.xmr.pm:34568",
|
"node3.monerodevs.org:34568",
|
||||||
"node.wownero.club:34568",
|
"spippolatori.it:34568",
|
||||||
"node.suchwow.xyz:34568",
|
"wownerod.foolsump.com:34568"
|
||||||
"eu-west-1.wow.xmr.pm:34568",
|
|
||||||
"eu-west-2.wow.xmr.pm:34568",
|
|
||||||
"eu-west-3.wow.xmr.pm:34568",
|
|
||||||
"eu-west-4.wow.xmr.pm:34568",
|
|
||||||
"eu-west-5.wow.xmr.pm:34568",
|
|
||||||
"eu-west-6.wow.xmr.pm:34568",
|
|
||||||
"na-west-1.wow.xmr.pm:34568",
|
|
||||||
"much.wow.such.money:34568",
|
|
||||||
"very.wow.such.money:34568",
|
|
||||||
"169.119.33.174:34568",
|
|
||||||
"wow.bot.tips:34568",
|
|
||||||
"idontwanttogototoronto.wow.fail:34568"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"stagenet": {
|
"stagenet": {
|
||||||
|
|||||||
@@ -130,6 +130,11 @@ void Nodes::loadConfig() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QStringList websocketNodes = m_nodes.getNodes(constants::networkType, NodeList::ws);
|
QStringList websocketNodes = m_nodes.getNodes(constants::networkType, NodeList::ws);
|
||||||
|
// wowlet: the websocket node-discovery server is disabled (no wownero equivalent), so this cached list
|
||||||
|
// never refreshes and may be stale or polluted with monero nodes from an earlier build. Drop it so the
|
||||||
|
// bundled wownero nodes.json below becomes the managed list.
|
||||||
|
if (conf()->get(Config::disableWebsocket).toBool())
|
||||||
|
websocketNodes.clear();
|
||||||
for (const auto &node : websocketNodes) {
|
for (const auto &node : websocketNodes) {
|
||||||
FeatherNode wsNode{node};
|
FeatherNode wsNode{node};
|
||||||
wsNode.custom = false;
|
wsNode.custom = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user