From ae11e3d884889b735b826654092d1566363ea654 Mon Sep 17 00:00:00 2001 From: Sander Date: Thu, 15 Apr 2021 13:36:48 +0200 Subject: [PATCH] temp --- data/nodes.json | 9 ++++++--- wowlet_backend/tasks/rpc_nodes.py | 6 +++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/data/nodes.json b/data/nodes.json index be92a09..7249ed7 100644 --- a/data/nodes.json +++ b/data/nodes.json @@ -5,11 +5,14 @@ "wowbuxx535x4exuexja2xfezpwcyznxkofui4ndjiectj4yuh2xheiid.onion:34568" ], "clearnet": [ - "wow.pwned.systems:34568", "global.wownodes.com:34568", - "node.suchwow.xyz:34568", "super.fast.node.xmr.pm:34568", - "wowbux.org:34568" + "node.wownero.club: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", + "wow.pwned.systems:34568" ] }, "stagenet": { diff --git a/wowlet_backend/tasks/rpc_nodes.py b/wowlet_backend/tasks/rpc_nodes.py index 13a070e..7130285 100644 --- a/wowlet_backend/tasks/rpc_nodes.py +++ b/wowlet_backend/tasks/rpc_nodes.py @@ -62,10 +62,10 @@ class RPCNodeCheckTask(FeatherTask): continue # Filter out nodes affected by < v0.17.1.3 sybil attack - data = list(map(lambda _node: _node if _node['target_height'] <= _node['height'] - else self._bad_node(_node, reason="+2_attack"), data)) +# data = list(map(lambda _node: _node if _node['target_height'] <= _node['height'] +# else self._bad_node(_node, reason="+2_attack"), data)) - allowed_offset = 3 + allowed_offset = 5 valid_heights = [] # current_blockheight = heights.get(network_type_coin, 0)