summaryrefslogtreecommitdiff
path: root/8c/51ecf817500c591aafffd811245434183d169e
blob: 34ec4c39092e048cdaf15053c164f242720d3651 (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
Return-Path: <kalle@rosenbaum.se>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 778941AAE
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 27 Sep 2015 15:10:25 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com
	[209.85.213.176])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id BD8FFB0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 27 Sep 2015 15:10:24 +0000 (UTC)
Received: by igbkq10 with SMTP id kq10so40314094igb.0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 27 Sep 2015 08:10:24 -0700 (PDT)
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:date
	:message-id:subject:from:to:content-type;
	bh=aYDgzAD0MucpdqYRkupdx4+h4x/PJhmW+cWYVhhAEq4=;
	b=Wa0RsMq2okiwYaWXsPsqLZT704vX+cRXJCuN8RS4WqJzGCxQJH7xXtaD9VwbIpeOzX
	vlDTui73kgBmWl4OgY3v/+JVB0eYQZOq/d3tH4EvnYolmCbsduPIUuuL2dCgB5EWtXbv
	9yYXMnYocxU8yWjwF7y18Sak0+Mf3FbYt2CqvoTlg6e2wtdVjS3xhAwFqYdN3s6fBCyC
	irvMpHXLkAmuxwzIAEzme8w9UcEE9d7rJC5VZsB9OgtxzSBHN/UZk0jLz3zDHZpDXAVg
	CnEIp8Yss9J0Djnxmp3p5HJi1ohQiargxBpVYHJjm6H4lOmoS+9QlLmoVg58qfX34qC5
	Zt8g==
X-Gm-Message-State: ALoCoQn+VsPWIfwDtb/wa/k/j/QSCl+ytYIFph1RxXgCcjfo2zuMYCtdrWpMJYUX4R1ahrd2y3iN
MIME-Version: 1.0
X-Received: by 10.50.143.1 with SMTP id sa1mr12387392igb.32.1443366624191;
	Sun, 27 Sep 2015 08:10:24 -0700 (PDT)
Received: by 10.107.189.195 with HTTP; Sun, 27 Sep 2015 08:10:24 -0700 (PDT)
In-Reply-To: <CAE-z3OU50cZBR27QrQsRT5Gtb0AVkE6K33XR0GebsyNWNrbf+w@mail.gmail.com>
References: <CABsx9T2+dG0AE+MgKRAU97KhkHTU1MuxXuwHKv3BgpJswZ5vVg@mail.gmail.com>
	<CABaSBaxcDRzw0X7-fAfxPJyLcWxTHigpHuAPb4aNQ5zk5NoDCQ@mail.gmail.com>
	<CAAS2fgTr-OuL3T6mXX-4xFC_LHnAiogTTcPMbcjsM7WtRisQEQ@mail.gmail.com>
	<CABsx9T3NFRO5nw3z=jrs0Hu3caVNkkTTTb1ibqR7LMWsoou9RQ@mail.gmail.com>
	<CAAS2fgRj+fE+znXZzFsXXBivKSxnJ2Lheo_g9us4FXN_yCLhgw@mail.gmail.com>
	<CAE-z3OU50cZBR27QrQsRT5Gtb0AVkE6K33XR0GebsyNWNrbf+w@mail.gmail.com>
Date: Sun, 27 Sep 2015 17:10:24 +0200
Message-ID: <CAPswA9xFNgdbH1JXBx+CqjT5HbkK0WGaWQLrJzm+BJCmrXRQcA@mail.gmail.com>
From: Kalle Rosenbaum <kalle@rosenbaum.se>
To: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary=001a1134bdaaea87b00520bbfaed
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,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
Subject: Re: [bitcoin-dev] Weak block thoughts...
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: Sun, 27 Sep 2015 15:10:25 -0000

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

I was mansplaining weak blocks to my wife. She asked a simple question:

Why would I, as a miner, publish a weak block if I find one?

I don't know.

Sure, I will get faster propagation for my solved block, should I find one.
On the other hand everybody else mining a similar block will enjoy the same
benefit. Assuming that I'm not a huge miner, it's unlikely that I will
actually solve the block, so I'm probably just giving away fast propagation
times to someone else.

