summaryrefslogtreecommitdiff
path: root/90/235f886fe4119bc1a1a6bff5ca4c22a51af3b3
blob: 7ccd111881527ecbaf637a3cf24e6c5840a68435 (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
Return-Path: <truthcoin@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id F0E0D727
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 13 Jul 2017 00:26:56 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com
	[209.85.220.180])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 5E31BAC
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 13 Jul 2017 00:26:56 +0000 (UTC)
Received: by mail-qk0-f180.google.com with SMTP id d78so38427593qkb.1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 12 Jul 2017 17:26:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=subject:cc:references:from:to:message-id:date:user-agent
	:mime-version:in-reply-to:content-language;
	bh=cxZ67v/nNv+Wc8xdncqYpxr5yVCusw3y+uMfJqilkoE=;
	b=V5WyAREW6fiAtk/5ua4+V9k1h6y7/RB89NRNEhw5JI9/YurH5E3pOSA7g9PkkhE5iw
	xMr9MjKfJXnWZhINjlW8mQREraOnTdckOBuFrJEKWoD4wCr56il6/P14xzC4xLiQMwEb
	KJMeM4oP5LHPeeEYkZhnRafcPisSHJjOkgJYF89if3qxMCB1GytfxC+ZsZyVcjPm7gOr
	PUUxFaGTtEiqc6KwYZ0v5Lh8MYGyUp9XX5XV1hYrL56P0jD+NuHr6bqwo5mIKCF3BQII
	247Nrqbjbf9QIuITWotL9aqOeJ5amIp310kWUwOuHIuYrbvh4goEn84X7rndh+3WTU2p
	EQYg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:subject:cc:references:from:to:message-id:date
	:user-agent:mime-version:in-reply-to:content-language;
	bh=cxZ67v/nNv+Wc8xdncqYpxr5yVCusw3y+uMfJqilkoE=;
	b=jYSNTvwfM4EYYxcw87JlAPW0IeVS1AaKZRmbqd+SxGZnzwwAtiwoFJL6f3ZD1S6vJ2
	Y9pS/JHvfjBr5LwKb3T1MtP4c/ELqCqLepZncrS2FTtDP8BbOefmNYybtA3+iCrMKrxY
	LeJEcb6zYptdLIt+hZ+3aNKHfO+YLIljeYfqqbcvlNpNvPbgDgDUXyj0ZZ20iUiWvJb6
	hCFRrMoP/ntEGmp1k7F+VetxwL5dVzh5p3w85rpRdqN59uVb3rV21A4aGUlTcCmwsCyi
	H5AsIUJkIX98mLGk4gz6QMhne5yoYQ318UckRKuBtac1SK6wK0ONdVaZaHHBXocNRPx/
	T9FQ==
X-Gm-Message-State: AIVw111iUwzcwoWLVqjsL3tdQav68ZhjHTPD49fRGntkRxIrhHDLbdq2
	ub76/15LF4CRi9tA
X-Received: by 10.55.40.218 with SMTP id o87mr1496209qko.50.1499905615321;
	Wed, 12 Jul 2017 17:26:55 -0700 (PDT)
Received: from [192.168.1.104] (ool-45726efb.dyn.optonline.net.
	[69.114.110.251]) by smtp.googlemail.com with ESMTPSA id
	143sm2899505qkf.8.2017.07.12.17.26.53
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 12 Jul 2017 17:26:53 -0700 (PDT)
References: <24f2b447-a237-45eb-ef9f-1a62533fad5c@gmail.com>
	<83671224-f6ff-16a9-81c0-20ab578aec9d@gmail.com>
	<AAC86547-7904-4475-9966-138130019567@taoeffect.com>
	<6764b8af-bb4c-615d-5af5-462127bbbe36@gmail.com>
	<F2C3A9F4-07AB-41B9-B915-9E33EE313F9E@taoeffect.com>
From: Paul Sztorc <truthcoin@gmail.com>
To: Tao Effect <contact@taoeffect.com>
Message-ID: <117f6a96-6d90-778a-d87a-be72592e31c5@gmail.com>
Date: Wed, 12 Jul 2017 20:26:56 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
	Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <F2C3A9F4-07AB-41B9-B915-9E33EE313F9E@taoeffect.com>
