summaryrefslogtreecommitdiff
path: root/80/a0bb9906f2740386e988c8660aaabdceec2a88
blob: 66d2e9758f8c98e931410c806927f8c5b8233e72 (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
Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192]
	helo=mx.sourceforge.net)
	by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <etotheipi@gmail.com>) id 1RO9zX-0002fK-Kc
	for bitcoin-development@lists.sourceforge.net;
	Wed, 09 Nov 2011 15:23:07 +0000
Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com
	designates 74.125.82.53 as permitted sender)
	client-ip=74.125.82.53; envelope-from=etotheipi@gmail.com;
	helo=mail-ww0-f53.google.com; 
Received: from mail-ww0-f53.google.com ([74.125.82.53])
	by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1RO9zT-00009g-He
	for bitcoin-development@lists.sourceforge.net;
	Wed, 09 Nov 2011 15:23:07 +0000
Received: by wwg7 with SMTP id 7so2237452wwg.10
	for <bitcoin-development@lists.sourceforge.net>;
	Wed, 09 Nov 2011 07:22:57 -0800 (PST)
MIME-Version: 1.0
Received: by 10.180.105.102 with SMTP id gl6mr3300544wib.46.1320852177484;
	Wed, 09 Nov 2011 07:22:57 -0800 (PST)
Received: by 10.180.85.1 with HTTP; Wed, 9 Nov 2011 07:22:57 -0800 (PST)
Received: by 10.180.85.1 with HTTP; Wed, 9 Nov 2011 07:22:57 -0800 (PST)
In-Reply-To: <4EBA9199.7050201@gmail.com>
References: <BD206D96-C458-4DD7-92F6-32AE476C259A@ceptacle.com>
	<4EBA9199.7050201@gmail.com>
