summaryrefslogtreecommitdiff
path: root/5c/78aae8d70d41fc1dab06a458397734f1fe6ed2
blob: 4262d93193ebcea07557364d6fe0058a9ca1cbe0 (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
339
340
341
342
343
344
345
346
347
348
349
350
Return-Path: <teekhan42@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 15634B43
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 10 Jan 2017 19:09:45 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-ua0-f193.google.com (mail-ua0-f193.google.com
	[209.85.217.193])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 1AF4E1EF
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 10 Jan 2017 19:09:44 +0000 (UTC)
Received: by mail-ua0-f193.google.com with SMTP id 96so47082426uaq.2
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 10 Jan 2017 11:09:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to; 
	bh=BH/o9YF220daP2qHKxUqfneQZQfoamL7ydFKSABcXnU=;
	b=cRyahWjvvqdjIDvBDRn1bjgAvj6I1JqHlruUPU87CJqiH/OiMR+mTxWG0anI4a+RAt
	KUVR2jv3Gat/bupqfIUHQ3sgNh0Q/RQ0xdpspYyotE21ouhHWQqK8sIZyvIW1YTGtMSw
	xVgixDuU0FL4v3hzSFHVGA52S33oTyd8M+aESy7vosXnXmXHjZAYjhgkjZe/O7208DDD
	to1+83PrW8Foy9z+Hdzh1Jjj7AZ3T8uS4aLSuRzadFYS9BTLBc5uNoSgkSfbDrq+AT52
	IrLZbLWpCkEt3vQBcewmjjg97QBkI9lUhu/i07yps1jdPGMqDNumCMcX3kKbcNrxetNe
	7WYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to;
	bh=BH/o9YF220daP2qHKxUqfneQZQfoamL7ydFKSABcXnU=;
	b=ApVGeDHvXmcyhhqAt+7P0V6st99rfM6aRHx4vz0iUw6lLymceDsG80CyLwY5xYk4oZ
	iwz0f7Thhov0yFS/MZ/F8kIOXg8e9dyKS87FnTAjMYHdk6WzAePQ+0fdHqzgx4A/KhlN
	zJOMYaTvvjY1X1c6ojW+YXZ2mXCxWgEPIEnBY5kAkWOfP4MUV0XfURdht61jQAukQ95C
	RpWYOUiPw9IQMIyfOSRWBAGwvjaRnCAJnzw8dJz/7lZBjfeRz9tJzlko1on2q/VOOHNX
	6nDsHUu4a5bR0CHg0CXyEDecIu/EYwxpwafmpP7LAM2Tf7sf0l0moF1ZYpZ0gAQUjkyW
	kbwg==
X-Gm-Message-State: AIkVDXIGhHaJeZaiqzxMfWznOHSxqfYkIe3DnLikRsb7OuldSnHdYo9prk0faJAuo/MH0ozshPdjo6pdFsXynQ==
X-Received: by 10.176.6.167 with SMTP id g36mr2453032uag.97.1484075383286;
	Tue, 10 Jan 2017 11:09:43 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.49.77 with HTTP; Tue, 10 Jan 2017 11:09:42 -0800 (PST)
In-Reply-To: <127281C1AA02374F8AAD9EE04FAE878A02154E4E46@STUDMail1.muad.local>
References: <127281C1AA02374F8AAD9EE04FAE878A02154E4E46@STUDMail1.muad.local>
From: "t. khan" <teekhan42@gmail.com>
Date: Tue, 10 Jan 2017 14:09:42 -0500
Message-ID: <CAGCNRJojqEY_wiPzviGxcuz7GEceFVb=_2bRuYJswPOUMLNAPA@mail.gmail.com>
To: Ryan J Martin <rjmarti2@millersville.edu>, 
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary=94eb2c047d420a72400545c23aa5
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,
	HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Subject: Re: [bitcoin-dev] BIP - Block75 - Historical and future projections
 (t. khan)
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Protocol 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: Tue, 10 Jan 2017 19:09:45 -0000

--94eb2c047d420a72400545c23aa5
Content-Type: text/plain; charset=UTF-8

As Block75 maintains blocks at 75% full (average over time), it
automatically stabilizes transaction fees at about the level they were in
May/June 2016. It will even do so through changes in transaction size and
volume caused by SegWit and Lightning.

- t.k.

On Mon, Jan 9, 2017 at 11:14 PM, Ryan J Martin via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

>      The adaptive/automatic block size notion has been around for a
> while--- others would be better able to speak to why it hasn't gotten
> traction. However my concern with something like that is that it doesn't
> regard the optimal economic equilibrium for tx fees/size---not that the
> current limit does either but the concern with an auto-adjusting size limit
> that ignores this  would be the potential to create unforeseen
> externalities for miners/users. Miners may decide it is more profitable to
> mine very small blocks to constrict supply and increase marginal fees and
> with how centralized mining is, where a dozen pools have 85% hashrate, a
> couple of pools could do this. Then on the other side, maybe the prisoner's
> dilemma would hold and all miners would have minrelaytxfee set at zero and
> users would push the blocks to larger and larger sizes causing higher and
> higher latency and network issues.
>     Perhaps something like this could work (I can only speak to the
> economic side anyway) but it would have to have some solid code that has a
> social benefit model built in to adjust to an equilibrium that is able to
> optimize---as in maximizes benefit/minimize cost for both sides via a
> Marshallian surplus model--- for each size point.
>      To be clear, I'm not saying an auto-adjusting limit is unworkable
> (again only from an economic standpoint), just that it would need to have
> these considerations built in.
>
> -Ryan J. Martin
>
>
> ________________________________________
>
> ------------------------------
>
> Message: 2
> Date: Mon, 9 Jan 2017 14:52:31 -0500
> From: "t. khan" <teekhan42@gmail.com>
> To: Bitcoin Protocol Discussion
>         <bitcoin-dev@lists.linuxfoundation.org>
> Subject: [bitcoin-dev] BIP - Block75 - Historical and future
>         projections
> Message-ID:
>         <CAGCNRJpSV9zKxhVvqpMVPyFyXco_ABB9a7_ihaDKEKFPQ9v3sw@mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Using daily average block size over the past year (source:
> https://blockchain.info/charts/avg-block-size?
> daysAverageString=14&timespan=1year
> ), here's how Block75 would have altered max block sizes:
>
> [image: Inline image 1]
>
> As of today, the max block size would be 1,135KB.
>
> Looking forward and using the last year's growth rate as a model:
>
> [image: Inline image 2]
>
> This shows the max block size one year from now would be 2,064KB, if
> Block75 activated today.
>
> Of course, this is just an estimate, but even accounting for a substantial
> increase in transactions in the last quarter of 2017 and changes brought
> about by SegWit (hopefully) activating, Block75 alters the max size in such
> a way that allows for growth, keeps blocks as small as possible, *and*
> maintains transaction fees at a level similar to May/June 2016.
>
> If anyone has an alternate way to model future behavior, please run it
> through the Block75 algorithm.
>
> Every 2016 blocks, do this:
>
> new max blocksize = x + (x * (AVERAGE_CAPACITY - TARGET_CAPACITY))
>
> TARGET_CAPACITY = 0.75    //Block75's target of keeping blocks 75% full
> AVERAGE_CAPACITY = average percentage full of the last 2016 blocks, as a
> decimal
> x = current max block size
>
>
> Thanks,
>
> - t.k.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/
> attachments/20170109/b0e0b713/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: Block75 2016.png
> Type: image/png
> Size: 32088 bytes
> Desc: not available
> URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/
> attachments/20170109/b0e0b713/attachment.png>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: Block75 2017.png
> Type: image/png
> Size: 33176 bytes
> Desc: not available
> URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/
> attachments/20170109/b0e0b713/attachment-0001.png>
>
> ------------------------------
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>
> End of bitcoin-dev Digest, Vol 20, Issue 21
> *******************************************
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

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

<div dir=3D"ltr">As Block75 maintains blocks at 75% full (average over time=
), it automatically stabilizes transaction fees at about the level they wer=
e in May/June 2016. It will even do so through changes in transaction size =
and volume caused by SegWit and Lightning.<div><br></div><div>- t.k.<br><di=
v class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, Jan 9, 2017 =
at 11:14 PM, Ryan J Martin via bitcoin-dev <span dir=3D"ltr">&lt;<a href=3D=
"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bitcoin-de=
v@lists.linuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">=C2=A0 =C2=A0 =C2=A0The adaptive/automatic block size notion has b=
een around for a while--- others would be better able to speak to why it ha=
sn&#39;t gotten traction. However my concern with something like that is th=
at it doesn&#39;t regard the optimal economic equilibrium for tx fees/size-=
--not that the current limit does either but the concern with an auto-adjus=
ting size limit that ignores this=C2=A0 would be the potential to create un=
foreseen externalities for miners/users. Miners may decide it is more profi=
table to mine very small blocks to constrict supply and increase marginal f=
ees and with how centralized mining is, where a dozen pools have 85% hashra=
te, a couple of pools could do this. Then on the other side, maybe the pris=
oner&#39;s dilemma would hold and all miners would have minrelaytxfee set a=
t zero and users would push the blocks to larger and larger sizes causing h=
igher and higher latency and network issues.<br>
=C2=A0 =C2=A0 Perhaps something like this could work (I can only speak to t=
he economic side anyway) but it would have to have some solid code that has=
 a social benefit model built in to adjust to an equilibrium that is able t=
o optimize---as in maximizes benefit/minimize cost for both sides via a Mar=
shallian surplus model--- for each size point.<br>
=C2=A0 =C2=A0 =C2=A0To be clear, I&#39;m not saying an auto-adjusting limit=
 is unworkable (again only from an economic standpoint), just that it would=
 need to have these considerations built in.<br>
<br>
-Ryan J. Martin<br>
<br>
<br>
______________________________<wbr>__________<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 9 Jan 2017 14:52:31 -0500<br>
From: &quot;t. khan&quot; &lt;<a href=3D"mailto:teekhan42@gmail.com">teekha=
n42@gmail.com</a>&gt;<br>
To: Bitcoin Protocol Discussion<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfo=
undation.org">bitcoin-dev@lists.<wbr>linuxfoundation.org</a>&gt;<br>
Subject: [bitcoin-dev] BIP - Block75 - Historical and future<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 projections<br>
Message-ID:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:CAGCNRJpSV9zKxhVvqpMVPyFy=
Xco_ABB9a7_ihaDKEKFPQ9v3sw@mail.gmail.com">CAGCNRJpSV9zKxhVvqpMVPyFyXco_<wb=
r>ABB9a7_ihaDKEKFPQ9v3sw@mail.<wbr>gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=3D&quot;utf-8&quot;<br>
<br>
Using daily average block size over the past year (source:<br>
<a href=3D"https://blockchain.info/charts/avg-block-size?daysAverageString=
=3D14&amp;timespan=3D1year" rel=3D"noreferrer" target=3D"_blank">https://bl=
ockchain.info/<wbr>charts/avg-block-size?<wbr>daysAverageString=3D14&amp;ti=
mespan=3D<wbr>1year</a><br>
), here&#39;s how Block75 would have altered max block sizes:<br>
<br>
[image: Inline image 1]<br>
<br>
As of today, the max block size would be 1,135KB.<br>
<br>
Looking forward and using the last year&#39;s growth rate as a model:<br>
<br>
[image: Inline image 2]<br>
<br>
This shows the max block size one year from now would be 2,064KB, if<br>
Block75 activated today.<br>
<br>
Of course, this is just an estimate, but even accounting for a substantial<=
br>
increase in transactions in the last quarter of 2017 and changes brought<br=
>
about by SegWit (hopefully) activating, Block75 alters the max size in such=
<br>
a way that allows for growth, keeps blocks as small as possible, *and*<br>
maintains transaction fees at a level similar to May/June 2016.<br>
<br>
If anyone has an alternate way to model future behavior, please run it<br>
through the Block75 algorithm.<br>
<br>
Every 2016 blocks, do this:<br>
<br>
new max blocksize =3D x + (x * (AVERAGE_CAPACITY - TARGET_CAPACITY))<br>
<br>
TARGET_CAPACITY =3D 0.75=C2=A0 =C2=A0 //Block75&#39;s target of keeping blo=
cks 75% full<br>
AVERAGE_CAPACITY =3D average percentage full of the last 2016 blocks, as a<=
br>
decimal<br>
x =3D current max block size<br>
<br>
<br>
Thanks,<br>
<br>
- t.k.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href=3D"http://lists.linuxfoundation.org/pipermail/bitcoin-dev/=
attachments/20170109/b0e0b713/attachment.html" rel=3D"noreferrer" target=3D=
"_blank">http://lists.linuxfoundation.<wbr>org/pipermail/bitcoin-dev/<wbr>a=
ttachments/20170109/b0e0b713/<wbr>attachment.html</a>&gt;<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: Block75 2016.png<br>
Type: image/png<br>
Size: 32088 bytes<br>
Desc: not available<br>
URL: &lt;<a href=3D"http://lists.linuxfoundation.org/pipermail/bitcoin-dev/=
attachments/20170109/b0e0b713/attachment.png" rel=3D"noreferrer" target=3D"=
_blank">http://lists.linuxfoundation.<wbr>org/pipermail/bitcoin-dev/<wbr>at=
tachments/20170109/b0e0b713/<wbr>attachment.png</a>&gt;<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: Block75 2017.png<br>
Type: image/png<br>
Size: 33176 bytes<br>
Desc: not available<br>
URL: &lt;<a href=3D"http://lists.linuxfoundation.org/pipermail/bitcoin-dev/=
attachments/20170109/b0e0b713/attachment-0001.png" rel=3D"noreferrer" targe=
t=3D"_blank">http://lists.linuxfoundation.<wbr>org/pipermail/bitcoin-dev/<w=
br>attachments/20170109/b0e0b713/<wbr>attachment-0001.png</a>&gt;<br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
<wbr>linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.<wbr>org=
/mailman/listinfo/bitcoin-<wbr>dev</a><br>
<br>
<br>
End of bitcoin-dev Digest, Vol 20, Issue 21<br>
******************************<wbr>*************<br>
______________________________<wbr>_________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
<wbr>linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.<wbr>org=
/mailman/listinfo/bitcoin-<wbr>dev</a><br>
</blockquote></div><br></div></div></div>

--94eb2c047d420a72400545c23aa5--