Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for bitcoin v26 bitcoin.conf #4

Open
wileyj opened this issue Mar 26, 2024 · 4 comments
Open

for bitcoin v26 bitcoin.conf #4

wileyj opened this issue Mar 26, 2024 · 4 comments

Comments

@wileyj
Copy link
Contributor

wileyj commented Mar 26, 2024

          for bitcoin v26 bitcoin.conf

deprecatedrpc=create_bdb

Originally posted by @bitnet-io in #2 (comment)

@wileyj
Copy link
Contributor Author

wileyj commented Mar 26, 2024

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

@bitnet-io
Copy link

bitnet-io commented Apr 5, 2024

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

stacks-strip

@bitnet-io
Copy link

more useful interesting advice

make .torrent files for the archive files located here (so the files *never go offline ever in case of disaster)

https://archive.hiro.so/mainnet/stacks-blockchain/

@wileyj
Copy link
Contributor Author

wileyj commented Apr 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants