cryptoadvance / specter-desktop

A desktop GUI for Bitcoin Core optimised to work with hardware wallets
MIT License
793 stars 236 forks source link

Reduce the download size by replacing the Tor Binaries #1993

Open k9ert opened 1 year ago

k9ert commented 1 year ago

Currently, the Binaries, especially for Linux and MacOS is unreasonably huge. image This increases initial startup time but also each time you start specter as the binary need to be unpacked.

The reason are the Tor binaries which are bloated and could be much smaller. Unfortunately, Tor does not release reasonable binaries for the different platforms and what people do is to extract those binaries from bigger packages which to is releasing.

E.g. Mercury Wallet has much smaller binaries here: https://github.com/layer2tech/mercury-wallet/tree/master/resources

k9ert commented 1 year ago

See also: https://github.com/layer2tech/mercury-wallet/issues/322#issuecomment-1334990429

relevant comment:

For TOR build used for this https://github.com/cretz/tor-static

For windows, I downloaded the Windows Expert Bundle from here: https://www.torproject.org/download/tor/

roshii commented 3 months ago

this is solved by https://github.com/cryptoadvance/specter-desktop/pull/2255, isn't it?