So how does publishing a weak block benefit the producer of it more than
the other miners? Please help me understand this.

/Kalle Rosenbaum


2015-09-27 11:42 GMT+02:00 Tier Nolan via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org>:

>
>
> On Sun, Sep 27, 2015 at 2:39 AM, Gregory Maxwell via bitcoin-dev <
> bitcoin-dev@lists.linuxfoundation.org> wrote:
>
>> Unless the weak block transaction list can be a superset of the block
>> transaction list size proportional propagation costs are not totally
>> eliminated.
>>
>
> The POW threshold could be dynamic.  The first weak-block that builds on a
> new block could be forwarded with a smaller target.
>
> This reduces  the window size until at least one weak block is
> propagated.
>
> The change in threshold could be time based (for the first 30 seconds or
> so).  This would cause a surge of traffic when a new block once a new block
> has propagated, so perhaps not so good an idea.
>
>
>> As even if the weak block criteria is MUCH lower than the block
>> criteria (which would become problematic in its own right at some
>> point) the network will sometimes find blocks when there hasn't been
>> any weak block priming at all (e.g. all prior priming has made it into
>> blocks already).
>>
>
> If there is a transaction backlog, then miners could forward merkle
> branches with transactions in the memory pool with a commitment in the
> coinbase.
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>

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

<div dir=3D"ltr">I was mansplaining weak blocks to my wife. She asked a sim=
ple question:=C2=A0<div><br></div><div>Why would I, as a miner, publish a w=
eak block if I find one?<div><br></div><div>I don&#39;t know.</div><div><br=
></div><div>Sure, I will get faster propagation for my solved block, should=
 I find one. On the other hand everybody else mining a similar block will e=
njoy the same benefit. Assuming that I&#39;m not a huge miner, it&#39;s unl=
ikely that I will actually solve the block, so I&#39;m probably just giving=
 away fast propagation times to someone else.</div><div><br></div><div>So h=
ow does publishing a weak block benefit the producer of it more than the ot=
her miners? Please help me understand this.</div><div><br></div><div>/Kalle=
 Rosenbaum</div></div><div><br></div><div class=3D"gmail_extra"><br><div cl=
ass=3D"gmail_quote">2015-09-27 11:42 GMT+02:00 Tier Nolan via bitcoin-dev <=
span dir=3D"ltr">&lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.or=
g" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt;</span>:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><br><div class=3D"gmail_=
extra"><br><div class=3D"gmail_quote"><span>On Sun, Sep 27, 2015 at 2:39 AM=
, Gregory Maxwell via bitcoin-dev <span dir=3D"ltr">&lt;<a href=3D"mailto:b=
itcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bitcoin-dev@lists.l=
inuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<span>
</span>Unless the weak block transaction list can be a superset of the bloc=
k<br>
transaction list size proportional propagation costs are not totally<br>
eliminated.<br></blockquote><div><br></div></span><div>The POW threshold co=
uld be dynamic.=C2=A0 The first weak-block that builds on a new block could=
 be forwarded with a smaller target.<br><br></div><div>This reduces=C2=A0 t=
he window size until at least one weak block is propagated.=C2=A0 <br><br><=
/div><div>The change in threshold could be time based (for the first 30 sec=
onds or so).=C2=A0 This would cause a surge of traffic when a new block onc=
e a new block has propagated, so perhaps not so good an idea.<br></div><spa=
n><div><br></div><div></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
As even if the weak block criteria is MUCH lower than the block<br>
criteria (which would become problematic in its own right at some<br>
point) the network will sometimes find blocks when there hasn&#39;t been<br=
>
any weak block priming at all (e.g. all prior priming has made it into<br>
blocks already).<br></blockquote><div><br></div></span><div>If there is a t=
ransaction backlog, then miners could forward merkle branches with transact=
ions in the memory pool with a commitment in the coinbase.<br></div></div><=
/div></div>
<br>_______________________________________________<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>
<br></blockquote></div><br></div></div>

--001a1134bdaaea87b00520bbfaed--