<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated>2023-06-07T01:59:33Z</updated>
  <generator>https://njump.me</generator>

  <title>Nostr notes by Larry Ruane [ARCHIVE]</title>
  <author>
    <name>Larry Ruane [ARCHIVE]</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://njump.me/npub1fx6n7f4vn8h9ht3t7ep4px4dxxvuqkhs3jl3lscrp0c369yujfes8gfggl.rss" />
  <link href="https://njump.me/npub1fx6n7f4vn8h9ht3t7ep4px4dxxvuqkhs3jl3lscrp0c369yujfes8gfggl" />
  <id>https://njump.me/npub1fx6n7f4vn8h9ht3t7ep4px4dxxvuqkhs3jl3lscrp0c369yujfes8gfggl</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://njump.me/nevent1qqs9k9k60lzjqmawnqklvkegq8l75l9g7p48xyndtdkvu836w6hr2ugzypym20ex4jv7ukaw90myx5y645censz67zxt787rqv9lz8g5njf8x694ep9</id>
    
      <title type="html">📅 Original date posted:2022-07-11 📝 Original message:On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs9k9k60lzjqmawnqklvkegq8l75l9g7p48xyndtdkvu836w6hr2ugzypym20ex4jv7ukaw90myx5y645censz67zxt787rqv9lz8g5njf8x694ep9" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsfn7ayyexa0r6vr6tuhxdm0saqcsl0xe9pq54y4lu7qjh9hjk0h7qh0r89c&#39;&gt;nevent1q…r89c&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-07-11&lt;br/&gt;📝 Original message:On Sun, Jul 10, 2022 at 3:05 AM vjudeu via bitcoin-dev&lt;br/&gt;&amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Not really, because people that run full nodes, just accepted Segwit&lt;br/&gt;&amp;gt; and Taproot. They had no choice. And in case of zero satoshis, it could&lt;br/&gt;&amp;gt; be the same: you would see zero if you look at raw bytes, but you will&lt;br/&gt;&amp;gt; see non-zero values, if you use some upgraded client, that will support&lt;br/&gt;&amp;gt; amount hiding, or other features.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Segwit: old nodes see no new signatures, new nodes see all signatures&lt;br/&gt;&amp;gt; Zero satoshis: old nodes see new zero amounts, new nodes see all amounts&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; It is that simple.&lt;br/&gt;&lt;br/&gt;I see what you mean, have the P2P messages depend on whether the peer&lt;br/&gt;is running old code (doesn&amp;#39;t know about tail emission) or new code&lt;br/&gt;(does know about it).&lt;br/&gt;&lt;br/&gt;I don&amp;#39;t think this can work in this case. It worked for Segwit because&lt;br/&gt;the P2P differences involved only signatures (which determine whether&lt;br/&gt;the transaction is valid), not the *effect* of the transaction, that is,&lt;br/&gt;how it changes the UTXO set. Consensus requires all nodes to always&lt;br/&gt;agree on the UTXO set.&lt;br/&gt;&lt;br/&gt;Larry Ruane
    </content>
    <updated>2023-06-07T23:11:32Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsvtzgskzxwv2ahxhg68x2jayd05mzvrescqptdpdpvrdkre3f3suqzypym20ex4jv7ukaw90myx5y645censz67zxt787rqv9lz8g5njf8xuy5mr8</id>
    
      <title type="html">📅 Original date posted:2022-03-22 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsvtzgskzxwv2ahxhg68x2jayd05mzvrescqptdpdpvrdkre3f3suqzypym20ex4jv7ukaw90myx5y645censz67zxt787rqv9lz8g5njf8xuy5mr8" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs88nkqehm0tcc3hpfw0ss9xysdvsenmp7rlyuj5v88uaq6t55k2ccw4jxz5&#39;&gt;nevent1q…jxz5&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-03-22&lt;br/&gt;📝 Original message:Greetings list,&lt;br/&gt;&lt;br/&gt;This is my first time posting here.&lt;br/&gt;&lt;br/&gt;Question for you:&lt;br/&gt;&lt;br/&gt;Should the Bitcoin Core mempool replace an existing transaction with one&lt;br/&gt;that has the same txid (having the same effect, same spends and outputs)&lt;br/&gt;but a sufficiently smaller witness (different wtxid) and thus a higher&lt;br/&gt;feerate? This is what &lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/24007&#34;&gt;https://github.com/bitcoin/bitcoin/pull/24007&lt;/a&gt;&lt;br/&gt;proposes, and I&amp;#39;d like to get opinions on two questions:&lt;br/&gt;&lt;br/&gt;1. Is this a beneficial change? Specifically, is anyone creating an&lt;br/&gt;application that would broadcast transactions with the same txid but&lt;br/&gt;different witnesses as an earlier transaction?&lt;br/&gt;&lt;br/&gt;2. If this change has benefit, what should be considered a sufficiently&lt;br/&gt;better feerate or reduction in witness size?&lt;br/&gt;&lt;br/&gt;An advantage of this mempool-accept policy change is that it&amp;#39;s&lt;br/&gt;miner-incentive compatible (miners would prefer to mine a transaction&lt;br/&gt;with a higher feerate). But there is of course a code complexity cost,&lt;br/&gt;and transaction-relay DoS concern.&lt;br/&gt;&lt;br/&gt;Being miner-incentive compatible is good, but is that sufficient&lt;br/&gt;justification for merging? I&amp;#39;m posting to the mailing list in hopes that&lt;br/&gt;there are use-cases that we (the PR authors) aren&amp;#39;t aware of. Please&lt;br/&gt;reply here or on the PR if you can think of any.&lt;br/&gt;&lt;br/&gt;A perhaps subtle advantage: This PR may provide a defense against a&lt;br/&gt;mempool pinning attack: if you have a transaction shared with other&lt;br/&gt;parties, and one of them broadcasts the transaction with a bloated&lt;br/&gt;witness (thus intentionally reducing the feerate in hopes of delaying&lt;br/&gt;or preventing confirmation), you currently have no way to change it.&lt;br/&gt;If there is an application out there that uses same-txid-different-witness&lt;br/&gt;transactions shared between counterparties, this PR would help make&lt;br/&gt;those applications safe.&lt;br/&gt;&lt;br/&gt;Question 2 gets at a DoS tradeoff: If the new transaction may have&lt;br/&gt;only a very slightly smaller witness, an attacker might re-broadcast it&lt;br/&gt;many times, consuming a lot of relay bandwidth, and CPU to update&lt;br/&gt;the mempool. On the other hand, if the new transaction must have a much&lt;br/&gt;smaller witness, then it wouldn&amp;#39;t be possible to replace a transaction with&lt;br/&gt;a beneficially-smaller one.&lt;br/&gt;&lt;br/&gt;This could be a per-node setting, but it&amp;#39;s desirable for the node&lt;br/&gt;network to largely agree on relay policies (although a configuration&lt;br/&gt;option might be useful for testing and experimentation).&lt;br/&gt;&lt;br/&gt;Background:&lt;br/&gt;&lt;br/&gt;Bip125 (Replace-by-fee) allows an incoming transaction to replace one&lt;br/&gt;or more existing conflicting transactions if certain DoS-mitigation&lt;br/&gt;conditions are met:&lt;br/&gt;&lt;br/&gt;&lt;a href=&#34;https://github.com/bitcoin/bitcoin/blob/master/doc/policy/mempool-replacements.md&#34;&gt;https://github.com/bitcoin/bitcoin/blob/master/doc/policy/mempool-replacements.md&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Witness-replacement is similar to RBF, but differs in a few ways:&lt;br/&gt;&lt;br/&gt;- RBF rule 4 requires an absolute fee increase, which is not possible if&lt;br/&gt;the txid isn&amp;#39;t changing (since the inputs, outputs, and amounts must be&lt;br/&gt;the same). So if transaction witness-replacement (same txid but different&lt;br/&gt;wtxid) is allowed, it can&amp;#39;t be considered just a special case of an RBF,&lt;br/&gt;although it may have some similar policies (and for the same reasons).&lt;br/&gt;&lt;br/&gt;- With witness-replacement, it&amp;#39;s not necessary to evict mempool&lt;br/&gt;descendant transactions because their inputs&amp;#39; txid references to their&lt;br/&gt;parent (who is being replaced) remain valid.&lt;br/&gt;&lt;br/&gt;- The new transaction replaces exactly one existing transaction since&lt;br/&gt;the inputs are the same. (In general, with RBF, the new transaction may&lt;br/&gt;conflict-out multiple existing mempool transactions, namely, all that&lt;br/&gt;spend the same outputs as the new transaction.)&lt;br/&gt;&lt;br/&gt;- RBF requires the original transaction to signal replaceability&lt;br/&gt;(rule 1). This is so that recipients are warned that their payment may&lt;br/&gt;disappear if the transaction is replaced. But signaling isn&amp;#39;t required&lt;br/&gt;by witness-replacement since the outputs can&amp;#39;t change (the descendants&lt;br/&gt;remain valid).&lt;br/&gt;&lt;br/&gt;Thanks for your time!&lt;br/&gt;&lt;br/&gt;Larry Ruane (with lots of help from Gloria Zhao)
    </content>
    <updated>2023-06-07T23:06:37Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfveg3l6nelx7670h9ksmdwkmh8geu8v8tapxvgfrcruhe6989lfgzypym20ex4jv7ukaw90myx5y645censz67zxt787rqv9lz8g5njf8xfwzmqu</id>
    
      <title type="html">📅 Original date posted:2020-10-01 📝 Original message:Hello ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfveg3l6nelx7670h9ksmdwkmh8geu8v8tapxvgfrcruhe6989lfgzypym20ex4jv7ukaw90myx5y645censz67zxt787rqv9lz8g5njf8xfwzmqu" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs0mac2g5rhu2z4qgsu9ngasmc5ghnmd0vwvd2p3kjccgpuhvtu2dqw9txge&#39;&gt;nevent1q…txge&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-10-01&lt;br/&gt;📝 Original message:Hello Mike and others,&lt;br/&gt;&lt;br/&gt;I just want to plug the open-source POW network mining simulator I recently&lt;br/&gt;wrote: &lt;a href=&#34;https://github.com/LarryRuane/minesim&#34;&gt;https://github.com/LarryRuane/minesim&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;It simulates Bitcoin&amp;#39;s existing POW (of course), but probably would be easy&lt;br/&gt;to modify to correspond to variations such as the one being proposed here.&lt;br/&gt;Sometimes simulating an algorithm can lead to insights beyond what&amp;#39;s&lt;br/&gt;possible using only abstract reasoning.&lt;br/&gt;&lt;br/&gt;Larry Ruane&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/20201001/b36963e0/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20201001/b36963e0/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:27:11Z</updated>
  </entry>

</feed>