Date: Wed, 9 Nov 2011 10:22:57 -0500
Message-ID: <CALf2ePw2zcxrPFfQtJrDYSNWQ-rfNPv1R7LnH=8MHApe3_D1+Q@mail.gmail.com>
From: Alan Reiner <etotheipi@gmail.com>
To: bitcoin-development@lists.sourceforge.net
Content-Type: multipart/alternative; boundary=f46d04426dd4d6fa9304b14edc11
X-Spam-Score: -0.6 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
	sender-domain
	0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
	(etotheipi[at]gmail.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
	author's domain
	0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
	not necessarily valid
	-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Headers-End: 1RO9zT-00009g-He
Subject: Re: [Bitcoin-development] multisig,
	op_eval and lock_time/sequence...
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: Wed, 09 Nov 2011 15:23:07 -0000

--f46d04426dd4d6fa9304b14edc11
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Actually,  I'm not sure if your solution works,  because it relies on
broadcasting a tx to the network that isn't valid.   I believe that the
first tx in your proposal will be rejected and thus you'll need to exchange
the tx's offline.

However,  third-parties could pretty easily and conveniently host a service
for this kind of exchange.

--Sent from my overpriced smartphone
On Nov 9, 2011 9:43 AM, "Alan Reiner" <etotheipi@gmail.com> wrote:

> That's what my proposal was for, in BIP 0010:
>
> https://github.com/genjix/**bips/blob/master/bip-0010.md<https://github.c=
om/genjix/bips/blob/master/bip-0010.md>
>
> However, I just found a minor problem with it that should be addressed if
> we want to enable super-lightweight clients that only sign tx's without
> needing the blockchain.  Simply that the TxIns don't contain the value of
> the TxOuts they are spending, which means the dumb tx-signers with no
> blockchain can't tell how much input there is.  They can only see the
> output values and recipients, which means they can't figure out the tx fe=
e,
> or how much money is in each of the TxIns they are signing.
>
> And most users/clients will have access to the blockchain, so it's not a
> dealbreaker.  But it's something to consider.  Otherwise, I think this is=
 a
> big step towards bringing this complicatedprotocol a little closer to
> Earth...
>
>
>
>
>
>
> On 11/09/2011 05:22 AM, Michael Gr=F8nager wrote:
>
>> Hi All,
>>
>> Along with the multisig/op_eval BIPs (11/12) I am considering how the
>> actual client functionality could be.
>>
>> Some of you might already have the solution for this - if not I would
>> like to propose the following...
>>
>> Lets consider the 2 of 3 multisig - and lets say I now have some coins
>> hence only redeemable using 2 key signatures. So when I want to spend th=
em
>> I would do:
>>
>> 1. from client1 I issue a transaction containing one of the signatures,
>> with a locktime e.g. 10 minutes from now and a sequence of 0. This
>> transaction is now posted to the p2p network.
>>
>> 2. client2 discovers the transaction and that it will affect its wallet.
>> It hence modifies the transaction to includes also the second signature,
>> changes the sequence to 0xFFFFFFFF=3Dfinal and the lock_time to 0 and
>> retransmits the transaction.
>>
>> 3. The transaction is now valid and final and will be approved by the
>> miners.
>>
>> However, for this setup to be possible, we need to reenable the
>> replacement of transaction in the client....
>>
>> Anyone working on this now ?
>>
>> Alternatively, the transactions would need to be sent between clients
>> using another protocol...
>>
>> Cheers,
>>
>> Michael
>>
>>
>>
>> ------------------------------**------------------------------**
>> ------------------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-**sfdev2dev1 <http://p.sf.net/sfu/rsa-sfdev2dev1=
>
>> ______________________________**_________________
>> Bitcoin-development mailing list
>> Bitcoin-development@lists.**sourceforge.net<Bitcoin-development@lists.so=
urceforge.net>
>> https://lists.sourceforge.net/**lists/listinfo/bitcoin-**development<htt=
ps://lists.sourceforge.net/lists/listinfo/bitcoin-development>
>>
>
>

--f46d04426dd4d6fa9304b14edc11
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p>Actually,=A0 I&#39;m not sure if your solution works,=A0 because it reli=
es on broadcasting a tx to the network that isn&#39;t valid.=A0=A0 I believ=
e that the first tx in your proposal will be rejected and thus you&#39;ll n=
eed to exchange the tx&#39;s offline. </p>

<p>However,=A0 third-parties could pretty easily and conveniently host a se=
rvice for this kind of exchange. </p>
<p>--Sent from my overpriced smartphone </p>
<div class=3D"gmail_quote">On Nov 9, 2011 9:43 AM, &quot;Alan Reiner&quot; =
&lt;<a href=3D"mailto:etotheipi@gmail.com">etotheipi@gmail.com</a>&gt; wrot=
e:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That&#39;s what my proposal was for, in BIP 0010:<br>
<br>
<a href=3D"https://github.com/genjix/bips/blob/master/bip-0010.md" target=
=3D"_blank">https://github.com/genjix/<u></u>bips/blob/master/bip-0010.md</=
a><br>
<br>
However, I just found a minor problem with it that should be addressed if w=
e want to enable super-lightweight clients that only sign tx&#39;s without =
needing the blockchain. =A0Simply that the TxIns don&#39;t contain the valu=
e of the TxOuts they are spending, which means the dumb tx-signers with no =
blockchain can&#39;t tell how much input there is. =A0They can only see the=
 output values and recipients, which means they can&#39;t figure out the tx=
 fee, or how much money is in each of the TxIns they are signing.<br>

<br>
And most users/clients will have access to the blockchain, so it&#39;s not =
a dealbreaker. =A0But it&#39;s something to consider. =A0Otherwise, I think=
 this is a big step towards bringing this complicatedprotocol a little clos=
er to Earth...<br>

<br>
<br>
<br>
<br>
<br>
<br>
On 11/09/2011 05:22 AM, Michael Gr=F8nager wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi All,<br>
<br>
Along with the multisig/op_eval BIPs (11/12) I am considering how the actua=
l client functionality could be.<br>
<br>
Some of you might already have the solution for this - if not I would like =
to propose the following...<br>
<br>
Lets consider the 2 of 3 multisig - and lets say I now have some coins henc=
e only redeemable using 2 key signatures. So when I want to spend them I wo=
uld do:<br>
<br>
1. from client1 I issue a transaction containing one of the signatures, wit=
h a locktime e.g. 10 minutes from now and a sequence of 0. This transaction=
 is now posted to the p2p network.<br>
<br>
2. client2 discovers the transaction and that it will affect its wallet. It=
 hence modifies the transaction to includes also the second signature, chan=
ges the sequence to 0xFFFFFFFF=3Dfinal and the lock_time to 0 and retransmi=
ts the transaction.<br>

<br>
3. The transaction is now valid and final and will be approved by the miner=
s.<br>
<br>
However, for this setup to be possible, we need to reenable the replacement=
 of transaction in the client....<br>
<br>
Anyone working on this now ?<br>
<br>
Alternatively, the transactions would need to be sent between clients using=
 another protocol...<br>
<br>
Cheers,<br>
<br>
Michael<br>
<br>
<br>
<br>
------------------------------<u></u>------------------------------<u></u>-=
-----------------<br>
RSA(R) Conference 2012<br>
Save $700 by Nov 18<br>
Register now<br>
<a href=3D"http://p.sf.net/sfu/rsa-sfdev2dev1" target=3D"_blank">http://p.s=
f.net/sfu/rsa-<u></u>sfdev2dev1</a><br>
______________________________<u></u>_________________<br>
Bitcoin-development mailing list<br>
<a href=3D"mailto:Bitcoin-development@lists.sourceforge.net" target=3D"_bla=
nk">Bitcoin-development@lists.<u></u>sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/bitcoin-development=
" target=3D"_blank">https://lists.sourceforge.net/<u></u>lists/listinfo/bit=
coin-<u></u>development</a><br>
</blockquote>
<br>
</blockquote></div>

--f46d04426dd4d6fa9304b14edc11--