<oembed><type>rich</type><version>1.0</version><title>Marek Palatinus [ARCHIVE] wrote</title><author_name>Marek Palatinus [ARCHIVE] (npub1xt…acz68)</author_name><author_url>https://yabu.me/npub1xtqansnal58rjnnxvyke6kzuvxsz0twg4456awy6ff0525yqgjxqjacz68</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2018-06-26&#xA;📝 Original message:On Tue, Jun 26, 2018 at 6:58 PM, William Casarin via bitcoin-dev &lt;&#xA;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&gt;&#xA;&gt; seems a bit overkill for how simple the format is, and pulling in a&#xA;&gt; large dependency just for this is a bit silly. Although making it&#xA;&gt; protobuf-compatible is an interesting idea, but I fear would be more&#xA;&gt; work than is worth? I haven&#39;t looked closed enough at the protobuf&#xA;&gt; encoding to be sure.&#xA;&gt;&#xA;&gt; &gt; ...while at the same time, implementing &#34;protobuf-based-BIP174&#34; by&#xA;&gt; &gt; hand is roughly equally difficult as implementing the current BIP174.&#xA;&gt;&#xA;&gt; as a data point, I was able to build a simple serializer[1] in about an&#xA;&gt; afternoon. I would much prefer to use this lib in say, clightning (my&#xA;&gt; original goal), without having to have the larger protobuf dependency.&#xA;&gt;&#xA;&gt;&#xA;That was exactly matejcik&#39;s point; you can easily write protobuf-compatible&#xA;encoder/decoder for such simple structure in about an afternoon, if you&#xA;need. Or you can use existing protobuf parsers in matter of minute, if you&#xA;don&#39;t care about dependencies.&#xA;&#xA;Also, many projects already have protobuf parsers, so it work in other way,&#xA;too; you need BIP174 parser as extra dependency/library, although you&#xA;already use protobuf library (like Trezor device does). For needs of&#xA;BIP174, the difference between ad-hoc format and protobuf is neglible, so&#xA;it is a mistake to introduce yet another format.&#xA;&#xA;slush&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180626/b277b69a/attachment.html&gt;</html></oembed>