summaryrefslogtreecommitdiff
path: root/bd/bebbdafbe1febf0cae794d0f91328b066e5fc5
blob: 38230106d1b523123d637a00210ddc1edb4ecb2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
Return-Path: <mark@friedenbach.org>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 301A4E2C
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 17 Dec 2015 09:33:49 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-io0-f174.google.com (mail-io0-f174.google.com
	[209.85.223.174])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 918F4192
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 17 Dec 2015 09:33:46 +0000 (UTC)
Received: by mail-io0-f174.google.com with SMTP id 186so49868297iow.0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 17 Dec 2015 01:33:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=friedenbach-org.20150623.gappssmtp.com; s=20150623;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=T+Jc3QFCKEYybJKT27AKpU0kCoYJ6Tw71uZhiI77sB0=;
	b=XvKElZ4cToDO4z1gaysEyGr5S/rwt2DTELNG1ZP2CoqZJm0p8BDiQsExXY++YTYqPF
	1utaLQz40FbWzF79ZLKU3A4X9iZ2jTGlC33iIWtTT2+MtMH54LATwMpVemdo2hRjpW43
	jtxjoO4MO4GilO3PXS/eT51A8yWBRRbSIRSxqWTRjcUGodAKh2ejtjqbze2jtFW2IBsr
	WNANQKVAYenIoUmqqTxGKNnqax7kyUjSDUzpdbBymLwMArKTxz/23M5qym7vPiLQXJEi
	G3R56eNiwohe9VpcKF7rJXZ2OCT+InfT1s8Mtc1EzMRYXNmubKNdAcNuzD3njC02t3gp
	XMEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc:content-type;
	bh=T+Jc3QFCKEYybJKT27AKpU0kCoYJ6Tw71uZhiI77sB0=;
	b=No/H3khK36/ukVjHj1MDNVb0JDXFSs+BPvhRsFeW6Fck52ACCSwEN3SZU7ux7TFIlx
	t11YD3MhC5ueyGRSaOHMTtraxiAgCiWozXCn19wZEiiwXIAOfltBH/+NGLUiyGYN6e1M
	w0G/ZJ57POe+HHbsBqgRDAzbq5fJ8JG4184xxaiHgPnX8ZgUfEXoI2mI0E+Ic980TAqy
	SvWmBT+QoEWpJJumlFYPVnmyMWNUDiyqLLT/sb84RI7MJqhQiKiqZRqPtUtUMDFJk2gc
	2XMreJjj3ADwcPCtY2qtdDZimzOSzpefbF4K5VH1IoGpcjTAWSx9ISlg+UAFDEGdgSY+
	nDEg==
X-Gm-Message-State: ALoCoQlEk5KXtapRko6Aw27DpBHcWwHYoS4rqbVwaYwYLxmDwvj30UlXk4Dqit2Xd+POGRzCn0H5sYtmJj4kSWunBJprOsMhhg==
X-Received: by 10.107.149.199 with SMTP id x190mr20311846iod.105.1450344825994;
	Thu, 17 Dec 2015 01:33:45 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.132.193 with HTTP; Thu, 17 Dec 2015 01:33:26 -0800 (PST)
X-Originating-IP: [101.15.162.11]
In-Reply-To: <9869fe48a4fc53fc355a35cead73fca2@xbt.hk>
References: <CADm_WcYWh5EnBCzQQVc04sf-0seh2zrmc+5dH8Z-Bo78jhPnfA@mail.gmail.com>
	<49257841-66C8-4EF7-980B-73DC604CA591@mattcorallo.com>
	<9869fe48a4fc53fc355a35cead73fca2@xbt.hk>
From: Mark Friedenbach <mark@friedenbach.org>
Date: Thu, 17 Dec 2015 17:33:26 +0800
Message-ID: <CAOG=w-sMdp1+mcNZc_yfwx59EAwSkFUHekRrqcYXsuLVoCw=1A@mail.gmail.com>
To: jl2012 <jl2012@xbt.hk>
Content-Type: multipart/alternative; boundary=001a1140ac0e27dce5052714b8c3
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: Jeff Garzik via bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Segregated Witness in the context of Scaling
	Bitcoin
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Dec 2015 09:33:49 -0000

--001a1140ac0e27dce5052714b8c3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

There are many reasons to support segwit beyond it being a soft-fork. For
example:

* the limitation of non-witness data to no more than 1MB makes the
quadratic scaling costs in large transaction validation no worse than they
currently are;
* redeem scripts in witness use a more accurate cost accounting than
non-witness data (further improvements to this beyond what Pieter has
implemented are possible); and
* segwit provides features (e.g. opt-in malleability protection) which are
required by higher-level scaling solutions.

With that in mind I really don't understand the viewpoint that it would be
better to engage a strictly inferior proposal such as a simple adjustment
of the block size to 2MB.