Content-Type: multipart/alternative;
	boundary="------------1EEDB2D43D9930B9651185F8"
Content-Language: en-US
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE, 
	RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
X-Mailman-Approved-At: Thu, 13 Jul 2017 00:53:56 +0000
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Drivechain RfD -- Follow Up
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: Thu, 13 Jul 2017 00:26:57 -0000

This is a multi-part message in MIME format.
--------------1EEDB2D43D9930B9651185F8
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

The confusion below stems from his conflation of several different ideas.=


I will try to explicitly clarify a distinction between several types of
user (or, "modes" of use if you prefer):

[DC#0] -- Someone who does not upgrade their Bitcoin software (and is
running, say, 0.13). However, they experience the effects of the new
rules which miners add (as per the soft fork[s] to add drivechain
functionality and individual drivechains).
[DC#1] -- Someone who always upgrades to the latest version of the
Bitcoin software, but otherwise has no interest in running/using sidechai=
ns.
[DC#2] -- Someone who upgrades to the latest Bitcoin version, and
decides to also become a full node of one or more sidechains, but who
ever actually uses the sidechains.
[DC#3] -- Someone who upgrades their software, runs sidechain full
nodes, and actively moves money to and from these.


On 7/12/2017 6:43 PM, Tao Effect wrote:
>
> I am now looking closer again at step number 4 in the Drivechain
> specification [2]:
>
>     4. Everyone waits for a period of, say, 3 days. This gives
>     everyone an opportunity to make sure the same WT^ is in both the
>     Bitcoin coinbase and the Sidechain header. If they=E2=80=99re diffe=
rent,
>     everyone has plenty of time to contact each other, figure out what
>     is going on, and restart the process until its right.
>
> It seems to me that where our disagreement lies is in this point.
> The Drivechain spec seems to claim that its use of anyone-can-pay is
> the same as P2SH (and in later emails you reference SegWit as well).
> Is this really true?
FYI that document is nearly two years old, and although it is still
overwhelmingly accurate, new optimizations allow us (I think) to push
the waiting period to several weeks and the total ACK counting period up
to several months.

[DC#0] Yes
[DC#1] Yes
[DC#2] Yes
[DC#3] Yes

Because if a node doesn't have the sidechain's information, it will just
assume every withdrawal is valid. This is comparable to someone who
still hasn't upgraded to support P2SH, in cases [DC#0] and [#1].

(And this is the main advantage of DC over extension blocks).


> 2. Per the question in [1], it's my understanding that P2SH
> transactions contain all of the information within themselves for full
> nodes to act as a check on miners mishandling the anyone-can-spend
> nature of P2SH transactions. However, that does not seem to be the
> case with WT^ transactions.
[DC#0] They do.
[DC#1] They do.
[DC#2] They do.
[DC#3] They do.

Again, from the perspective of a mainchain user, every withdrawal is vali=
d.


> In P2SH txns, there is no need for anyone to, as the Drivechain spec
> says, "to contact each other, figure out what is going on". Everything
> just automatically works.
There is no *need* to this in Drivechain, either, for [DC#0] or [DC#1].

[DC#2] and [DC#3] would certainly have an interest in understanding what
is going on, but that has absolutely nothing whatsoever to do with
Bitcoin Core and so is off-topic for this mailing list.


> If the security of WT^ transactions could be brought up to actually be
> in line with the security of P2SH and SegWit transactions, then I
> would have far less to object to.
Somehow I doubt it.


Paul

--------------1EEDB2D43D9930B9651185F8
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">The confusion below stems from his
      conflation of several different ideas.<br>
      <br>
      I will try to explicitly clarify a distinction between several
      types of user (or, "modes" of use if you prefer):<br>
      <br>
      [DC#0] -- Someone who does not upgrade their Bitcoin software (and
      is running, say, 0.13). However, they experience the effects of
      the new rules which miners add (as per the soft fork[s] to add
      drivechain functionality and individual drivechains).<br>
      [DC#1] -- Someone who always upgrades to the latest version of the
      Bitcoin software, but otherwise has no interest in running/using
      sidechains.<br>
      [DC#2] -- Someone who upgrades to the latest Bitcoin version, and
      decides to also become a full node of one or more sidechains, but
      who ever actually uses the sidechains.<br>
      [DC#3] -- Someone who upgrades their software, runs sidechain full
      nodes, and actively moves money to and from these.<br>
      <br>
      <br>
      On 7/12/2017 6:43 PM, Tao Effect wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:F2C3A9F4-07AB-41B9-B915-9E33EE313F9E@taoeffect.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div class=""><br>
      </div>
      <div class="">I am now looking closer again at step number 4 in
        the Drivechain specification [2]:</div>
      <div class=""><br class="">
      </div>
      <blockquote style="margin: 0 0 0 40px; border: none; padding:
        0px;" class="">
        <div class="">
          <div class="">4. Everyone waits for a period of, say, 3 days.
            This gives everyone an opportunity to make sure the same WT^
            is in both the Bitcoin coinbase and the Sidechain header. If
            they’re different, everyone has plenty of time to contact
            each other, figure out what is going on, and restart the
            process until its right.</div>
        </div>
      </blockquote>
      <div class="">It seems to me that where our disagreement lies is
        in this point.</div>
      <div class="">The Drivechain spec seems to claim that its use of
        anyone-can-pay is the same as P2SH (and in later emails you
        reference SegWit as well). Is this really true?</div>
    </blockquote>
    FYI that document is nearly two years old, and although it is still
    overwhelmingly accurate, new optimizations allow us (I think) to
    push the waiting period to several weeks and the total ACK counting
    period up to several months.<br>
    <br>
    [DC#0] Yes<br>
    [DC#1] Yes<br>
    [DC#2] Yes<br>
    [DC#3] Yes<br>
    <br>
    Because if a node doesn't have the sidechain's information, it will
    just assume every withdrawal is valid. This is comparable to someone
    who still hasn't upgraded to support P2SH, in cases [DC#0] and [#1].<br>
    <br>
    (And this is the main advantage of DC over extension blocks).<br>
    <br>
    <br>
    <blockquote type="cite"
      cite="mid:F2C3A9F4-07AB-41B9-B915-9E33EE313F9E@taoeffect.com">
      <div class="">2. Per the question in [1], it's my understanding
        that P2SH transactions contain all of the information within
        themselves for full nodes to act as a check on miners
        mishandling the anyone-can-spend nature of P2SH transactions.
        However, that does not seem to be the case with WT^
        transactions.</div>
    </blockquote>
    [DC#0] They do.<br>
    [DC#1] They do.<br>
    [DC#2] They do.<br>
    [DC#3] They do.<br>
    <br>
    Again, from the perspective of a mainchain user, every withdrawal is
    valid.<br>
    <br>
    <br>
    <blockquote type="cite"
      cite="mid:F2C3A9F4-07AB-41B9-B915-9E33EE313F9E@taoeffect.com">
      <div class="">In P2SH txns, there is no need for anyone to, as the
        Drivechain spec says, "to contact each other, figure out what is
        going on". Everything just automatically works.</div>
    </blockquote>
    There is no *need* to this in Drivechain, either, for [DC#0] or
    [DC#1].<br>
    <br>
    [DC#2] and [DC#3] would certainly have an interest in understanding
    what is going on, but that has absolutely nothing whatsoever to do
    with Bitcoin Core and so is off-topic for this mailing list.<br>
    <br>
    <br>
    <blockquote type="cite"
      cite="mid:F2C3A9F4-07AB-41B9-B915-9E33EE313F9E@taoeffect.com">
      <div class="">If the security of WT^ transactions could be brought
        up to actually be in line with the security of P2SH and SegWit
        transactions, then I would have far less to object to.</div>
    </blockquote>
    Somehow I doubt it.<br>
    <br>
    <br>
    Paul<br>
  </body>
</html>

--------------1EEDB2D43D9930B9651185F8--