summaryrefslogtreecommitdiff
path: root/05/623b986e876bab16291f34ff18f7720f8abade
blob: d1c026e5f0b30e39784727ff53113f9e52884d1f (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
Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
	helo=mx.sourceforge.net)
	by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <zgenjix@yahoo.com>) id 1SIMxT-0004Gg-NN
	for bitcoin-development@lists.sourceforge.net;
	Thu, 12 Apr 2012 16:33:19 +0000
X-ACL-Warn: 
Received: from nm31-vm7.bullet.mail.ne1.yahoo.com ([98.138.229.47])
	by sog-mx-3.v43.ch3.sourceforge.com with smtp (Exim 4.76)
	id 1SIMxO-0003wv-4Y for bitcoin-development@lists.sourceforge.net;
	Thu, 12 Apr 2012 16:33:19 +0000
Received: from [98.138.90.51] by nm31.bullet.mail.ne1.yahoo.com with NNFMP;
	12 Apr 2012 16:33:08 -0000
Received: from [98.138.89.250] by tm4.bullet.mail.ne1.yahoo.com with NNFMP;
	12 Apr 2012 16:33:08 -0000
Received: from [127.0.0.1] by omp1042.mail.ne1.yahoo.com with NNFMP;
	12 Apr 2012 16:33:08 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 402780.33554.bm@omp1042.mail.ne1.yahoo.com
Received: (qmail 81745 invoked by uid 60001); 12 Apr 2012 16:33:08 -0000
X-YMail-OSG: UkdHo0wVM1nK32wGXJJo5JH8iev4FCMiBoa339dyPcl2vnM
	4G2CK0A22M4PEFokl6dc1428_w0.57eedwBNwmGm_upi3irfgwWB7OSXI.hL
	EME66Dsk1_UbESmK4juvayAvp_hh_AT8m3UxfgCgs1pGCEhqGFYUc3_oC5bB
	LcW1Gq24aJh0uonY6iLkIEfuERsSImoBG12_XHeqDOymrpJw_MNtM.Dhzs66
	G2l9vLfTRkDY2lektaNDmLaLo3bdL.flTs6XOKFN7R5YKK31KtLN83LCeP6m
	I7Ix4iNTmsnKFoD5c1eDqkOokgTZg2sgkBnrzexJS0bUZpmCo3XYQpIbrVPp
	ZwuMTJLEplBYIK3WQNCtwZOCD8iBJABzNjVzKed_OcXvq.zWSRbu9SH.6VJG
	RwmxepS9ZRtBy4IP0ihMMLd.EkmpKB91nBob2kg7qG4befTYgnRzf49omHQp
	t3fOu4W1kC9iprtQZhWo_HAJYizjOFUI-
Received: from [92.20.151.121] by web121004.mail.ne1.yahoo.com via HTTP;
	Thu, 12 Apr 2012 09:33:07 PDT
X-Mailer: YahooMailWebService/0.8.117.340979
References: <CA+XhJbpNYUyPm2Ymcpg3grbfGnfERCsUJNJuByEJbJLsMMmMbQ@mail.gmail.com>
	<CABsx9T029cY-OJfZ9n-rSZc7i36e+CkOZPZixdi8EFL7oN4jhQ@mail.gmail.com>
	<20120412160151.GA1100@vps7135.xlshosting.net>
Message-ID: <1334248387.65842.YahooMailNeo@web121004.mail.ne1.yahoo.com>
Date: Thu, 12 Apr 2012 09:33:07 -0700 (PDT)
From: Amir Taaki <zgenjix@yahoo.com>
To: "bitcoin-development@lists.sourceforge.net"
	<bitcoin-development@lists.sourceforge.net>
In-Reply-To: <20120412160151.GA1100@vps7135.xlshosting.net>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="-1562933420-1933066806-1334248387=:65842"
X-Spam-Score: 0.9 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
	-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,
	no trust [98.138.229.47 listed in list.dnswl.org]
	0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
	(zgenjix[at]yahoo.com)
	-0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
	domain 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: 1SIMxO-0003wv-4Y
Subject: Re: [Bitcoin-development] Adding request/reply id in messages
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Amir Taaki <zgenjix@yahoo.com>
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: Thu, 12 Apr 2012 16:33:19 -0000

---1562933420-1933066806-1334248387=:65842
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

This is a bad idea. The bitcoin protocol is (mostly) stateless. Stateless p=
rotocols are more secure.=0A=0A=0A=0A________________________________=0A Fr=
om: Pieter Wuille <pieter.wuille@gmail.com>=0ATo: Gavin Andresen <gavinandr=
esen@gmail.com> =0ACc: bitcoin-development@lists.sourceforge.net =0ASent: T=
hursday, April 12, 2012 5:01 PM=0ASubject: Re: [Bitcoin-development] Adding=
 request/reply id in messages=0A =0AOn Thu, Apr 12, 2012 at 11:41:05AM -040=