On Thu, Dec 17, 2015 at 1:32 PM, jl2012 via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> There are at least 2 proposals on the table:
>
> 1. SWSF (segwit soft fork) with 1MB virtual block limit, approximately
> equals to 2MB actual limit
>
> 2. BIP102: 2MB actual limit
>
> Since the actual limits for both proposals are approximately the same, it
> is not a determining factor in this discussion
>
> The biggest advantage of SWSF is its softfork nature. However, its
> complexity is not comparable with any previous softforks we had. It is
> reasonable to doubt if it could be ready in 6 months
>
> For BIP102, although it is a hardfork, it is a very simple one and could
> be deployed with ISM in less than a month. It is even simpler than BIP34,
> 66, and 65.
>
> So we have a very complicated softfork vs. a very simple hardfork. The
> only reason makes BIP102 not easy is the fact that it's a hardfork.
>
> The major criticism for a hardfork is requiring everyone to upgrade. Is
> that really a big problem?
>
> First of all, hardfork is not a totally unknown territory. BIP50 was a
> hardfork. The accident happened on 13 March 2013. Bitcoind 0.8.1 was
> released on 18 March, which only gave 2 months of grace period for everyo=
ne
> to upgrade. The actual hardfork happened on 16 August. Everything complet=
ed
> in 5 months without any panic or chaos. This experience strongly suggests
> that 5 months is already safe for a simple hardfork. (in terms of
> simplicity, I believe BIP102 is even simpler than BIP50)
>
> Another experience is from BIP66. The 0.10.0 was released on 16 Feb 2015,
> exactly 10 months ago. I analyze the data on https://bitnodes.21.co and
> found that 4600 out of 5090 nodes (90.4%) indicate BIP66 support.
> Considering this is a softfork, I consider this as very good adoption
> already.
>
> With the evidence from BIP50 and BIP66, I believe a 5 months
> pre-announcement is good enough for BIP102. As the vast majority of miner=
s
> have declared their support for a 2MB solution, the legacy 1MB fork will
> certainly be abandoned and no one will get robbed.
>
>
> My primary proposal:
>
> Now - 15 Jan 2016: formally consult the major miners and merchants if the=
y
> support an one-off rise to 2MB. I consider approximately 80% of mining
> power and 80% of trading volume would be good enough
>
> 16 - 31 Jan 2016: release 0.11.3 with BIP102 with ISM vote requiring 80%
> of hashing power
>
> 1 Jun 2016: the first day a 2MB block may be allowed
>
> Before 31 Dec 2016: release SWSF
>
>
>
> My secondary proposal:
>
> Now: Work on SWSF in a turbo mode and have a deadline of 1 Jun 2016
>
> 1 Jun 2016: release SWSF
>
> What if the deadline is not met? Maybe pushing an urgent BIP102 if things
> become really bad.
>
>
> In any case, I hope a clear decision and road map could be made now. This
> topic has been discussed to death. We are just bringing further uncertain=
ty
> if we keep discussing.
>
>
> Matt Corallo via bitcoin-dev =E6=96=BC 2015-12-16 15:50 =E5=AF=AB=E5=88=
=B0:
>
>> A large part of your argument is that SW will take longer to deploy
>> than a hard fork, but I completely disagree. Though I do not agree
>> with some people claiming we can deploy SW significantly faster than a
>> hard fork, once the code is ready (probably a six month affair) we can
>> get it deployed very quickly. It's true the ecosystem may take some
>> time to upgrade, but I see that as a feature, not a bug - we can build
>> up some fee pressure with an immediate release valve available for
>> people to use if they want to pay fewer fees.
>>
>>  On the other hand, a hard fork, while simpler for the ecosystem to
>> upgrade to, is a 1-2 year affair (after the code is shipped, so at
>> least 1.5-2.5 from today if we all put off heads down and work). One
>> thing that has concerned me greatly through this whole debate is how
>> quickly people seem to think we can roll out a hard fork. Go look at
>> the distribution of node versions on the network today and work
>> backwards to get nearly every node upgraded... Even with a year
>> between fork-version-release and fork-activation, we'd still kill a
>> bunch of nodes and instead of reducing their security model, lead them
>> to be outright robbed.
>>
>>
> _______________________________________________
>
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

--001a1140ac0e27dce5052714b8c3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>There are many reasons to support segwit be=
yond it being a soft-fork. For example:<br><br>* the limitation of non-witn=
ess data to no more than 1MB makes the quadratic scaling costs in large tra=
nsaction validation no worse than they currently are;<br></div>* redeem scr=
ipts in witness use a more accurate cost accounting than non-witness data (=
further improvements to this beyond what Pieter has implemented are possibl=
e); and<br></div>* segwit provides features (e.g. opt-in malleability prote=
ction) which are required by higher-level scaling solutions.<br><br></div>W=
ith that in mind I really don&#39;t understand the viewpoint that it would =
be better to engage a strictly inferior proposal such as a simple adjustmen=
t of the block size to 2MB.<br><div><div><div><div><div class=3D"gmail_extr=
a"><br><div class=3D"gmail_quote">On Thu, Dec 17, 2015 at 1:32 PM, jl2012 v=
ia bitcoin-dev <span dir=3D"ltr">&lt;<a href=3D"mailto:bitcoin-dev@lists.li=
nuxfoundation.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There are at least =
2 proposals on the table:<br>
<br>
1. SWSF (segwit soft fork) with 1MB virtual block limit, approximately equa=
ls to 2MB actual limit<br>
<br>
2. BIP102: 2MB actual limit<br>
<br>
Since the actual limits for both proposals are approximately the same, it i=
s not a determining factor in this discussion<br>
<br>
The biggest advantage of SWSF is its softfork nature. However, its complexi=
ty is not comparable with any previous softforks we had. It is reasonable t=
o doubt if it could be ready in 6 months<br>
<br>
For BIP102, although it is a hardfork, it is a very simple one and could be=
 deployed with ISM in less than a month. It is even simpler than BIP34, 66,=
 and 65.<br>
