diff --git a/defs/ethereum/aka.png b/defs/ethereum/aka.png index 842ced7da9..a21f1c6415 100644 Binary files a/defs/ethereum/aka.png and b/defs/ethereum/aka.png differ diff --git a/defs/ethereum/artis_sigma1.png b/defs/ethereum/ats.png similarity index 100% rename from defs/ethereum/artis_sigma1.png rename to defs/ethereum/ats.png diff --git a/defs/ethereum/clo.png b/defs/ethereum/clo.png index 679c948977..b711866b2c 100644 Binary files a/defs/ethereum/clo.png and b/defs/ethereum/clo.png differ diff --git a/defs/ethereum/dxn.png b/defs/ethereum/dxn.png index 30a1f89aef..0ab9197343 100644 Binary files a/defs/ethereum/dxn.png and b/defs/ethereum/dxn.png differ diff --git a/defs/ethereum/egem.png b/defs/ethereum/egem.png index df48e2d640..1953bb9233 100644 Binary files a/defs/ethereum/egem.png and b/defs/ethereum/egem.png differ diff --git a/defs/ethereum/ella.png b/defs/ethereum/ella.png index 54fed9370d..3cc1596343 100644 Binary files a/defs/ethereum/ella.png and b/defs/ethereum/ella.png differ diff --git a/defs/ethereum/etc.png b/defs/ethereum/etc.png index a9df9f0a7c..fd044a90b7 100644 Binary files a/defs/ethereum/etc.png and b/defs/ethereum/etc.png differ diff --git a/defs/ethereum/eth.png b/defs/ethereum/eth.png index 6b454d7451..c5d8de4b6a 100644 Binary files a/defs/ethereum/eth.png and b/defs/ethereum/eth.png differ diff --git a/defs/ethereum/go.png b/defs/ethereum/go.png index 11609c4c31..2fed4e3777 100644 Binary files a/defs/ethereum/go.png and b/defs/ethereum/go.png differ diff --git a/defs/ethereum/mix.png b/defs/ethereum/mix.png new file mode 100644 index 0000000000..b09b743519 Binary files /dev/null and b/defs/ethereum/mix.png differ diff --git a/defs/ethereum/music.png b/defs/ethereum/music.png index 45bd1818ae..86ef16a19b 100644 Binary files a/defs/ethereum/music.png and b/defs/ethereum/music.png differ diff --git a/defs/ethereum/pirl.png b/defs/ethereum/pirl.png index b00dbbe5e1..290a940867 100644 Binary files a/defs/ethereum/pirl.png and b/defs/ethereum/pirl.png differ diff --git a/defs/ethereum/rbtc.png b/defs/ethereum/rbtc.png new file mode 100644 index 0000000000..2f186deaa0 Binary files /dev/null and b/defs/ethereum/rbtc.png differ diff --git a/defs/ethereum/reosc.png b/defs/ethereum/reosc.png new file mode 100644 index 0000000000..bf1d87d243 Binary files /dev/null and b/defs/ethereum/reosc.png differ diff --git a/defs/ethereum/rsk.png b/defs/ethereum/rsk.png deleted file mode 100644 index 840acf1eb5..0000000000 Binary files a/defs/ethereum/rsk.png and /dev/null differ diff --git a/defs/ethereum/artis_tau1.png b/defs/ethereum/tats.png similarity index 100% rename from defs/ethereum/artis_tau1.png rename to defs/ethereum/tats.png diff --git a/defs/ethereum/tkov.png b/defs/ethereum/tkov.png index 6b454d7451..c5d8de4b6a 100644 Binary files a/defs/ethereum/tkov.png and b/defs/ethereum/tkov.png differ diff --git a/defs/ethereum/trbtc.png b/defs/ethereum/trbtc.png new file mode 100644 index 0000000000..d6dee614a9 Binary files /dev/null and b/defs/ethereum/trbtc.png differ diff --git a/defs/ethereum/trin.png b/defs/ethereum/trin.png index 6b454d7451..c5d8de4b6a 100644 Binary files a/defs/ethereum/trin.png and b/defs/ethereum/trin.png differ diff --git a/defs/ethereum/trop.png b/defs/ethereum/trop.png index 6b454d7451..c5d8de4b6a 100644 Binary files a/defs/ethereum/trop.png and b/defs/ethereum/trop.png differ diff --git a/defs/ethereum/trsk.png b/defs/ethereum/trsk.png deleted file mode 100644 index 7cdef5485f..0000000000 Binary files a/defs/ethereum/trsk.png and /dev/null differ diff --git a/defs/ethereum/ubq.png b/defs/ethereum/ubq.png index e5ae136fc8..b2730bcddb 100644 Binary files a/defs/ethereum/ubq.png and b/defs/ethereum/ubq.png differ diff --git a/tools/cointool.py b/tools/cointool.py index c7b7f0c9b0..d9ad5526ff 100755 --- a/tools/cointool.py +++ b/tools/cointool.py @@ -176,6 +176,18 @@ def check_eth(coins): chain_name_str = "colliding chain name " + crayon(None, key, bold=True) + ":" print_log(logging.ERROR, chain_name_str, bucket_str) check_passed = False + for coin in coins: + icon_file = "defs/ethereum/%s.png" % coin["shortcut"].lower() + try: + icon = Image.open(icon_file) + except Exception: + print(coin["key"], ": failed to open icon file", icon_file) + check_passed = False + continue + + if icon.size != (128, 128) or icon.mode != "RGBA": + print(coin["key"], ": bad icon format (must be RGBA 128x128)") + check_passed = False return check_passed