summaryrefslogtreecommitdiff
path: root/30/a5951b544bb718e7e25a8272acd1b819a8cc4f
blob: 8fddd0b8ae10e81fc4f8131701f134938f2793b8 (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
Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191]
	helo=mx.sourceforge.net)
	by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <brianchoffman@gmail.com>) id 1YDJmj-0007SE-Ro
	for bitcoin-development@lists.sourceforge.net;
	Mon, 19 Jan 2015 21:22:57 +0000
Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com
	designates 209.85.216.42 as permitted sender)
	client-ip=209.85.216.42; envelope-from=brianchoffman@gmail.com;
	helo=mail-qa0-f42.google.com; 
Received: from mail-qa0-f42.google.com ([209.85.216.42])
	by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1YDJmi-0006dd-Qx
	for bitcoin-development@lists.sourceforge.net;
	Mon, 19 Jan 2015 21:22:57 +0000
Received: by mail-qa0-f42.google.com with SMTP id dc16so25615796qab.1
	for <bitcoin-development@lists.sourceforge.net>;
	Mon, 19 Jan 2015 13:22:51 -0800 (PST)
X-Received: by 10.224.172.198 with SMTP id m6mr51621056qaz.11.1421702571378;
	Mon, 19 Jan 2015 13:22:51 -0800 (PST)
Received: from [192.168.1.2] (pool-96-255-238-248.washdc.fios.verizon.net.
	[96.255.238.248]) by mx.google.com with ESMTPSA id
	g12sm13333102qay.44.2015.01.19.13.22.50
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 19 Jan 2015 13:22:50 -0800 (PST)
Content-Type: multipart/alternative;
	boundary=Apple-Mail-EEB67EBF-1379-4BC2-ACB2-2527FF1704A4
Mime-Version: 1.0 (1.0)
From: Brian Hoffman <brianchoffman@gmail.com>
X-Mailer: iPhone Mail (12B440)
In-Reply-To: <CABsx9T1hwCky7s6kza00_RuueaVbNB++ZuHY3j00iwJTN6tCyA@mail.gmail.com>
Date: Mon, 19 Jan 2015 16:22:49 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <DBC5EDDB-4920-492F-8625-F4E00273832A@gmail.com>
References: <CAN5esQJe0uUm0NyctaBa6WH7_JjeE_OLR=FY_XQWnSr50VRDyA@mail.gmail.com>
	<CAJHLa0OTynX4oiQoyanpRKE2tpAuS4L5X-2j20328725J9RrvQ@mail.gmail.com>
	<2C7D6208-1921-4DDC-90FE-DB1ABE1D61DB@petertodd.org>
	<CAN5esQLCV=L0kYxDGhK2F=qZ8OqMxyYS+-Pn17U_M+nV4Sj3Og@mail.gmail.com>
	<54BD6314.60607@gmail.com>
	<CANEZrP3ZdFcQsP+EWgTYQDccFZbrZFTk+xi-YdWPCJzMRH79pA@mail.gmail.com>
	<CABsx9T1hwCky7s6kza00_RuueaVbNB++ZuHY3j00iwJTN6tCyA@mail.gmail.com>
To: Gavin Andresen <gavin@bitcoinfoundation.org>
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
	(brianchoffman[at]gmail.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	0.0 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars
	-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: 1YDJmi-0006dd-Qx
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] BIP70: why Google Protocol Buffers for
	encoding?
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, 19 Jan 2015 21:22:58 -0000


--Apple-Mail-EEB67EBF-1379-4BC2-ACB2-2527FF1704A4
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Damn if SPKI had won out we would be parsing S-expressions instead of X.509 c=
ertificates. ASN.1 is not fun IMHO.


> On Jan 19, 2015, at 3:56 PM, Gavin Andresen <gavin@bitcoinfoundation.org> w=
rote:
>=20
> On Mon, Jan 19, 2015 at 3:40 PM, Mike Hearn <mike@plan99.net> wrote:
>>> OK, I guess we can boil this down more simply. BIP 70 uses protocol buff=
ers because I designed it and implemented the original prototype (with lots o=
f input from Gavin and an earlier proposal by sipa). I used protocol buffers=
 because, beyond all their nice properties, I used to work at Google and so w=
