<div dir="ltr"><div><div><div><div><div>Why even bother with the specific HD scheme such as BIP32  or BIP44. What are the interesting parameters?<br><br></div><div>Required:<br></div><ul><li>gap limit</li></ul><p>Optional:</p><ul><li>which node of the derivation chain is actually exported (m0&#39; for BIP32, m44&#39;0&#39;account&#39; for BIP44)</li><li>which subnodes are used for external and internal purposes</li><li>creation date</li></ul>To import the data in a read only application it is not important which node one actually gets and in all implementations the subnode of the exported node &quot;0&quot; is used for external addresses and &quot;1&quot; for internal addresses.<br><br></div><div>There is no usecase to export any higher node than m0&#39; in BIP32 or m44&#39;0&#39;account&#39; as one can only derive any child nodes of the higher nodes <b>with the private master key</b>. As for lower nodes (like further down the path) there is also no need to export because in all implementations today they will only give around half of the used addresses.<br></div><div><br>So I think a more general but very useful export scheme would be:<br><br></div>bitcoin-pub-export:xpub[gibberish]?gaplimit=[number]&amp;path=[path in derivation tree]&amp;subchains=[numbers]&amp;creationdate=[unixtimestamp]<br><br></div><div>Why not have more descriptive parameters? Saving on data?<br></div><div><br></div><div></div>I am a big fan of unix timestamps. Would vote for Andreas&#39; format on the creation date.<br><br></div>Cheers<br><br></div>Levin<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-03 1:22 GMT+01:00 Pavol Rusnak <span dir="ltr">&lt;<a href="mailto:stick@gk2.sk" target="_blank">stick@gk2.sk</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/02/15 01:05, Andreas Schildbach wrote:<br>
&gt; I don&#39;t think that parameterizing will work, we can&#39;t predict future<br>
&gt; BIPs. It&#39;s the same as for BIP43, in the end we agreed on just putting<br>
&gt; the BIP number.<br>
<br>
</span>Hm, let me put the questions the other way around:<br>
<br>
What gap limit should a wallet use if it encounters h=bip32?<br>
<br>
What h value should I use for myTREZOR wallets? Which is essentially a<br>
BIP44 wallet that produces h=bip32 xpubs with gap limit 20 ...<br>
<span class="im HOEnZb"><br>
--<br>
Best Regards / S pozdravom,<br>
<br>
Pavol Rusnak &lt;<a href="mailto:stick@gk2.sk">stick@gk2.sk</a>&gt;<br>
<br>
</span><div class="HOEnZb"><div class="h5">------------------------------------------------------------------------------<br>
Dive into the World of Parallel Programming. The Go Parallel Website,<br>
sponsored by Intel and developed in partnership with Slashdot Media, is your<br>
hub for all things parallel software development, from weekly thought<br>
leadership blogs to news, videos, case studies, tutorials and more. Take a<br>
look and join the conversation now. <a href="http://goparallel.sourceforge.net/" target="_blank">http://goparallel.sourceforge.net/</a><br>
_______________________________________________<br>
Bitcoin-development mailing list<br>
<a href="mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-development@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/bitcoin-development" target="_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-development</a><br>
</div></div></blockquote></div><br></div>