mirror of
https://git.wownero.com/wowlet/wowlet-backend.git
synced 2024-08-15 01:03:13 +00:00
Some new nodes and a more forgiving RPC node check
This commit is contained in:
parent
39845238fc
commit
e7c3a843ec
2 changed files with 11 additions and 5 deletions
|
@ -62,8 +62,8 @@ 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
|
||||
valid_heights = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue