diff --git a/contrib/seeds/makeseeds.py b/contrib/seeds/makeseeds.py index 44251e059bf..a8bf00f762a 100755 --- a/contrib/seeds/makeseeds.py +++ b/contrib/seeds/makeseeds.py @@ -10,6 +10,7 @@ import argparse import collections import ipaddress from pathlib import Path +import random import re import sys from typing import Union @@ -211,6 +212,7 @@ def main(): with open(args.seeds, 'r', encoding='utf8') as f: lines = f.readlines() ips = [parseline(line) for line in lines] + random.shuffle(ips) print('Done.', file=sys.stderr) print('\x1b[7m IPv4 IPv6 Onion I2P CJDNS Pass \x1b[0m', file=sys.stderr)