Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: superresistant on April 08, 2017, 12:10:03 PM



Title: How to compile Bitcoin Core v0.14.1 UASF Segwit0.3(BIP148)
Post by: superresistant on April 08, 2017, 12:10:03 PM
 
Updated for v0.14.1

How to compile Bitcoin Core v0.14.1 UASF-Segwit0.3(BIP148) on Win10

First you must activate Windows Subsystem For Linux.

https://msdn.microsoft.com/en-us/commandline/wsl/install_guide (https://msdn.microsoft.com/en-us/commandline/wsl/install_guide)

Then open a bash and follow :

Code:
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl unzip -y
Code:
sudo apt-get install g++-mingw-w64-x86-64 mingw-w64-x86-64-dev
Code:
mkdir -p src && cd src
Code:
wget https://github.com/UASF/bitcoin/archive/v0.14.1-uasfsegwit0.3.zip
Code:
unzip v0.14.1-uasfsegwit0.3.zip
Code:
cd bitcoin-0.14.1-uasfsegwit0.3/depends/
Code:
make HOST=x86_64-w64-mingw32
(very long wait !)
Code:
cd ..
Code:
./autogen.sh
Code:
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
Code:
make
(very long wait !)
Code:
make install DESTDIR=/mnt/d/bitcoin

Then the file was in D:\bitcoin\bin\bitcoin-qt.exe (replace with c for C: drive)



If you fail or you're too lazy, I share my binary but it would be much better if you learned how to compile, it's not that hard.

Download Bitcoin Core v0.14.1 UASF-Segwit0.3(BIP148) (https://mega.nz/#!MOYnCDgC!p8G6ydEpj5bM1r99c1KdjipBIUsxsCyuEsCQoAjmXvc)
Do not download from a quote.
ee4aa795319dcede5118e321927cf4a1 Bitcoin Core v0.14.1 UASF-Segwit0.3(BIP148).zip
59cd64900ac55944e73cf4ae355c69c7  bitcoin-qt.exe



Title: Re: How to compile Bitcoin Core v0.14.0 UASF-Segwit0.3(BIP148)
Post by: adam440 on April 09, 2017, 04:06:03 PM
Thanks for the tutorial, but I want all the blockchain data saved on a different hard drive. Is it possible? For my 500 GB SSD, 100 GB is just too much...
EDIT: I also have all the data now downloaded on that hard drive, and I'm running Bitcoin QT from that hard drive...


Title: Re: How to compile Bitcoin Core v0.14.0 UASF-Segwit0.3(BIP148)
Post by: unamis76 on April 09, 2017, 04:13:39 PM
Thanks for the tutorial, but I want all the blockchain data saved on a different hard drive. Is it possible? For my 500 GB SSD, 100 GB is just too much...

Yes, use the -datadir option (https://en.bitcoin.it/wiki/Data_directory).


Title: Re: How to compile Bitcoin Core v0.14.0 UASF-Segwit0.3(BIP148)
Post by: Realtech on April 10, 2017, 08:36:32 PM
thank bro i will give a try.


Title: Re: How to compile Bitcoin Core v0.14.1 UASF Segwit0.3(BIP148)
Post by: superresistant on May 20, 2017, 07:15:57 AM
 
Updated for v0.14.1
tutorial & binaries


Title: Re: How to compile Bitcoin Core v0.14.1 UASF Segwit0.3(BIP148)
Post by: andron8383 on May 20, 2017, 08:25:15 AM

Updated for v0.14.1
tutorial & binaries


Thank you for effort . Do you know if that version will be able to run on raspberry pi 2 ?
I wanted setup such node but i don't know if it will be possible now.
Sad is that we have to move BTC as users on our own  : )


Title: Re: How to compile Bitcoin Core v0.14.1 UASF Segwit0.3(BIP148)
Post by: superresistant on May 20, 2017, 08:57:56 AM
Thank you for effort . Do you know if that version will be able to run on raspberry pi 2 ? I wanted setup such node but i don't know if it will be possible now. Sad is that we have to move BTC as users on our own  : )

Nowadays you really need 2 GB of RAM on your raspberry/raspberry-clone.
Something like an Orange Pi Plus 2E.


Title: Re: How to compile Bitcoin Core v0.14.1 UASF Segwit0.3(BIP148)
Post by: Perlover on June 07, 2017, 01:34:13 PM
Hi,

Please see my ready Makefile for this here:

https://github.com/Perlover/bitcoin-uasf-makefile

It was done for CentOS but there universal solutions for all Un*x i think :)


Title: Re: How to compile Bitcoin Core v0.14.1 UASF Segwit0.3(BIP148)
Post by: Yogafan00000 on June 08, 2017, 03:36:42 PM
What do the pursuers of the UASF really expect from the miners this coming August?  Are you all really ready to cause a split?  The community is already forked as is.

It's like when you have bathroom.  The body is splitting from the waste.  Until you can make it there, you might have an uncomfortable belly ache.

Unfortunate, but necessary.

Don't forget to wash your hands.



Title: Re: How to compile Bitcoin Core v0.14.1 UASF Segwit0.3(BIP148)
Post by: Wexlike on June 29, 2017, 10:11:15 AM
Thank you !


Title: Re: How to compile Bitcoin Core v0.14.1 UASF Segwit0.3(BIP148)
Post by: 7jaka7 on July 10, 2017, 04:15:03 PM
If I compile my Bitcoin core wallet, does this means I'm supporting this UASF, and if I don't compile it I don't support it?
What would happen if I compile my wallet and then it isn't accepted by majority? Do i need to ''uncompile'' it?

Does all the other wallets need this change (update, compilation) too? If I have wallet on android do i only need to update it or what?

Thanks for answers.

p.s. Can anyone provide me some links which describe this UASF in simple words or video explaining it. And what would happen in case of splitting?


Title: Re: How to compile Bitcoin Core v0.14.1 UASF Segwit0.3(BIP148)
Post by: achow101 on July 10, 2017, 05:19:58 PM
If I compile my Bitcoin core wallet, does this means I'm supporting this UASF, and if I don't compile it I don't support it?
What would happen if I compile my wallet and then it isn't accepted by majority? Do i need to ''uncompile'' it?
Compiling is the process of building an executable from source code. It has nothing to do with supporting or not supporting a proposal in Bitcoin. You can compile a version of Bitcoin Core which has BIP 148 support. You can also compile a version of Bitcoin Core which does not. You can also just download and install the pre-compiled versions of those software.

Bitcoin Core does not support BIP 148. This is simply a fork of Bitcoin Core maintained by supporters of BIP 148. It is frequently updated with the latest changes from Core (as new releases are made) and a small patchset with the BIP 148 stuff is applied on top.

Does all the other wallets need this change (update, compilation) too? If I have wallet on android do i only need to update it or what?
Any consensus rule change requires that all software must have their source code updated, recompiled, and released as a new version (it must have proper versioning, otherwise users will be confused). This is usually done on the developer's side as they will publish pre-compiled binaries for you to download and install.