summaryrefslogtreecommitdiff
path: root/25/eb90459ce1af31698f8f51c6d09db825c91d58
blob: d7ab0860b7c530c76a676d5226d40fd7feb4c321 (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
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 <gavinandresen@gmail.com>) id 1YDJNL-00055Q-Rm
	for bitcoin-development@lists.sourceforge.net;
	Mon, 19 Jan 2015 20:56:43 +0000
Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com
	designates 209.85.160.169 as permitted sender)
	client-ip=209.85.160.169; envelope-from=gavinandresen@gmail.com;
	helo=mail-yk0-f169.google.com; 
Received: from mail-yk0-f169.google.com ([209.85.160.169])
	by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1YDJNK-0004uQ-Ls
	for bitcoin-development@lists.sourceforge.net;
	Mon, 19 Jan 2015 20:56:43 +0000
Received: by mail-yk0-f169.google.com with SMTP id 200so3595501ykr.0
	for <bitcoin-development@lists.sourceforge.net>;
	Mon, 19 Jan 2015 12:56:37 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.236.32.129 with SMTP id o1mr19215591yha.196.1421700997222;
	Mon, 19 Jan 2015 12:56:37 -0800 (PST)
Sender: gavinandresen@gmail.com
Received: by 10.170.130.19 with HTTP; Mon, 19 Jan 2015 12:56:37 -0800 (PST)
In-Reply-To: <CANEZrP3ZdFcQsP+EWgTYQDccFZbrZFTk+xi-YdWPCJzMRH79pA@mail.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>
Date: Mon, 19 Jan 2015 15:56:37 -0500
X-Google-Sender-Auth: jIVUiHopPZpcmlNVDmnFgotV1Mg
Message-ID: <CABsx9T1hwCky7s6kza00_RuueaVbNB++ZuHY3j00iwJTN6tCyA@mail.gmail.com>
From: Gavin Andresen <gavin@bitcoinfoundation.org>
To: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Content-Type: multipart/alternative; boundary=089e0158c7a0ea97da050d078e57
X-Spam-Score: -0.5 (/)
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
	(gavinandresen[at]gmail.com)
	-0.0 SPF_PASS               SPF: sender matches SPF record
	1.0 HTML_MESSAGE           BODY: HTML included in message
	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: 1YDJNK-0004uQ-Ls
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 20:56:44 -0000

--089e0158c7a0ea97da050d078e57
Content-Type: text/plain; charset=ISO-8859-1

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
>> buffers because I designed it and implemented the original prototype (with
>> lots of 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 was very familiar with them.
>>
>
What Mike said. Runner-up for encoding was JSON.

XML+ASN.1 was Right Out, because lots of us hate XML and ASN.1 with a
burning passion. Complexity is the Enemy of Security, and both XML and
ASN.1 are too complex.


-- 
--
Gavin Andresen
Chief Scientist, Bitcoin Foundation
https://www.bitcoinfoundation.org/

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On M=
on, Jan 19, 2015 at 3:40 PM, Mike Hearn <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:mike@plan99.net" target=3D"_blank">mike@plan99.net</a>&gt;</span> wrot=
e:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:s=
olid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div cla=
ss=3D"gmail_quote"><span class=3D""><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(20=
4,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor=3D"#FFFFF=
F" text=3D"#000000">OK, I guess we can boil this down more simply. BIP 70 u=
ses protocol buffers because I designed it and implemented the original pro=
totype (with lots of input from Gavin and an earlier proposal by sipa). I u=
sed protocol buffers because, beyond all their nice properties, I used to w=
ork at Google and so was very familiar with them.<br></div></blockquote></s=
pan><div></div></div></div></div></blockquote></div><div class=3D"gmail_ext=
ra"><br></div><div class=3D"gmail_extra">What Mike said. Runner-up for enco=
ding was JSON.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmai=
l_extra">XML+ASN.1 was Right Out, because lots of us hate XML and ASN.1 wit=
h a burning passion. Complexity is the Enemy of 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>Gav=
in Andresen</div><div>Chief Scientist, Bitcoin Foundation</div><div><a href=
=3D"https://www.bitcoinfoundation.org/" target=3D"_blank">https://www.bitco=
infoundation.org/</a></div><div><br></div></div>
</div></div>

--089e0158c7a0ea97da050d078e57--