<oembed><type>rich</type><version>1.0</version><author_name>npub10plv6jx6pktpp5ezldnus6kj8ffg045g2kdjl78w23njrlveqy5s3pfaef</author_name><author_url>https://nostr.ae/npub10plv6jx6pktpp5ezldnus6kj8ffg045g2kdjl78w23njrlveqy5s3pfaef</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2015-01-19&#xA;📝 Original message:For what it&#39;s worth, there was consideration of replacing protocol&#xA;buffers when modifying BIP70 to function with the altcoin I work on&#xA;(changes were required anyway in eliminate any risk that payment&#xA;requests could not be accidentally applied to the wrong blockchain). The&#xA;eventual conclusion was that while we might have used JSON or XML if we&#xA;were starting from scratch, there&#39;s no choice that&#39;s clearly better.&#xA;While deployed infrastructure for payment protocol is still quite&#xA;limited, it seems that the cost to replace at this point is higher than not.&#xA;&#xA;If there&#39;s ever a major reworking of the standard, for example to handle&#xA;recurring payments, it&#39;s probably worth thinking about then, but&#xA;protocol buffers result in a compact data format which is supported by&#xA;most major languages (and size is a concern if dealing with Bluetooth or&#xA;NFC), and has no major drawbacks I am aware of.&#xA;&#xA;Ross&#xA;&#xA;On 19/01/2015 20:40, Mike Hearn wrote:&#xA;&gt;&gt; I&#39;m a bit confused.  It&#39;s been a long time since I looked at protobuf (and&#xA;&gt;&gt; will have to dig into it soon), but I seem to recall it doesn&#39;t have any of&#xA;&gt;&gt; the determinism properties you guys just said.&#xA;&gt;&gt;&#xA;&gt; It&#39;s not guaranteed no, which is why we store signed sub-messages as byte&#xA;&gt; arrays instead of typed submessages. In practice though, most&#xA;&gt; implementations do seem to serialise things the same way. I recall Python&#xA;&gt; used to be an odd one out, unsure if it still is.&#xA;&gt;&#xA;&gt; OK, I guess we can boil this down more simply. BIP 70 uses protocol buffers&#xA;&gt; because I designed it and implemented the original prototype (with lots of&#xA;&gt; input from Gavin and an earlier proposal by sipa). I used protocol buffers&#xA;&gt; because, beyond all their nice properties, I used to work at Google and so&#xA;&gt; was very familiar with them.&#xA;&gt;&#xA;&gt;&#xA;&gt;&#xA;&gt; ------------------------------------------------------------------------------&#xA;&gt; New Year. New Location. New Benefits. New Data Center in Ashburn, VA.&#xA;&gt; GigeNET is offering a free month of service with a new server in Ashburn.&#xA;&gt; Choose from 2 high performing configs, both with 100TB of bandwidth.&#xA;&gt; Higher redundancy.Lower latency.Increased capacity.Completely compliant.&#xA;&gt; http://p.sf.net/sfu/gigenet&#xA;&gt;&#xA;&gt;&#xA;&gt; _______________________________________________&#xA;&gt; Bitcoin-development mailing list&#xA;&gt; Bitcoin-development at lists.sourceforge.net&#xA;&gt; https://lists.sourceforge.net/lists/listinfo/bitcoin-development&#xA;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150119/c508d0e9/attachment.html&gt;</html></oembed>