This commit is contained in:
Sander 2021-04-15 13:36:48 +02:00
parent 39845238fc
commit ae11e3d884
2 changed files with 9 additions and 6 deletions

View file

@ -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)