Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: cryp71x on June 08, 2017, 04:46:13 PM



Title: How to signal support for BIP 148 ?
Post by: cryp71x on June 08, 2017, 04:46:13 PM
If I install Bitcoin Core v 0.14.1, do I automatically support BIP 148 or is there anything else needed, e.g. some commands in the debug console ?


Title: Re: How to signal support for BIP 148 ?
Post by: cr1776 on June 08, 2017, 04:48:48 PM
If I install Bitcoin Core v 0.14.1, do I automatically support BIP 148 or is there anything else needed, e.g. some commands in the debug console ?

http://www.uasf.co

Scroll down about halfway:

Quote
How can we show support for BIP148?

The best way to show support is to champion it through social media (Twitter, Facebook, etc…) and petition businesses and wallets to support it. Many users are also altering their node’s user agent string to include BIP148.

To signal #BIP148 on Linux on your node before binaries are released:

echo "uacomment=UASF-SegWit-BIP148" >> ~/.bitcoin/bitcoin.conf && bitcoin-cli stop && sleep 5 && bitcoind

To signal #BIP148 on Windows, you can edit the shortcut for Bitcoin as follows:
...



Title: Re: How to signal support for BIP 148 ?
Post by: cryp71x on June 08, 2017, 05:15:25 PM
 ;D
The question came to me after reading exactly this article. So I assume I have to type into the bash the command mentioned in this article after installing the Core Client.

So I first install the Core Client, then start it with ./bitcoin-qt -datadir=/what/so/ever
and then open another Linux bash cd to /usr/local/bin and type:

echo "uacomment=UASF-SegWit-BIP148" >> /what/so/ever/bitcoin.conf && bitcoin-cli stop && sleep 5 && bitcoind


But why bitcoin-cli stop && sleep 5 && bitcoind  ???
This doesn't make sense.

How can I check if the BIP 148 support signal was correctly set?


Title: Re: How to signal support for BIP 148 ?
Post by: achow101 on June 08, 2017, 05:39:55 PM
But why bitcoin-cli stop && sleep 5 && bitcoind  ???
This doesn't make sense.
The uacomment can only take effect after bitcoind has been restarted. The bitcoin-cli stop tells bitcoind to stop. The sleep 5 is to wait 5 seconds for bitcoind to actually shut down, and bitcoind is for starting bitcoind again.

However you are not using bitcoind so this won't work for you. Just do the first command, stop Bitcoin Core from the GUI, and launch it again once it is fully shut down.

How can I check if the BIP 148 support signal was correctly set?
In Bitcoin Core, go to Help > Debug Window and you will see a field for the User Agent. From there you can see that the User Agent Comment has been set to support BIP 148. Note that this does not mean that you are actually supporting BIP 148 and will enforce its rules. You are merely saying that you will support it before the activation deadline of August 1st.


Title: Re: How to signal support for BIP 148 ?
Post by: cryp71x on June 08, 2017, 06:59:05 PM
Thank you very much achow101.  :)

O.k. the command is only sending a signal if I understand this correctly. So, how to support it on August 1st?


Title: Re: How to signal support for BIP 148 ?
Post by: achow101 on June 08, 2017, 10:27:34 PM
Thank you very much achow101.  :)

O.k. the command is only sending a signal if I understand this correctly. So, how to support it on August 1st?
You will have to run a modified version of Bitcoin Core which enforces the BIP 148 rules. Those binaries can be found here: https://github.com/UASF/bitcoin/releases/tag/v0.14.1-uasfsegwit0.3


Title: Re: How to signal support for BIP 148 ?
Post by: cryp71x on June 09, 2017, 07:42:06 AM
Now I already installed the normal Bitcoin Core 0.14.1  :(

Is it possible to install this BIP 148 enforcer version on top? I mean it is a fork from bitcoin/bitcoin
So the question is, can I just simply compile the source of bitcoin-0.14.1-bip148_segwit0.3 and use the already downloaded blockchain or is it more complex?

I am using Linux Mint by the way.


Title: Re: How to signal support for BIP 148 ?
Post by: cryp71x on June 09, 2017, 03:24:13 PM
I installed it on top and everything is fine.
User-Agent /Satoshi:0.14.1/UASF-Segwit:0.3(BIP148)/

Thanks for the help.


Title: Re: How to signal support for BIP 148 ?
Post by: poptop on June 11, 2017, 10:50:03 PM
Do I enforce BIP148 If I signal BIP148 with Bitcoin Core 0.14.1?


Title: Re: How to signal support for BIP 148 ?
Post by: achow101 on June 11, 2017, 11:20:46 PM
Do I enforce BIP148 If I signal BIP148 with Bitcoin Core 0.14.1?
No. Bitcoin Core does not support BIP 148. You have to use a modified version of Core which has BIP 148 support built into it. Please actually read the thread you are posting in. I explained this earlier.


Title: Re: How to signal support for BIP 148 ?
Post by: barto123 on July 05, 2017, 07:36:26 PM
bitcoinuasf.org for the client to support BIP148

I have uploaded the entire bitcoin blockchain to speed things up too, the link to my Google drive is in this thread.
https://bitcointalk.org/index.php?topic=1310261.100


Title: Re: How to signal support for BIP 148 ?
Post by: skyline247 on July 05, 2017, 08:22:13 PM
I was wondering this too. Thank you all for the replies... looking forward to August 1st to see what happens to the price.


Title: Re: How to signal support for BIP 148 ?
Post by: cr1776 on July 15, 2017, 10:47:33 PM
Hello. Tell me please the source, where can I find general information about BIP 148?


This might help:
http://lmgtfy.com/?q=Bip148



And:
https://www.weusecoins.com/uasf-guide/