Author

Topic: how to build core wallet as standalone file (Read 418 times)

sr. member
Activity: 336
Merit: 250
Would you be willing to buy a sealed bonnet car?
You have been great in your explanation, can you in tell me a tutorial to link libraries statically? My target is to be able to compile any wallet and to run it in a system it have no libraries installed as bitcoin yet do.
Bitcoin Core builds the binaries through the gitian build system which you can read about here: https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md and here: https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md. If you use the same process for an altcoin (assuming that the dependencies and gitian descriptors are correct), then you will get standalone binaries.

You have been kindly, I appreciate. Have a nice time.
staff
Activity: 3458
Merit: 6793
Just writing some code
You have been great in your explanation, can you in tell me a tutorial to link libraries statically? My target is to be able to compile any wallet and to run it in a system it have no libraries installed as bitcoin yet do.
Bitcoin Core builds the binaries through the gitian build system which you can read about here: https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md and here: https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md. If you use the same process for an altcoin (assuming that the dependencies and gitian descriptors are correct), then you will get standalone binaries.
sr. member
Activity: 336
Merit: 250
Would you be willing to buy a sealed bonnet car?
In order for a standalone binary to work, it needs to be statically linked. Bitcoin Core does this through its depends system which builds all of the dependencies and statically links them to the Bitcoin Core binaries. However most altcoins don't do this because most altcoin devs do not understand all of the intricacies involved in making the Bitcoin Core releases.

You have been great in your explanation, can you in tell me a tutorial to link libraries statically? My target is to be able to compile any wallet and to run it in a system it have no libraries installed as bitcoin yet do.
staff
Activity: 3458
Merit: 6793
Just writing some code
In order for a standalone binary to work, it needs to be statically linked. Bitcoin Core does this through its depends system which builds all of the dependencies and statically links them to the Bitcoin Core binaries. However most altcoins don't do this because most altcoin devs do not understand all of the intricacies involved in making the Bitcoin Core releases.
sr. member
Activity: 336
Merit: 250
Would you be willing to buy a sealed bonnet car?
Hello, I'm looking for a way to build a coin wallet for linux in standalone file, when I build any wallet it depends from library I use to compile it, and for example if I remove from system libdb5.1-dev the wallet doesn't start... It does't happens with precompiled daemon like bitcoind or dogecoind downloaded from ufficial page. I'm asking, what is the way to build a coin from source including all package it need? I don't find a tutorial or guide to do it, can someone help me?

thanks.

bitfawkes
Jump to: