Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Z6MXM-0000LX-HH for bitcoin-development@lists.sourceforge.net; Sat, 20 Jun 2015 17:26:36 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.178 as permitted sender) client-ip=209.85.214.178; envelope-from=david.vorick@gmail.com; helo=mail-ob0-f178.google.com; Received: from mail-ob0-f178.google.com ([209.85.214.178]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Z6MXL-0003Hg-DA for bitcoin-development@lists.sourceforge.net; Sat, 20 Jun 2015 17:26:36 +0000 Received: by obpn3 with SMTP id n3so8879477obp.0 for ; Sat, 20 Jun 2015 10:26:30 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.112.138 with SMTP id iq10mr8814235obb.38.1434821189887; Sat, 20 Jun 2015 10:26:29 -0700 (PDT) Received: by 10.202.97.131 with HTTP; Sat, 20 Jun 2015 10:26:29 -0700 (PDT) In-Reply-To: References: Date: Sat, 20 Jun 2015 13:26:29 -0400 Message-ID: From: David Vorick Cc: Bitcoin Dev Content-Type: multipart/alternative; boundary=089e0149cd4e56ed150518f6572a X-Spam-Score: 0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (david.vorick[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.2 MISSING_HEADERS Missing To: header 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1Z6MXL-0003Hg-DA Subject: Re: [Bitcoin-development] Hard fork via miner vote X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2015 17:26:36 -0000 --089e0149cd4e56ed150518f6572a Content-Type: text/plain; charset=UTF-8 I see it as unreasonable to expect all nodes to upgrade during a hardfork. If you are intentionally waiting for that to happen, it's possible for an extreme minority of nodes to hold the rest of the network hostage by simply refusing to upgrade. However you want nodes to be able to protest until it is clear that they have lost the battle without being at risk of getting hardforked out of the network unexpectedly. I think it makes sense to add a second fuse. After the 95% barrier has been crossed, a 6 week timer starts that gives the remaining 5% time to upgrade. If they still don't upgrade, they have intentionally forked themselves from the network and it is not something that the remaining 95% need to be concerned with. On Sat, Jun 20, 2015 at 1:13 PM, Pieter Wuille wrote: > Hello all, > > I've seen ideas around hard fork proposals that involve a block version > vote (a la BIP34, BIP66, or my more recent versionbits BIP draft). I > believe this is a bad idea, independent of what the hard fork itself is. > > Ultimately, the purpose of a hard fork is asking the whole community to > change their full nodes to new code. The purpose of the trigger mechanism > is to establish when that has happened. > > Using a 95% threshold, implies the fork can happen when at least 5% of > miners have not upgraded, which implies some full nodes have not (as miners > are nodes), and in addition, means the old chain can keep growing too, > confusing old non-miner nodes as well. > > Ideally, the fork should be scheduled when one is certain nodes will have > upgraded, and the risk for a fork will be gone. If everyone has upgraded, > no vote is necessary, and if nodes have not, it remains risky to fork them > off. > > I understand that, in order to keep humans in the loop, you want an > observable trigger mechanism, and a hashrate vote is an easy way to do > this. But at least, use a minimum timestamp you believe to be reasonable > for upgrade, and a 100% threshold afterwards. Anything else guarantees that > your forking change happens *knowingly* before the risk is gone. > > You may argue that miners would be asked to - and have it in their best > interest - to not actually make blocks that violate the changed rule before > they are reasonably sure that everyone has upgraded. That is possible, but > it does not gain you anything over just using a 100% threshold, as how > would they be reasonably sure everyone has upgraded, while blocks creater > by non-upgraded miners are still being created? > > TL;DR: use a timestamp switchover for a hard fork, or add a block voting > threshold as a means to keep humans in the loop, but if you do, use 100% as > threshold. > > -- > Pieter > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > --089e0149cd4e56ed150518f6572a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I see it as unreasonable to expect all nodes to upgra= de during a hardfork. If you are intentionally waiting for that to happen, = it's possible for an extreme minority of nodes to hold the rest of the = network hostage by simply refusing to upgrade. However you want nodes to be= able to protest until it is clear that they have lost the battle without b= eing at risk of getting hardforked out of the network unexpectedly.

=
I think it makes sense to add a second fuse. After the 95% barri= er has been crossed, a 6 week timer starts that gives the remaining 5% time= to upgrade. If they still don't upgrade, they have intentionally forke= d themselves from the network and it is not something that the remaining 95= % need to be concerned with.

=
On Sat, Jun 20, 2015 at 1:13 PM, Pieter Wuille <= span dir=3D"ltr"><pieter.wuille@gmail.com> wrote:

Hello all,

I've seen ideas around hard fork proposals that involve = a block version vote (a la BIP34, BIP66, or my more recent versionbits BIP = draft). I believe this is a bad idea, independent of what the hard fork its= elf is.

Ultimately, the purpose of a hard fork is asking the whole c= ommunity to change their full nodes to new code. The purpose of the trigger= mechanism is to establish when that has happened.

Using a 95% threshold, implies the fork can happen when at l= east 5% of miners have not upgraded, which implies some full nodes have not= (as miners are nodes), and in addition, means the old chain can keep growi= ng too, confusing old non-miner nodes as well.

Ideally, the fork should be scheduled when one is certain no= des will have upgraded, and the risk for a fork will be gone. If everyone h= as upgraded, no vote is necessary, and if nodes have not, it remains risky = to fork them off.

I understand that, in order to keep humans in the loop, you = want an observable trigger mechanism, and a hashrate vote is an easy way to= do this. But at least, use a minimum timestamp you believe to be reasonabl= e for upgrade, and a 100% threshold afterwards. Anything else guarantees th= at your forking change happens *knowingly* before the risk is gone.

You may argue that miners would be asked to - and have it in= their best interest - to not actually make blocks that violate the changed= rule before they are reasonably sure that everyone has upgraded. That is p= ossible, but it does not gain you anything over just using a 100% threshold= , as how would they be reasonably sure everyone has upgraded, while blocks = creater by non-upgraded miners are still being created?

TL;DR: use a timestamp switchover for a hard fork, or add a = block voting threshold as a means to keep humans in the loop, but if you do= , use 100% as threshold.

--
Pieter


---------------------------------------------------------= ---------------------

_______________________________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/= listinfo/bitcoin-development


--089e0149cd4e56ed150518f6572a--