<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated></updated>
  <generator>https://nostr.ae</generator>

  <title>Nostr notes by </title>
  <author>
    <name></name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://nostr.ae/npub15s37yxwtrf7cd83sujzneprwsjtvhjjxcygutpqk5f966093utms6htj94.rss" />
  <link href="https://nostr.ae/npub15s37yxwtrf7cd83sujzneprwsjtvhjjxcygutpqk5f966093utms6htj94" />
  <id>https://nostr.ae/npub15s37yxwtrf7cd83sujzneprwsjtvhjjxcygutpqk5f966093utms6htj94</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://nostr.ae/nevent1qqsv06phk9krsvnnwh09x9elfd26lcv4alcl3lmcczz9w9wdr776k0czyzjz8cseevd8mp57xrjg20yyd6zfdj72gmq3r3vyz63yhtfuk830w95tsfg</id>
    
      <title type="html">📅 Original date posted:2019-02-06 📝 Original ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsv06phk9krsvnnwh09x9elfd26lcv4alcl3lmcczz9w9wdr776k0czyzjz8cseevd8mp57xrjg20yyd6zfdj72gmq3r3vyz63yhtfuk830w95tsfg" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsxq8nuwes85d69f7d8u37l9lranl3fxy8czkc77s2fj7dw3zmg7zg9vmjua&#39;&gt;nevent1q…mjua&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-02-06&lt;br/&gt;📝 Original message:It&amp;#39;s not quite enough to just do SHA512, you missed out this condition&lt;br/&gt;(incredibly rare as it is):&lt;br/&gt;&lt;br/&gt;&amp;gt; In case IL is 0 or ≥n, the master key is invalid.&lt;br/&gt;&lt;br/&gt;Also I can&amp;#39;t see how I would use this to seed a hardware wallet that&lt;br/&gt;requires a BIP39 seed as mentioned in your abstract.&lt;br/&gt;&lt;br/&gt;For both of those reasons, you may want to just invent/formalize a scheme&lt;br/&gt;that takes Cards -&amp;gt; Entropy.&lt;br/&gt;&amp;gt;From that Entropy one can generate BIP39, and non-BIP39 fans can just&lt;br/&gt;continue, generate and store their root xprv.&lt;br/&gt;&lt;br/&gt;Prior art: Note that Ian Coleman&amp;#39;s BIP39 site already supports Cards (and&lt;br/&gt;Dice), see the logic here:&lt;br/&gt;&lt;a href=&#34;https://github.com/iancoleman/bip39/blob/master/src/js/entropy.js&#34;&gt;https://github.com/iancoleman/bip39/blob/master/src/js/entropy.js&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;[image: image.png]&lt;br/&gt;&lt;br/&gt;Note it detected &amp;#34;full deck&amp;#34;. It also calculates the Total Bits of Entropy&lt;br/&gt;and can handle card replacement and multiple decks.&lt;br/&gt;&lt;br/&gt;PS, you&amp;#39;re a bit out on your entropy calculation, log2(52!) ~= 225.58 bits,&lt;br/&gt;not 219.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On Tue, 5 Feb 2019 at 02:08, Devrandom via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; I would suggest 50&#43; 6-sided dice rolls, giving about 128 bits of entropy.&lt;br/&gt;&amp;gt; Compared to a shuffle, it&amp;#39;s easier to be sure that you got the right amount&lt;br/&gt;&amp;gt; of entropy, even if the dice are somewhat biased.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On Mon, Feb 4, 2019 at 2:33 PM James MacWhyte via bitcoin-dev &amp;lt;&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; James&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On Sun, Feb 3, 2019 at 10:27 AM Ryan Havar via bitcoin-dev &amp;lt;&lt;br/&gt;&amp;gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Conveniently a shuffled deck of cards also can serve as a physical&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; backup which is easy to hide in plain sight with great plausible&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; deniability.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; To make sure someone doesn&amp;#39;t play with your cards and mix up the order,&lt;br/&gt;&amp;gt;&amp;gt; use a permanent marker to draw a diagonal line on the side of the deck from&lt;br/&gt;&amp;gt;&amp;gt; corner to corner. If the cards ever get mixed up, you can put them back in&lt;br/&gt;&amp;gt;&amp;gt; order by making sure the diagonal line matches up.&lt;br/&gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20190206/ae1b7d9b/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20190206/ae1b7d9b/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:16:18Z</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsdxpjkamgpkwfuf96us7s937z88jlv9jmrxxh22m8e4x3wzx80z6szyzjz8cseevd8mp57xrjg20yyd6zfdj72gmq3r3vyz63yhtfuk830wyujxz4</id>
    
      <title type="html">📅 Original date posted:2018-01-24 📝 Original message:So, ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsdxpjkamgpkwfuf96us7s937z88jlv9jmrxxh22m8e4x3wzx80z6szyzjz8cseevd8mp57xrjg20yyd6zfdj72gmq3r3vyz63yhtfuk830wyujxz4" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2u35tukg3rkdua2krgae9dwm429gqztrcdkmhzs49ql389aqa9hq2a9ehw&#39;&gt;nevent1q…9ehw&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-01-24&lt;br/&gt;📝 Original message:So, OP, in your scenario, you have 1 transaction in the mempool, A, then&lt;br/&gt;you want to spend the change before confirmation, so you broadcast a new&lt;br/&gt;transaction, B, which replaces A.&lt;br/&gt;&lt;br/&gt;&amp;gt; Because the size of the merged transaction is smaller than the original&lt;br/&gt;transactions, unless there is a considerable feerate bump, this rule isn&amp;#39;t&lt;br/&gt;possible to observe.&lt;br/&gt;&lt;br/&gt;I&amp;#39;m confused, the mempool only sees 1 transaction at a time, first A, then&lt;br/&gt;later B. &amp;#34; the original transactions&amp;#34;, plural, should not exist in the&lt;br/&gt;mempool.&lt;br/&gt;&lt;br/&gt;B&amp;#39;s fee and rate needs to be larger than A&amp;#39;s, but B will be greater than or&lt;br/&gt;equal to A anyway. So, just increasing the fee rate will cause a larger fee&lt;br/&gt;anyway.&lt;br/&gt;&lt;br/&gt;Am I missing something?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On Wed, Jan 24, 2018 at 3:44 AM, Peter Todd via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; On Tue, Jan 23, 2018 at 10:49:34PM &#43;0000, Gregory Maxwell via bitcoin-dev&lt;br/&gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt; On Tue, Jan 23, 2018 at 10:19 PM, Rhavar via bitcoin-dev&lt;br/&gt;&amp;gt; &amp;gt; &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; Interesting. I didn&amp;#39;t think about this before, but it seems like&lt;br/&gt;&amp;gt; bip125 is&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; rather incentive incompatible right now? If we&amp;#39;re assuming a&lt;br/&gt;&amp;gt; competitive&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; mempool, it really doesn&amp;#39;t seem generally rational to accept a&lt;br/&gt;&amp;gt; replacement&lt;br/&gt;&amp;gt; &amp;gt; &amp;gt; transaction of a lower fee rate.&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; BIP125 replacement requires that the fee rate increases.  The text of&lt;br/&gt;&amp;gt; &amp;gt; the BIP document is written in a confusing way that doesn&amp;#39;t make this&lt;br/&gt;&amp;gt; &amp;gt; clear.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; In fact I considered only requiring an increase in fee rate, based on the&lt;br/&gt;&amp;gt; theory that if absolute fee went down, the transaction must be smaller and&lt;br/&gt;&amp;gt; thus&lt;br/&gt;&amp;gt; miners could overall earn more from the additional transactions they could&lt;br/&gt;&amp;gt; fit&lt;br/&gt;&amp;gt; into their block. But to do that properly requires considering whether or&lt;br/&gt;&amp;gt; not&lt;br/&gt;&amp;gt; that&amp;#39;s actually true in the particular state the mempool as a whole&lt;br/&gt;&amp;gt; happens to&lt;br/&gt;&amp;gt; be in, so I ditched that idea early on for the much simpler criteria of&lt;br/&gt;&amp;gt; both a&lt;br/&gt;&amp;gt; feerate and absolute fee increase.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; --&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://petertodd.org&#34;&gt;https://petertodd.org&lt;/a&gt; &amp;#39;peter&amp;#39;[:-1]@petertodd.org&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180124/398e0de6/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180124/398e0de6/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:09:58Z</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsdtdshtzgm8kzpy970xwvs0gkv8qlxqls0fx0sdwupx3lq6jcl9mczyzjz8cseevd8mp57xrjg20yyd6zfdj72gmq3r3vyz63yhtfuk830wewdaym</id>
    
      <title type="html">📅 Original date posted:2018-01-22 📝 Original message:&amp;gt; ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsdtdshtzgm8kzpy970xwvs0gkv8qlxqls0fx0sdwupx3lq6jcl9mczyzjz8cseevd8mp57xrjg20yyd6zfdj72gmq3r3vyz63yhtfuk830wewdaym" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsgn94nkn0qn25rsl0yeee3r2kqqqqezuhx7tckvs22hrztz7krsxgw4fpfm&#39;&gt;nevent1q…fpfm&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-01-22&lt;br/&gt;📝 Original message:&amp;gt; So now I still owe John 1 BTC, however it&amp;#39;s not immediately clear if it&amp;#39;s&lt;br/&gt;safe to send to him&lt;br/&gt;&lt;br/&gt;If you spent your change from transaction A, that would be safe. There&amp;#39;d be&lt;br/&gt;no way you John could end up with 2 BTC from you then.&lt;br/&gt;&lt;br/&gt;On Mon, Jan 22, 2018 at 1:40 PM, Rhavar via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; So my half-baked idea is very simple:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Allow users to merge multiple unconfirmed transactions, stripping&lt;br/&gt;&amp;gt; extraneous inputs and change as they go.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This is currently not possible because of the bip125 rule:&lt;br/&gt;&amp;gt; &amp;#34;The replacement transaction pays an absolute fee of at least the sum paid&lt;br/&gt;&amp;gt; by the original transactions.&amp;#34;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Because the size of the merged transaction is smaller than the original&lt;br/&gt;&amp;gt; transactions, unless there is a considerable feerate bump, this rule isn&amp;#39;t&lt;br/&gt;&amp;gt; possible to observe.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I my question is: is it possible or reasonable to relax this rule? If this&lt;br/&gt;&amp;gt; rule was removed in its entirety, does it introduce any DoS vectors? Or can&lt;br/&gt;&amp;gt; it be changed to allow my use-case?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; ---&lt;br/&gt;&amp;gt; Full backstory: I have been trying to use bip125 (Opt-in Full&lt;br/&gt;&amp;gt; Replace-by-Fee) to do &amp;#34;transaction merging&amp;#34; on the fly. Let&amp;#39;s say that I&lt;br/&gt;&amp;gt; owe John 1 bitcoin, and have promised to pay him immediately: Instead of&lt;br/&gt;&amp;gt; creating a whole new transaction if I have an in-flight (unconfirmed)&lt;br/&gt;&amp;gt; transaction, I can follow the rules of bip125 to create a replacement that&lt;br/&gt;&amp;gt; accomplishes this goal.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; From a &amp;#34;coin selection&amp;#34; point of view, this was significantly easier than&lt;br/&gt;&amp;gt; I had anticipated. I was able to encode the rules in my linear model and&lt;br/&gt;&amp;gt; feed in all my unspent and in-flight transactions and it can solve it&lt;br/&gt;&amp;gt; without difficulty.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; However, the real problem is tracking the mess. Consider this sequence of&lt;br/&gt;&amp;gt; events:&lt;br/&gt;&amp;gt; 1) I have unconfirmed transaction A&lt;br/&gt;&amp;gt; 2) I replace it with B, which pays John 1 BTC&lt;br/&gt;&amp;gt; 3) Transaction A gets confirmed&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; So now I still owe John 1 BTC, however it&amp;#39;s not immediately clear if&lt;br/&gt;&amp;gt; it&amp;#39;s safe to send to him without waiting $n transactions. However even&lt;br/&gt;&amp;gt; for a small $n, this breaks my promise to pay him immediately.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; One possible solution is to only consider a transaction &amp;#34;replaceable&amp;#34; if&lt;br/&gt;&amp;gt; it has change, so if the original transaction confirms -- payments can&lt;br/&gt;&amp;gt; immediately be made that source the change, and provide safety in a reorg.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; However, this will only work &amp;lt;50% of the time for me (most transactions&lt;br/&gt;&amp;gt; don&amp;#39;t have change) and opens a pandora&amp;#39;s box of complexity.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; There&amp;#39;s a few other hacks you can do to make it work in a few more cases,&lt;br/&gt;&amp;gt; but nothing that is realistic to expect anyone to implement any time soon.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; However, if there was a straight foward way to merge N unconfirmed&lt;br/&gt;&amp;gt; transactions, it would be easy get into production, and potentially offer&lt;br/&gt;&amp;gt; some pretty nice savings for everyone.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180122/b5749d54/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180122/b5749d54/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:09:55Z</updated>
  </entry>

</feed>