<oembed><type>rich</type><version>1.0</version><title>Pieter Wuille [ARCHIVE] wrote</title><author_name>Pieter Wuille [ARCHIVE] (npub1tj…jtl6r)</author_name><author_url>https://yabu.me/npub1tjephawh7fdf6358jufuh5eyxwauzrjqa7qn50pglee4tayc2ntqcjtl6r</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2018-06-22&#xA;📝 Original message:On Thu, Jun 21, 2018 at 12:56 PM, Peter D. Gray via bitcoin-dev&#xA;&lt;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&gt; I have personally implemented this spec on an embedded micro, as&#xA;&gt; the signer and finalizer roles, and written multiple parsers for&#xA;&gt; it as well. There is nothing wrong with it, and it perfectly meets&#xA;&gt; my needs as a hardware wallet.&#xA;&#xA;This is awesome to hear. We need to hear from people who have comments&#xA;or issues they encounter while implementing, but also cases where&#xA;things are fine as is.&#xA;&#xA;&gt; So, there is a good proposal already spec&#39;ed and implemented by&#xA;&gt; multiple parties. Andrew has been very patiently shepherding the PR&#xA;&gt; for over six months already.&#xA;&gt;&#xA;&gt; PSBT is something we need, and has been missing from the ecosystem&#xA;&gt; for a long time. Let&#39;s push this out and start talking about future&#xA;&gt; versions after we learn from this one.&#xA;&#xA;I understand you find the suggestions being brought up in this thread&#xA;to be bikeshedding over details, and I certainly agree that &#34;changing&#xA;X will gratuitously cause us more work&#34; is a good reason not to make&#xA;breaking changes to minutiae. However, at least abstractly speaking,&#xA;it would be highly unfortunate if the fact that someone implemented a&#xA;draft specification results in a vested interest against changes which&#xA;may materially improve the standard.&#xA;&#xA;In practice, the process surrounding BIPs&#39; production readiness is not&#xA;nearly as clear as it could be, and there are plenty of BIPs actually&#xA;deployed in production which are still marked as draft. So in reality,&#xA;truth is that this thread is &#34;late&#34;, and also why I started the&#xA;discussion by asking what the state of implementations was. As a&#xA;result, the discussion should be &#34;which changes are worth the hassle&#34;,&#xA;and not &#34;what other ideas can we throw in&#34; - and some of the things&#xA;brought up are certainly the latter.&#xA;&#xA;So to get back to the question what changes are worth the hassle - I&#xA;believe the per-input derivation paths suggested by matejcik may be&#xA;one. As is written right now, I believe BIP174 requires Signers to&#xA;pretty much always parse or template match the scripts involved. This&#xA;means it is relatively hard to implement a Signer which is compatible&#xA;with many types of scripts - including ones that haven&#39;t been&#xA;considered yet. However, if derivation paths are per-input, a signer&#xA;can just produce partial signatures for all keys it has the master&#xA;for. As long as the Finalizer understands the script type, this would&#xA;mean that Signers will work with any script. My guess is that this&#xA;would be especially relevant to devices where the Signer&#xA;implementation is hard to change, like when it is implemented in a&#xA;hardware signer directly.&#xA;&#xA;What do you think?&#xA;&#xA;Cheers,&#xA;&#xA;-- &#xA;Pieter</html></oembed>