Build with CoinStats’ all-in-one API. Learn more

Deutsch한국어日本語中文EspañolFrançaisՀայերենNederlandsРусскийItalianoPortuguêsTürkçePortfolio TrackerCryptocurrenciesPricingCrypto APIMCPIntegrationsNewsRWA MarketEarnBlogNFTWidgetsDeFi Portfolio TrackerDerivativesETF FlowsCrypto GamingPrediction Markets24h ReportPress KitAPI Docs

Commands to strip Bitcoin & BCHD executables

4y ago•
bullish:

0

bearish:

0

Share

strip *

for BCHN & Core (after making a back-up of the executables & cd to their directory). For BCHD (& maybe BTCD?) build using

go build -ldflags -s

bchd.exe comes out 17 MiB instead of 24 MiB. I'm testing its grpc at tinos.ml.

strip * can be run inside Linux, or in Windows I downloaded the posix-sjlj release for mingw64, & then appended its extracted bin directory to the Path environmental variable (from Start Menu type advanced system settings).

At first I was disappointed by the results following official build instructions for BCHN (here) & Bitcoin Core (here), but eventually I realized they were missing the strip * command. BCHN gave a strange warning when running it, but that issue is apparently resolved with the -DCLIENT_VERSION_IS_RELEASE flag. Without stripping, the bitcoin-qt.exe can be 415 MiB instead of under 31 MiB.

Core also has native Windows build instructions which I haven't tried yet. So far I've only been able to build BCHD natively in Windows. I haven't been able to build BCH Unlimited yet. Failed attempts use a lot of CPU & I've been trying to sync SLPDB in VirtualBox for 10 days. I've ordered a used HP EliteDesk 800 G1 for $50 which has a PCIe-v3 slot & i7-4770 CPU, compared to my current i7-2600.

submitted by /u/TinosNitso
[link] [comments]
4y ago•
bullish:

0

bearish:

0

Share
Manage all your crypto, NFT and DeFi from one place

Securely connect the portfolio you’re using to start.

Where will Bitcoin trade next?

Live Polymarket and Kalshi odds on Bitcoin price targets, compared side by side.

See Bitcoin price odds