summaryrefslogtreecommitdiff
path: root/55/0b07a231cdb3f10ca372d2f432c07b24e0424a
blob: b81a3821adbc668c5f6ab869c877d238072d29b7 (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
Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194]
	helo=mx.sourceforge.net)
	by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <jtimon@jtimon.cc>) id 1Z4l0r-0002ln-Bt
	for bitcoin-development@lists.sourceforge.net;
	Tue, 16 Jun 2015 07:10:25 +0000
Received: from mail-wi0-f171.google.com ([209.85.212.171])
	by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1Z4l0p-0001Xa-4r
	for bitcoin-development@lists.sourceforge.net;
	Tue, 16 Jun 2015 07:10:25 +0000
Received: by wifx6 with SMTP id x6so9850456wif.0
	for <bitcoin-development@lists.sourceforge.net>;
	Tue, 16 Jun 2015 00:10:17 -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:cc:content-type;
	bh=gJdhVHPL7tyBadiDYOe+gKAX/oQ9oRb7xjEhLlAHixg=;
	b=VCQtpK22SSnZl7uMunbMYOENsxGXftWEkEBSUo10vIiq1E5qwivnnF9EuJvdGyxPZ5
	mWdrZTY7xaevV07i6M8wjmUlvZbk9X3NwSmzVeo2bRu2xZQhMz6wH8QGUjh/u5QPPuBI
	PcqrQF6yP8Hlt3uTtebGlNAlMZQ7iPHMLePFkasg7GReKRN0Qcm6bHryt9WSiM0iQMRW
	e1BP8TgNarfCPkDWP3LEENvM94N/nc5zhM7gLp27BPsxZ4OnVSNL9Q3b7RVdnlE5Y3i1
	u/qcww5ej+5KuLSnh3lFJgMRfN2i2UpeY7kSbaGLzT99IYLvhRxfQAFbaXScK9al8d7i
	WrKw==
X-Gm-Message-State: ALoCoQnup1jzSpu5dJasalEkrq9Qt/LLkBdavfd9uFvSQlNDqLfljVX20SmVhVv5ZcIyVAcqEJpk
MIME-Version: 1.0
X-Received: by 10.180.149.240 with SMTP id ud16mr39699470wib.7.1434438617137; 
	Tue, 16 Jun 2015 00:10:17 -0700 (PDT)
Received: by 10.194.139.235 with HTTP; Tue, 16 Jun 2015 00:10:17 -0700 (PDT)
Received: by 10.194.139.235 with HTTP; Tue, 16 Jun 2015 00:10:17 -0700 (PDT)
In-Reply-To: <87eglcelf3.fsf@rustcorp.com.au>
References: <87k2vhfnx9.fsf@rustcorp.com.au>
	<CAAS2fgRgWZX_O_2O1bgdFd_04xVp5Lnpw4hf=v6RSTXmsbdzPQ@mail.gmail.com>
	<87r3pdembs.fsf@rustcorp.com.au>
	<CAAS2fgTY5cqwj5XuKtkD8Z8N1vF=PZMba8EtGkbWnEackOcN8Q@mail.gmail.com>
	<CAOG=w-tJjzrR_REJOShULfSO=T3ueHko-oQHdhqMCdZD0G_BDA@mail.gmail.com>
	<87eglcelf3.fsf@rustcorp.com.au>
Date: Tue, 16 Jun 2015 09:10:17 +0200
Message-ID: <CABm2gDpBn744G0AbWDYj5aXQ6XbRzfnLpS=3z6NoWosaseFAWQ@mail.gmail.com>
From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= <jtimon@jtimon.cc>
To: Rusty Russell <rusty@rustcorp.com.au>
Content-Type: multipart/alternative; boundary=001a11c260e23a1d1205189d4484
X-Spam-Score: 1.0 (+)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	1.0 HTML_MESSAGE           BODY: HTML included in message
X-Headers-End: 1Z4l0p-0001Xa-4r
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] [RFC] Canonical input and output ordering
 in transactions
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Tue, 16 Jun 2015 07:10:25 -0000

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

On Jun 15, 2015 11:43 PM, "Rusty Russell" <rusty@rustcorp.com.au> wrote:

> Though Peter Todd's more general best-effort language might make more
> sense.  It's not like you can hide an OP_RETURN transaction to make it
> look like something else, so that transaction not going to be
> distinguished by non-canonical ordering.

What about commitments that don't use op_return (ie pay2contract
commitments)?

In any case, if the motivation is ordering in multi-party transactions
there should be ways to do it without any consequences for other
transaction types' privacy. For example you could have a deterministic
method that depends on a random seed all parties in the transaction
previously share. That way the ordering is deterministic for all parties
involved in the transaction (which can use whatever channel they're using
to send the parts to also send this random seed) while at the same time the
order looks random (or at least not cannonical in a recognisable way) to
everyone else.

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

<p dir=3D"ltr"><br>
On Jun 15, 2015 11:43 PM, &quot;Rusty Russell&quot; &lt;<a href=3D"mailto:r=
usty@rustcorp.com.au">rusty@rustcorp.com.au</a>&gt; wrote:<br></p>
<p dir=3D"ltr">&gt; Though Peter Todd&#39;s more general best-effort langua=
ge might make more<br>
&gt; sense.=C2=A0 It&#39;s not like you can hide an OP_RETURN transaction t=
o make it<br>
&gt; look like something else, so that transaction not going to be<br>
&gt; distinguished by non-canonical ordering.</p>
<p dir=3D"ltr">What about commitments that don&#39;t use op_return (ie pay2=
contract commitments)?</p>
<p dir=3D"ltr">In any case, if the motivation is ordering in multi-party tr=
ansactions there should be ways to do it without any consequences for other=
 transaction types&#39; privacy. For example you could have a deterministic=
 method that depends on a random seed all parties in the transaction previo=
usly share. That way the ordering is deterministic for all parties involved=
 in the transaction (which can use whatever channel they&#39;re using to se=
nd the parts to also send this random seed) while at the same time the orde=
r looks random (or at least not cannonical in a recognisable way) to everyo=
ne else.<br>
</p>

--001a11c260e23a1d1205189d4484--