summaryrefslogtreecommitdiff
path: root/e7/1f7728b3ed3c4e2802370c4beedda1aa18ed14
blob: dd4b24ca6a8a09e08b7a3482750ddbe6ede555b2 (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
Return-Path: <tier.nolan@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id AF9E5409
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 17 Aug 2015 12:43:47 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com
	[209.85.220.181])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 5679663
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 17 Aug 2015 12:43:47 +0000 (UTC)
Received: by qkcs67 with SMTP id s67so45899873qkc.1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 17 Aug 2015 05:43:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:cc
	:content-type; bh=AUXFvkDnttwV9mK9Pj2D3nEZtzgEh6NR1P3gaPW8oKc=;
	b=J73YRqlEnIfinjUkbKYUlmUMeDyo/0zTu4LAmNMGmiFK85TesDrwVs1bm4xUlmLieP
	9CT0xgDO4pqN05JyqKvYM/pN7G+A14Wr5mqGW+ZFTrNeFzXsnPGGYK353oa2ZpQnBqdX
	RmSpTwW925FGafN/YMd910K1VhR4x5kfZOMNLlZ7CI/Lkt5bxRPlEo1Csr+6SaEoumjO
	WmSKc8wX9fCjDjWErCgw+lvGl8P2hrhoZXFKHpiGPCLXKZUHvM2CindI5fd+ivgozuCD
	m8MC2uyDISs8TIRBBT5tw+mNYzThL77Z2ndBxky7al4H8V2abckOh0qNjDB2YjOfowmf
	5nsA==
MIME-Version: 1.0
X-Received: by 10.55.215.144 with SMTP id t16mr1995171qkt.107.1439815426724;
	Mon, 17 Aug 2015 05:43:46 -0700 (PDT)
Received: by 10.140.31.181 with HTTP; Mon, 17 Aug 2015 05:43:46 -0700 (PDT)
In-Reply-To: <CABerxhEwA7Pz0hdSuOf+RwWZiZpY1fSArB+UiyVUwr6S2fr3vQ@mail.gmail.com>
References: <CABerxhEwA7Pz0hdSuOf+RwWZiZpY1fSArB+UiyVUwr6S2fr3vQ@mail.gmail.com>
Date: Mon, 17 Aug 2015 13:43:46 +0100
Message-ID: <CAE-z3OVgQuFsXNEe0ccXXS=pzxhHzZNJiuFJ3tc=5QD=D4oDSg@mail.gmail.com>
From: Tier Nolan <tier.nolan@gmail.com>
Cc: bitcoin-dev@lists.linuxfoundation.org
Content-Type: multipart/alternative; boundary=001a114661980d6033051d812788
X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE,
	MALFORMED_FREEMAIL, 
	MISSING_HEADERS,RCVD_IN_DNSWL_LOW 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] Dynamically Controlled Bitcoin Block Size Max Cap
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: Mon, 17 Aug 2015 12:43:47 -0000

--001a114661980d6033051d812788
Content-Type: text/plain; charset=UTF-8

On Mon, Aug 17, 2015 at 12:57 PM, Rodney Morris via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> I haven't run any statistics or simulations, but I'm concerned that the
> interplay between the random distribution of transaction arrival and the
> random distribution of block times may lead to false signals.
>

You could just take the average of all the block sizes for the last 2016
window.

If average of last 2016 > 50% of the limit, then increase by 6.25%
Otherwise, decrease by 6.25%

This means that the average would be around 50% of the limit.  This gives
margin to create larger blocks when blocks are happening slowly.

A majority of miners could force the limit upwards by creating spam but
full blocks.

It could be coupled with a hard limit that grows at whatever is seen as the
maximum reasonable.  This would be both a maximum and a minimum.

All of these schemes add state to the system.  If the schedule is
predictable, then you can check determine the maximum block size purely
from the header and coinbase.

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On M=
on, Aug 17, 2015 at 12:57 PM, Rodney Morris via bitcoin-dev <span dir=3D"lt=
r">&lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_=
blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div =
class=3D"gmail_quote"><div>I haven&#39;t run any statistics or simulations,=
 but I&#39;m concerned that the interplay between the random distribution o=
f transaction arrival and the random distribution of block times may lead t=
o false signals.</div></div></div></div></blockquote><div><br></div><div>Yo=
u could just take the average of all the block sizes for the last 2016 wind=
ow.<br><br></div><div>If average of last 2016 &gt; 50% of the limit, then i=
ncrease by 6.25%<br></div><div>Otherwise, decrease by 6.25%<br><br></div><d=
iv>This means that the average would be around 50% of the limit.=C2=A0 This=
 gives margin to create larger blocks when blocks are happening slowly.<br>=
<br></div><div>A majority of miners could force the limit upwards by creati=
ng spam but full blocks.<br></div><div><br></div>It could be coupled with a=
 hard limit that grows at whatever is seen as the maximum reasonable.=C2=A0=
 This would be both a maximum and a minimum.<br><br></div><div class=3D"gma=
il_quote">All of these schemes add state to the system.=C2=A0 If the schedu=
le is predictable, then you can check determine the maximum block size pure=
ly from the header and coinbase.<br></div></div></div>

--001a114661980d6033051d812788--