Open wileyj opened 8 months ago
verify this is required in v26 (doesn't appear to be required in v25, which the docs are currently targeting) thanks for suggesion @bitnet-io
a suggestion of building the binaries
use the "STRIP" command to make tiny binaries for stacks-node
STRIP(1) GNU Development Tools STRIP(1)
NAME
strip - discard symbols and other data from object files
SYNOPSIS
strip [-F bfdname |--target=bfdname]
[-I bfdname |--input-target=bfdname]
[-O bfdname |--output-target=bfdname]
[-s|--strip-all]
[-S|-g|-d|--strip-debug]
[--strip-dwo]
[-K symbolname|--keep-symbol=symbolname]
[-M|--merge-notes][--no-merge-notes]
[-N symbolname |--strip-symbol=symbolname]
[-w|--wildcard]
[-x|--discard-all] [-X |--discard-locals]
[-R sectionname |--remove-section=sectionname]
[--keep-section=sectionpattern]
[--remove-relocations=sectionpattern]
[-o file] [-p|--preserve-dates]
[-D|--enable-deterministic-archives]
[-U|--disable-deterministic-archives]
[--keep-section-symbols]
[--keep-file-symbols]
[--only-keep-debug]
[-v |--verbose] [-V|--version]
[--help] [--info]
objfile...
when you build binaries you strip the binary to make it smaller and reduced in size
my binaries are only 35-40MB instead of 300MB
strip target/release/stacks-node
results in like 40mb binary
you can do strip target/release/blockstack-cli target/release/clarity-cli
or try to strip everything in the folder even if its not a binary it will strip out the binaries to make it easier
strip target/release/*
see "like magic" tiny binaries....
but you guys know this already you are the professionals and i am just a peasant bothering you guys with simple ideas to make things better
more useful interesting advice
make .torrent files for the archive files located here (so the files *never go offline ever in case of disaster)
you are more than welcome to strip any binaries you have.
that's entirely out of the scope of this repo, and there's already an open issue to address this. strip
simply isn't sufficient for our needs at the moment.
deprecatedrpc=create_bdb
Originally posted by @bitnet-io in https://github.com/stacksfoundation/miner-docs/issues/2#issuecomment-2019183120