as very familiar with them.
>=20
>=20
> What Mike said. Runner-up for encoding was JSON.
>=20
> XML+ASN.1 was Right Out, because lots of us hate XML and ASN.1 with a burn=
ing passion. Complexity is the Enemy of Security, and both XML and ASN.1 are=
 too complex.
>=20
>=20
> --=20
> --
> Gavin Andresen
> Chief Scientist, Bitcoin Foundation
> https://www.bitcoinfoundation.org/
>=20
> --------------------------------------------------------------------------=
----
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development

--Apple-Mail-EEB67EBF-1379-4BC2-ACB2-2527FF1704A4
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div>Damn if SPKI had won out we would be p=
arsing S-expressions instead of X.509 certificates. ASN.1 is not fun IMHO.<b=
r><br></div><div><br>On Jan 19, 2015, at 3:56 PM, Gavin Andresen &lt;<a href=
=3D"mailto:gavin@bitcoinfoundation.org">gavin@bitcoinfoundation.org</a>&gt; w=
rote:<br><br></div><blockquote type=3D"cite"><div><div dir=3D"ltr"><div clas=
s=3D"gmail_extra"><div class=3D"gmail_quote">On Mon, Jan 19, 2015 at 3:40 PM=
, Mike Hearn <span dir=3D"ltr">&lt;<a href=3D"mailto:mike@plan99.net" target=
=3D"_blank">mike@plan99.net</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-le=
ft-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir=
=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><span class=3D=
""><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;=
padding-left:1ex"><div bgcolor=3D"#FFFFFF" text=3D"#000000">OK, I guess we c=
an boil this down more simply. BIP 70 uses protocol buffers because I design=
ed it and implemented the original prototype (with lots of input from Gavin a=
nd an earlier proposal by sipa). I used protocol buffers because, beyond all=
 their nice properties, I used to work at Google and so was very familiar wi=
th them.<br></div></blockquote></span><div></div></div></div></div></blockqu=
ote></div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Wh=
at Mike said. Runner-up for encoding was JSON.</div><div class=3D"gmail_extr=
a"><br></div><div class=3D"gmail_extra">XML+ASN.1 was Right Out, because lot=
s of us hate XML and ASN.1 with a burning passion. Complexity is the Enemy o=
f Security, and both XML and ASN.1 are too complex.</div><div class=3D"gmail=
_extra"><br></div><div class=3D"gmail_extra"><br></div>-- <br><div class=3D"=
gmail_signature">--<div>Gavin Andresen</div><div>Chief Scientist, Bitcoin Fo=
undation</div><div><a href=3D"https://www.bitcoinfoundation.org/" target=3D"=
_blank">https://www.bitcoinfoundation.org/</a></div><div><br></div></div>
</div></div>
</div></blockquote><blockquote type=3D"cite"><div><span>--------------------=
----------------------------------------------------------</span><br><span>N=
ew Year. New Location. New Benefits. New Data Center in Ashburn, VA.</span><=
br><span>GigeNET is offering a free month of service with a new server in As=
hburn.</span><br><span>Choose from 2 high performing configs, both with 100T=
B of bandwidth.</span><br><span>Higher redundancy.Lower latency.Increased ca=
pacity.Completely compliant.</span><br><span><a href=3D"http://p.sf.net/sfu/=
gigenet">http://p.sf.net/sfu/gigenet</a></span></div></blockquote><blockquot=
e type=3D"cite"><div><span>_______________________________________________</=
span><br><span>Bitcoin-development mailing list</span><br><span><a href=3D"m=
ailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-development@lists.s=
ourceforge.net</a></span><br><span><a href=3D"https://lists.sourceforge.net/=
lists/listinfo/bitcoin-development">https://lists.sourceforge.net/lists/list=
info/bitcoin-development</a></span><br></div></blockquote></body></html>=

--Apple-Mail-EEB67EBF-1379-4BC2-ACB2-2527FF1704A4--