Skip to content

Commit 7755d8a

Browse files
committed
Blacklist ncosmic nodes
1 parent 73460f5 commit 7755d8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

meile_online_nodes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ def QueryAndRepopulateDB(self, db):
109109
node_type = int(result['type']) #SMALLINT
110110
node_version = result['version'] #VARCHAR(20)
111111

112+
if "ncosmic" in gb_prices or "ncosmic" in hr_prices:
113+
continue
114+
112115
iquery = '''
113116
INSERT IGNORE INTO online_nodes (node_address, moniker, country, city, latitude, longitude, gigabyte_prices, hourly_prices, bandwidth_down, bandwidth_up, wallet, handshake, connected_peers, max_peers, node_type, node_version)
114117
VALUES ("%s", "%s", "%s", "%s", %.4f, %.4f, "%s", "%s", %d, %d, "%s", "%s", %d, %d, %d, "%s")

0 commit comments

Comments
 (0)