summaryrefslogtreecommitdiff
path: root/59/3e62c3bc318c3835f4f4ce5b64f2fd629a8958
blob: 960f48989295f904a5e6be62dbf78e94774b5092 (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
Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191]
	helo=mx.sourceforge.net)
	by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <kgreenek@gmail.com>) id 1W7uqt-00012d-46
	for bitcoin-development@lists.sourceforge.net;
	Mon, 27 Jan 2014 22:40:23 +0000
Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com
	designates 209.85.220.170 as permitted sender)
	client-ip=209.85.220.170; envelope-from=kgreenek@gmail.com;
	helo=mail-vc0-f170.google.com; 
Received: from mail-vc0-f170.google.com ([209.85.220.170])
	by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1W7uqs-0001XT-DA
	for bitcoin-development@lists.sourceforge.net;
	Mon, 27 Jan 2014 22:40:23 +0000
Received: by mail-vc0-f170.google.com with SMTP id hu8so3925497vcb.1
	for <bitcoin-development@lists.sourceforge.net>;
	Mon, 27 Jan 2014 14:40:16 -0800 (PST)
X-Received: by 10.58.66.137 with SMTP id f9mr17400935vet.11.1390862416868;
	Mon, 27 Jan 2014 14:40:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.58.86.9 with HTTP; Mon, 27 Jan 2014 14:39:56 -0800 (PST)
In-Reply-To: <CAPg+sBgUNYqYm7d4Rv+f0rBa=nSuqwmZ6_REBS7M-+Wea+za0g@mail.gmail.com>
References: <lc409d$4mf$1@ger.gmane.org>
	<CABsx9T1Y3sO6eS54wsj377BL4rGoghx1uDzD+SY3tTgc1PPbHg@mail.gmail.com>
	<CANEZrP0ENhJJhba8Xwj_cVzNKGDUQriia_Q=JWTXpztb6ic8rg@mail.gmail.com>
	<CAEY8wq4QEO1rtaNdjHXR6-b3Cgi7pfSWk7M8khVi0MHCiVOBzQ@mail.gmail.com>
	<CAPg+sBgUNYqYm7d4Rv+f0rBa=nSuqwmZ6_REBS7M-+Wea+za0g@mail.gmail.com>
From: Kevin Greene <kgreenek@gmail.com>
Date: Mon, 27 Jan 2014 14:39:56 -0800
Message-ID: <CAEY8wq6n_27Y2N7fVw9uJkfiiYqi6JkTwO0q03_J7tUeBhdQYA@mail.gmail.com>
To: Pieter Wuille <pieter.wuille@gmail.com>
Content-Type: multipart/alternative; boundary=047d7b33d8564a004c04f0fb643d
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
	(kgreenek[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: 1W7uqs-0001XT-DA
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>,
	Andreas Schildbach <andreas@schildbach.de>
Subject: Re: [Bitcoin-development] BIP70: PaymentACK semantics
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: Mon, 27 Jan 2014 22:40:23 -0000

--047d7b33d8564a004c04f0fb643d
Content-Type: text/plain; charset=ISO-8859-1

>> Should the wallet broadcast the transaction to the bitcoin network when
it
>> receives an ACK, or always assume that the merchant server will do that?
>
> In my opinion, that should be the primary meaning of receiving an ACK:
> acknowledgement that the receiver takes responsibility for getting the
> transaction confirmed (to the extent possible, of course).

Ok, so if there is no
payment
_url specified in the PaymentRequest, then the wallet is responsible for
broadcasting
the transaction to the bitcoin network
.
Otherwise, the wallet should
rely on the merchant server to broadcast.


On Mon, Jan 27, 2014 at 2:17 PM, Pieter Wuille <pieter.wuille@gmail.com>wrote:

> On Mon, Jan 27, 2014 at 11:03 PM, Kevin Greene <kgreenek@gmail.com> wrote:
> > +1 for an error field.
>
> Agree, I think we need a way for client applications to interpret the
> response.
>
> > Should the wallet broadcast the transaction to the bitcoin network when
> it
> > receives an ACK, or always assume that the merchant server will do that?
>
> In my opinion, that should be the primary meaning of receiving an ACK:
> acknowledgement that the receiver takes responsibility for getting the
> transaction confirmed (to the extent possible, of course).


>
> --
> Pieter
>

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

<div dir=3D"ltr"><div class=3D"gmail_default"><div><font color=3D"#000000">=
&gt;&gt; Should the wallet broadcast the transaction to the bitcoin network=
 when it<br>&gt;&gt; receives an ACK, or always assume that the merchant se=
rver will do that?<br>



&gt;</font></div><span style=3D"color:rgb(34,34,34)">&gt; In my opinion, th=
at should be the primary meaning of receiving an ACK:</span><br style=3D"co=
lor:rgb(34,34,34)"><span style=3D"color:rgb(34,34,34)">&gt; acknowledgement=
 that the receiver takes responsibility for getting the</span><br style=3D"=
color:rgb(34,34,34)">



<span style=3D"color:rgb(34,34,34)">&gt; transaction confirmed (to the exte=
nt possible, of course).</span><br></div><div class=3D"gmail_extra"><br></d=
iv><div class=3D"gmail_extra"><span style=3D"color:rgb(51,102,102)">Ok, so =
if there is no <div class=3D"gmail_default" style=3D"color:rgb(51,102,102);=
display:inline">



payment</div>_url specified in the PaymentRequest, then the wallet is respo=
nsible for broadcasting<div class=3D"gmail_default" style=3D"color:rgb(51,1=
02,102);display:inline"> the transaction to the bitcoin network</div></span=
><span style=3D"color:rgb(51,102,102)">.<div class=3D"gmail_default" style=
=3D"color:rgb(51,102,102);display:inline">


 </div>Otherwise, the wallet should </span><div class=3D"gmail_default" sty=
le=3D"color:rgb(51,102,102);display:inline">
rely on the merchant server to broadcast.</div></div><div class=3D"gmail_ex=
tra"><span style=3D"color:rgb(51,102,102)"></span></div><div class=3D"gmail=
_extra"><font color=3D"#336666"><br></font><br><div class=3D"gmail_quote">O=
n Mon, Jan 27, 2014 at 2:17 PM, Pieter Wuille <span dir=3D"ltr">&lt;<a href=
=3D"mailto:pieter.wuille@gmail.com" target=3D"_blank">pieter.wuille@gmail.c=
om</a>&gt;</span> wrote:<br>



<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div>On Mon, Jan 27, 2014 at 11:03 PM, Kevin Greene &lt;<a=
 href=3D"mailto:kgreenek@gmail.com" target=3D"_blank">kgreenek@gmail.com</a=
>&gt; wrote:<br>




&gt; +1 for an error field.<br>
<br>
</div>Agree, I think we need a way for client applications to interpret the=
 response.<br>
<div><br>
&gt; Should the wallet broadcast the transaction to the bitcoin network whe=
n it<br>
&gt; receives an ACK, or always assume that the merchant server will do tha=
t?<br>
<br>
</div>In my opinion, that should be the primary meaning of receiving an ACK=
:<br>
acknowledgement that the receiver takes responsibility for getting the<br>
transaction confirmed (to the extent possible, of course).</blockquote><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddi=
ng-left:1ex">




<span><font color=3D"#888888"><br>
<br>
--<br>
Pieter<br>
</font></span></blockquote></div><br></div></div>

--047d7b33d8564a004c04f0fb643d--