0, Gavin Andresen wrote:=0A> On Wed, Apr 11, 2012 at 2:39 PM, Christian Bod=
t <sirk390@gmail.com> wrote:=0A> > I would like to discuss the following bi=
tcoin protocol improvement proposal:=0A> >=0A> > =A0 =A0 =A0 =A0 =A0Adding =
request/reply id in all messages (in the message header,=0A> > based on wha=
t was done for the "checksum" field)=0A> =0A> That seems like a perfectly r=
easonable protocol improvement to me.=0A> Anybody else have an opinion?=0A=
=0AIf there is a reasonable use for it, I have no objections.=0A=0AHowever:=
 the bitcoin P2P protocol is not fully request-reply based, and trying to u=
se=0Ait that may be be less intuitive than how it looks. For example, doing=
 a second=0Aidentical "getblocks" request will not result in more "inv" rep=
lies, as the client=0Aprevents retransmits. This is not a large problem, bu=
t maybe such an extension=0Ashould also include an extra "denied" message, =
which is sent if the client is=0Aunwilling to answer (and may also be used =
to report transactions that are not=0Aaccepted into the memory pool, for ex=
ample).=0A=0A-- =0APieter=0A=0A--------------------------------------------=
----------------------------------=0AFor Developers, A Lot Can Happen In A =
Second.=0ABoundary is the first to Know...and Tell You.=0AMonitor Your Appl=
ications in Ultra-Fine Resolution. Try it FREE!=0Ahttp://p.sf.net/sfu/Bound=
ary-d2dvs2=0A_______________________________________________=0ABitcoin-deve=
lopment mailing list=0ABitcoin-development@lists.sourceforge.net=0Ahttps://=
lists.sourceforge.net/lists/listinfo/bitcoin-development
---1562933420-1933066806-1334248387=:65842
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"color:#000; background-color:#fff; font-family:ti=
mes new roman, new york, times, serif;font-size:12pt"><div><span>This is a =
bad idea. The bitcoin protocol is (mostly) stateless. Stateless protocols a=
re more secure.</span></div><div><br></div>  <div style=3D"font-family: tim=
es new roman, new york, times, serif; font-size: 12pt;"> <div style=3D"font=
-family: times new roman, new york, times, serif; font-size: 12pt;"> <div d=
ir=3D"ltr"> <font face=3D"Arial" size=3D"2"> <hr size=3D"1">  <b><span styl=
e=3D"font-weight:bold;">From:</span></b> Pieter Wuille &lt;pieter.wuille@gm=
ail.com&gt;<br> <b><span style=3D"font-weight: bold;">To:</span></b> Gavin =
Andresen &lt;gavinandresen@gmail.com&gt; <br><b><span style=3D"font-weight:=
 bold;">Cc:</span></b> bitcoin-development@lists.sourceforge.net <br> <b><s=
pan style=3D"font-weight: bold;">Sent:</span></b> Thursday, April 12, 2012 =
5:01 PM<br> <b><span style=3D"font-weight: bold;">Subject:</span></b> Re:
 [Bitcoin-development] Adding request/reply id in messages<br> </font> </di=
v> <br>=0AOn Thu, Apr 12, 2012 at 11:41:05AM -0400, Gavin Andresen wrote:<b=
r>&gt; On Wed, Apr 11, 2012 at 2:39 PM, Christian Bodt &lt;<a ymailto=3D"ma=
ilto:sirk390@gmail.com" href=3D"mailto:sirk390@gmail.com">sirk390@gmail.com=
</a>&gt; wrote:<br>&gt; &gt; I would like to discuss the following bitcoin =
protocol improvement proposal:<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp;Adding request/reply id in all messages (in the message hea=
der,<br>&gt; &gt; based on what was done for the "checksum" field)<br>&gt; =
<br>&gt; That seems like a perfectly reasonable protocol improvement to me.=
<br>&gt; Anybody else have an opinion?<br><br>If there is a reasonable use =
for it, I have no objections.<br><br>However: the bitcoin P2P protocol is n=
ot fully request-reply based, and trying to use<br>it that may be be less i=
ntuitive than how it looks. For example, doing a second<br>identical "getbl=
ocks" request will not result in more "inv" replies, as the client<br>preve=
nts
 retransmits. This is not a large problem, but maybe such an extension<br>s=
hould also include an extra "denied" message, which is sent if the client i=
s<br>unwilling to answer (and may also be used to report transactions that =
are not<br>accepted into the memory pool, for example).<br><br>-- <br>Piete=
r<br><br>------------------------------------------------------------------=
------------<br>For Developers, A Lot Can Happen In A Second.<br>Boundary i=
s the first to Know...and Tell You.<br>Monitor Your Applications in Ultra-F=
ine Resolution. Try it FREE!<br>http://p.sf.net/sfu/Boundary-d2dvs2<br>____=
___________________________________________<br>Bitcoin-development mailing =
list<br><a ymailto=3D"mailto:Bitcoin-development@lists.sourceforge.net" hre=
f=3D"mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-development@=
lists.sourceforge.net</a><br><a href=3D"https://lists.sourceforge.net/lists=
/listinfo/bitcoin-development"
 target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-dev=
elopment</a><br><br><br> </div> </div>  </div></body></html>
---1562933420-1933066806-1334248387=:65842--