electrum-nmc
electrum-nmc copied to clipboard
Look into minification
Minification could decrease our binary size, which might plausibly be attractive to Tor Browser. See the following tools:
- https://github.com/liftoff/pyminifier (GPLv3, no longer maintained)
- https://github.com/dflook/python-minifier (MIT, maintained)
As a brief experiment, I found that python-minifier shrunk wallet.py from 23.2 KiB to 16.4 KiB (both numbers are after applying .tar.xz compression).
I think we'd accept a PR that minifies the tarball produced by sdist if an environment variable is set. This would be submitted to a stable release branch, not master. I can then forward the PR to upstream Electrum after we merge it.