python main.py > mapping.txt
Download GeoLite2-ASN-Blocks-IPv4.csv/GeoLite2-ASN-Blocks-IPv6.csv from maxmind (requires email)
python main.py --include-geolite --path /path/to/GeoLite2-ASN-Blocks-IPv*.csv > mapping.txt
git clone https://github.com/sipa/asmap -b nextgen
cd asmap
python3 asmap-tool.py encode ../mapping.txt mapping.bin
monerod --asmap /path/to/mapping.bin ....