<br>
So we have a very complicated softfork vs. a very simple hardfork. The only=
 reason makes BIP102 not easy is the fact that it&#39;s a hardfork.<br>
<br>
The major criticism for a hardfork is requiring everyone to upgrade. Is tha=
t really a big problem?<br>
<br>
First of all, hardfork is not a totally unknown territory. BIP50 was a hard=
fork. The accident happened on 13 March 2013. Bitcoind 0.8.1 was released o=
n 18 March, which only gave 2 months of grace period for everyone to upgrad=
e. The actual hardfork happened on 16 August. Everything completed in 5 mon=
ths without any panic or chaos. This experience strongly suggests that 5 mo=
nths is already safe for a simple hardfork. (in terms of simplicity, I beli=
eve BIP102 is even simpler than BIP50)<br>
<br>
Another experience is from BIP66. The 0.10.0 was released on 16 Feb 2015, e=
xactly 10 months ago. I analyze the data on <a href=3D"https://bitnodes.21.=
co" rel=3D"noreferrer" target=3D"_blank">https://bitnodes.21.co</a> and fou=
nd that 4600 out of 5090 nodes (90.4%) indicate BIP66 support. Considering =
this is a softfork, I consider this as very good adoption already.<br>
<br>
With the evidence from BIP50 and BIP66, I believe a 5 months pre-announceme=
nt is good enough for BIP102. As the vast majority of miners have declared =
their support for a 2MB solution, the legacy 1MB fork will certainly be aba=
ndoned and no one will get robbed.<br>
<br>
<br>
My primary proposal:<br>
<br>
Now - 15 Jan 2016: formally consult the major miners and merchants if they =
support an one-off rise to 2MB. I consider approximately 80% of mining powe=
r and 80% of trading volume would be good enough<br>
<br>
16 - 31 Jan 2016: release 0.11.3 with BIP102 with ISM vote requiring 80% of=
 hashing power<br>
<br>
1 Jun 2016: the first day a 2MB block may be allowed<br>
<br>
Before 31 Dec 2016: release SWSF<br>
<br>
<br>
<br>
My secondary proposal:<br>
<br>
Now: Work on SWSF in a turbo mode and have a deadline of 1 Jun 2016<br>
<br>
1 Jun 2016: release SWSF<br>
<br>
What if the deadline is not met? Maybe pushing an urgent BIP102 if things b=
ecome really bad.<br>
<br>
<br>
In any case, I hope a clear decision and road map could be made now. This t=
opic has been discussed to death. We are just bringing further uncertainty =
if we keep discussing.<br>
<br>
<br>
Matt Corallo via bitcoin-dev =E6=96=BC 2015-12-16 15:50 =E5=AF=AB=E5=88=B0:=
<span class=3D""><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
A large part of your argument is that SW will take longer to deploy<br>
than a hard fork, but I completely disagree. Though I do not agree<br>
with some people claiming we can deploy SW significantly faster than a<br>
hard fork, once the code is ready (probably a six month affair) we can<br>
get it deployed very quickly. It&#39;s true the ecosystem may take some<br>
time to upgrade, but I see that as a feature, not a bug - we can build<br>
up some fee pressure with an immediate release valve available for<br>
people to use if they want to pay fewer fees.<br>
<br>
=C2=A0On the other hand, a hard fork, while simpler for the ecosystem to<br=
>
upgrade to, is a 1-2 year affair (after the code is shipped, so at<br>
least 1.5-2.5 from today if we all put off heads down and work). One<br>
thing that has concerned me greatly through this whole debate is how<br>
quickly people seem to think we can roll out a hard fork. Go look at<br>
the distribution of node versions on the network today and work<br>
backwards to get nearly every node upgraded... Even with a year<br>
between fork-version-release and fork-activation, we&#39;d still kill a<br>
bunch of nodes and instead of reducing their security model, lead them<br>
to be outright robbed.<br>
<br>
</blockquote>
<br></span>
_______________________________________________<div class=3D"HOEnZb"><div c=
lass=3D"h5"><br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</div></div></blockquote></div><br></div></div></div></div></div></div>

--001a1140ac0e27dce5052714b8c3--