<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated>2023-06-09T12:14:13Z</updated>
  <generator>https://njump.me</generator>

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




  <entry>
    <id>https://njump.me/nevent1qqsf3as0pjaxu8gtw2lad4tfcdsu4ul5tmsjzvels83tgunrpzg2zrgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5l4taza</id>
    
      <title type="html">📅 Original date posted:2023-06-14 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsf3as0pjaxu8gtw2lad4tfcdsu4ul5tmsjzvels83tgunrpzg2zrgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5l4taza" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsvw8hv8wzw8vuc4q3rc4t8rg5jc74nefsmhx7fjpfq2gurwztajdcqjdj2d&#39;&gt;nevent1q…dj2d&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-06-14&lt;br/&gt;🗒️ Summary of this message: Proposing an extension to BOLT-11 for bundled payments to address prepayment of mining fees for non-custodian exchanges. However, getting a new interoperable change into BOLT-11 seems unlikely.&lt;br/&gt;📝 Original message:&lt;br/&gt;I think the ship has probably sailed on getting any kind of new interoperable change in to BOLT-11.&lt;br/&gt;&lt;br/&gt;We already can&amp;#39;t get amount-less BOLT-11 invoices broadly supported, rolling out yet another new &lt;br/&gt;incompatible version of BOLT-11 and expecting the entire ecosystem to support it doesn&amp;#39;t seem all &lt;br/&gt;that likely.&lt;br/&gt;&lt;br/&gt;If we&amp;#39;re working towards specifying some &amp;#34;standard&amp;#34; way of doing swaps, (a) I&amp;#39;d be curious to &lt;br/&gt;understand why the need isn&amp;#39;t obviated by splice-out, and (b) why it shouldn&amp;#39;t be built on OMs so &lt;br/&gt;you can do it more privately.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 6/13/23 1:10 AM, Thomas Voegtlin wrote:&lt;br/&gt;&amp;gt; Good morning list,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I would like to propose an extension to BOLT-11, where an invoice can contain two bundled payments, &lt;br/&gt;&amp;gt; with distinct preimages and amounts.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The use case is for services that require the prepayment of a mining fee in order for a &lt;br/&gt;&amp;gt; non-custodian exchange to take place:&lt;br/&gt;&amp;gt;   - Submarine swaps&lt;br/&gt;&amp;gt;   - JIT channels&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In both cases, the service provider receives a HTLC for which they do not have the preimage, have to &lt;br/&gt;&amp;gt; send funds on-chain (to the channel or submarine swap funding address), and wait for the client to &lt;br/&gt;&amp;gt; reveal the preimage when they claim the payment. Because there is no guarantee that the client will &lt;br/&gt;&amp;gt; actually claim the payment, the service providers need to ask prepayment of mining fees.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In the case of submarine swaps, services that use dedicated client software, such as Loop by &lt;br/&gt;&amp;gt; Lightning Labs, can ask for a prepayment, because their software can handle it (this is called &amp;#34;no &lt;br/&gt;&amp;gt; show penalty&amp;#34; on the Loop website). However, competitors who do require a dedicated wallet, not such &lt;br/&gt;&amp;gt; as the Boltz exchange, cannot do that. Their website shows an invoice to the user, whose wallet that &lt;br/&gt;&amp;gt; is agnostic about the swap, and it would be unpractical for them to show two invoices to be paid &lt;br/&gt;&amp;gt; simultaneously. This creates a situation where Boltz is vulnerable to DoS attacks, where the &lt;br/&gt;&amp;gt; attacker forces them to pay on-chain fees.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In the case of JIT channels, providers who want to protect themselves against this mining fee attack &lt;br/&gt;&amp;gt; need to ask the preimage of the main payment before they open the channel. I believe this is what &lt;br/&gt;&amp;gt; Phoenix does (although their pay-to-open service is not open-source, so I cannot really check). The &lt;br/&gt;&amp;gt; issue is that a service that asks for the preimage first becomes custodian. From a legal &lt;br/&gt;&amp;gt; perspective, it does not matter whether they open the channel immediately after receiving the &lt;br/&gt;&amp;gt; preimage, the ordering of events makes their service custodian. In Europe, such a service will fall &lt;br/&gt;&amp;gt; within the European MICA regulation. Competitors who refuse to offer custodian services, such as &lt;br/&gt;&amp;gt; Electrum, are excluded from that game.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In order to solve that, it would be beneficial to bundle the prepayment and the main payment in the &lt;br/&gt;&amp;gt; same BOLT-11 invoice.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The semantics of bundled payments is as follows:&lt;br/&gt;&amp;gt;   - 1. the BOLT-11 invoice contains two preimages and two amounts: prepayment and main payment.&lt;br/&gt;&amp;gt;   - 2. the receiver should wait until all the HTLCs of both payments have arrived, before they &lt;br/&gt;&amp;gt; fulfill the HTLCs of the pre-payment. If the main payment does not arrive, they should fail the &lt;br/&gt;&amp;gt; pre-payment with a MPP timeout.&lt;br/&gt;&amp;gt;   - 3. once the HTLCs of both payments have arrived, the receiver fulfills the HTLCs of the &lt;br/&gt;&amp;gt; prepayment, and they broadcast their on-chain transaction. Note that the main payment can still fail &lt;br/&gt;&amp;gt; if the sender never reveal the preimage of the main payment.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Of course, nothing in my proposal prevents the service provider from stealing the pre-payment, but &lt;br/&gt;&amp;gt; that is already the case today.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I believe this proposal would level the field in terms of competition between lightning service &lt;br/&gt;&amp;gt; providers. Currently, you need to use a dedicated client in order to use Loop, and competitors who &lt;br/&gt;&amp;gt; do not have an established user base running a dedicated client are exposed to the mining fee &lt;br/&gt;&amp;gt; attack. I also believe that ACINQ would benefit from this, because it would make it possible for &lt;br/&gt;&amp;gt; them to make their pay-to-open service fully non-custodian. My understanding is that in its current &lt;br/&gt;&amp;gt; form, the &amp;#39;pay-to-open&amp;#39; service used by Phoenix will fall into the scope of the European MICA &lt;br/&gt;&amp;gt; regulation, which they should consider as a serious issue.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Finally, I believe that such a change should be implemented in BOLT-11, and not using BOLT-12 or &lt;br/&gt;&amp;gt; onion messages. Indeed, my proposal does not require the exchange of new messages. Some of the &lt;br/&gt;&amp;gt; initial feedback I received was that this is a use case for BOLT-12 or OM, but I think that this is &lt;br/&gt;&amp;gt; making things unnecessarily complicated. We should not add new messages when things can be done in a &lt;br/&gt;&amp;gt; non-interactive way.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; ThomasV&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;
    </content>
    <updated>2023-06-14T23:23:20Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsqc4ux7llrl7p52493nplq94pc20u53ks4qr7taefpgecxyeddtyczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm50m308k</id>
    
      <title type="html">📅 Original date posted:2023-05-06 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsqc4ux7llrl7p52493nplq94pc20u53ks4qr7taefpgecxyeddtyczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm50m308k" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqszrgfa05q9rqnv00uzjgy5usfus9pxl7utxma4qp5f92f23kmm8pchh5ln8&#39;&gt;nevent1q…5ln8&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-06&lt;br/&gt;🗒️ Summary of this message: Sorry, I cannot provide a summary for this text as it is not available. The text seems to be an attachment that was scrubbed from an email.&lt;br/&gt;📝 Original message:&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230505/2a696346/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230505/2a696346/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:13:13Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqspn7z9vevwqjhxm7nn2cd6565m5lxrrt8uhl7vrpuuvafsey4x08szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zttyzw</id>
    
      <title type="html">📅 Original date posted:2023-02-15 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqspn7z9vevwqjhxm7nn2cd6565m5lxrrt8uhl7vrpuuvafsey4x08szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zttyzw" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqst447eqzt37p82hj2wy5l4c0mcu6kcsmza2ns525g5mlnx3ggzm8cyzpvpc&#39;&gt;nevent1q…pvpc&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-02-15&lt;br/&gt;🗒️ Summary of this message: The Lightning Network could use forward-error-correction code on top of MPP to send more payment shards than the requested sum, reducing the impact of failed HTLCs on payment latency.&lt;br/&gt;📝 Original message:&lt;br/&gt;On 2/14/23 1:42 PM, Antoine Riard wrote:&lt;br/&gt;&amp;gt; Hi Joost,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;  &amp;gt; I think movement in this direction is important to guarantee competitiveness with centralised &lt;br/&gt;&amp;gt; payment systems and their (at least theoretical) ability to&lt;br/&gt;&amp;gt;  &amp;gt; process a payment in the blink of an eye. A lightning wallet trying multiple paths to find one &lt;br/&gt;&amp;gt; that works doesn&amp;#39;t help with this.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Or there is the direction to build forward-error-correction code on top of MPP, like in traditional&lt;br/&gt;&amp;gt; networking [1]. The rough idea, you send more payment shards than the requested sum, and then&lt;br/&gt;&amp;gt; you reveal the payment secrets to the receiver after an onion interactivity round to finalize payment.&lt;br/&gt;&lt;br/&gt;Ah, thank you for bringing this up! I&amp;#39;d thought about it and then forgot to mention it in this thread.&lt;br/&gt;&lt;br/&gt;I think this is very important to highlight as we talk about &amp;#34;building a reliable lightning network &lt;br/&gt;out of unreliable nodes&amp;#34; - this is an *incredibly* powerful feature for this.&lt;br/&gt;&lt;br/&gt;While its much less capital-effecient, the ability to over-commit upfront and then only allow the &lt;br/&gt;recipient to claim a portion of the total committed funds would substantially reduce the impact of &lt;br/&gt;failed HTLCs on payment latency. Of course the extra round-trip to request the &amp;#34;unlock keys&amp;#34; for the &lt;br/&gt;correct set of HTLCs adds a chunk to total latency, so senders will have to be careful about &lt;br/&gt;deciding when to do this or not.&lt;br/&gt;&lt;br/&gt;Still, now that we have onion messages, we should do (well, try) this! Its not super complicated to &lt;br/&gt;implement (like everything it seems, the obvious implementation forgoes proof-of-payment, and like &lt;br/&gt;everything the obvious solution is PTLCs, I think). Its not clear to me how we get good data from &lt;br/&gt;trials, though, we&amp;#39;d need a sufficient set of the network to support this that we could actually &lt;br/&gt;test it, which is hard to get for a test.&lt;br/&gt;&lt;br/&gt;Maybe someone (anyone?) wants to do some experiments doing simulations using real probing success &lt;br/&gt;rates to figure out how successful this would be and propose a concrete sender strategy that would &lt;br/&gt;improve success rates.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:12:42Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfvm5pvqcmjdlvk0mxj0l4thpnquscsj5z46jxqv0zv2jq897ewggzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zaqllw</id>
    
      <title type="html">📅 Original date posted:2023-02-15 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfvm5pvqcmjdlvk0mxj0l4thpnquscsj5z46jxqv0zv2jq897ewggzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zaqllw" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsy2fhh2zuyxlhvmkz0y9gdpmt50s3gkx4rfmfvuy94tclpmfzhv5gwk0j0v&#39;&gt;nevent1q…0j0v&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-02-15&lt;br/&gt;🗒️ Summary of this message: Running a highly available (HA) channel on the Lightning Network requires maintaining outbound liquidity by opening new channels, rebalancing, or swapping-in in time. Fetching semi-trusted data from large nodes, LSPs, and third-party scoring data can help evaluate payment success rates.&lt;br/&gt;📝 Original message:&lt;br/&gt;On 2/14/23 11:36 PM, Joost Jager wrote:&lt;br/&gt;&amp;gt;     But how do you decide to set it without a credit relationship? Do I measure my channel and set the&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     bit because the channel is &amp;#34;usually&amp;#34; (at what threshold?) saturating in the inbound direction? What&lt;br/&gt;&amp;gt;     happens if this changes for an hour and I get unlucky? Did I just screw myself?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; As a node setting the flag, you&amp;#39;ll have to make sure you open new channels, rebalance or swap-in in &lt;br/&gt;&amp;gt; time to maintain outbound liquidity. That&amp;#39;s part of the game of running an HA channel.&lt;br/&gt;&lt;br/&gt;Define &amp;#34;in time&amp;#34; in a way that results in senders not punishing you for not meeting your &amp;#34;HA &lt;br/&gt;guarantees&amp;#34; due to a large flow. I don&amp;#39;t buy that this results in anything other than pressure to &lt;br/&gt;add credit.&lt;br/&gt;&lt;br/&gt;&amp;gt;      &amp;gt; How can you be sure about this? This isn&amp;#39;t publicly visible data.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Sure it is! &lt;a href=&#34;https://river.com/learn/files/river-lightning-report.pdf&#34;&gt;https://river.com/learn/files/river-lightning-report.pdf&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://river.com/learn/files/river-lightning-report.pdf&amp;gt&#34;&gt;https://river.com/learn/files/river-lightning-report.pdf&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Some operators publish data, but are the experiences of one of the most well connected (custodial) &lt;br/&gt;&amp;gt; nodes representative for the network as a whole when evaluating payment success rates? In the end &lt;br/&gt;&amp;gt; you can&amp;#39;t know what&amp;#39;s happening on the lightning network.&lt;br/&gt;&lt;br/&gt;Right, that was my above point about fetching scoring data - there&amp;#39;s three relevant &amp;#34;buckets&amp;#34; of &lt;br/&gt;nodes, I think - (a) large nodes sending lots of payments, like the above, (b) &amp;#34;client nodes&amp;#34; that &lt;br/&gt;just connect to an LSP or two, (c) nodes that route some but don&amp;#39;t send a lot of payments (but do &lt;br/&gt;send *some* payments), and may have lots or not very many channels.&lt;br/&gt;&lt;br/&gt;(a) I think we&amp;#39;re getting there, and we don&amp;#39;t need to add anything extra for this use-case beyond &lt;br/&gt;the network maturing and improving our scoring algorithms.&lt;br/&gt;(b) I think is trivially solved by downloading the data from a node in category (a), presumably the &lt;br/&gt;LSP(s) in question (see other branch of this thread)&lt;br/&gt;(c) is trickier, but I think the same solution of just fetching semi-trusted data here more than &lt;br/&gt;sufficies. For most routing nodes that don&amp;#39;t send a lot of payments we&amp;#39;re talking about a very small &lt;br/&gt;amount of payments, so trusting a third-party for scoring data seems reasonable.&lt;br/&gt;&lt;br/&gt;Once we do that, everyone gets a similar experience as the River report :).&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:12:41Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqspwxzh06yqxdyz3pdma8qej2z3ezuuwj3pf9ujyq3wsd55nx97ejqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm56spadj</id>
    
      <title type="html">📅 Original date posted:2023-02-14 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqspwxzh06yqxdyz3pdma8qej2z3ezuuwj3pf9ujyq3wsd55nx97ejqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm56spadj" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsgkmty37rspachw0cvmxe3nfyuve6l69c0c9wwluwhqm2qsm8y20gnga4ag&#39;&gt;nevent1q…a4ag&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-02-14&lt;br/&gt;🗒️ Summary of this message: The Lightning Network faces a challenge in creating a reputation system due to the rarity of repeat interactions, but a solution could be for wallet vendors to provide live network views.&lt;br/&gt;📝 Original message:&lt;br/&gt;On 2/13/23 7:05 PM, ZmnSCPxj wrote:&lt;br/&gt;&amp;gt; Good morning all,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; First of all let&amp;#39;s see what types of reputation system exist (and yes,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; this is my very informal categorization):&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; - First hand experience&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; - Inferred experience&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; - Hearsay&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; The first two are likely the setup we all are comfortable with: we ourselves&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; experienced something, and make some decisions based on that&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; experience. This is probably what we&amp;#39;re all doing at the moment: we&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; attempt a payment, it fails, we back off for a bit from that channel&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; being used again. This requires either being able to witness the issue&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; directly (local peer) or infer from unforgeable error messages (the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; failing node returns an error, and it can&amp;#39;t point the finger at someone&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; else). Notice that this also includes some transitive constructions,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; such as the backpressure mechanism we were discussing for ariard&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; credentials proposal.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Ideally we&amp;#39;d only rely on the first two to make decisions, but here&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; exactly the issue we ran into with Bittorrent: repeat interactions are&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; too rare. In addition, our local knowledge gets out of date the longer&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; we wait, and a previously failing channel may now be good again, and&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; vice-versa. For us to have sufficient knowledge to make good decisions&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; we need to repeatedly interact with the same nodes in the network, and&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; since end-users will be very unlikely to do that, we might end up in a&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; situation were we instinctively fall back to the hearsay method, either&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; by sharing our local reputation with peers and then somehow combine that&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; with our own view. To the best of my knowledge such a system has never&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; been built successfully, and all attempts have ended in a system that&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; was either way too simple or is gameable by rational players.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; In lightning we have a trivial solution to this - your wallet vendor/LSP is already extracting a fee&lt;br/&gt;&amp;gt;&amp;gt; from you for every HTLC routed through it, it has you captive and can set the fee (largely)&lt;br/&gt;&amp;gt;&amp;gt; arbitrarily (up to you paying on-chain fees to switch LSPs). They can happily tell you their view of&lt;br/&gt;&amp;gt;&amp;gt; the network ~live and you should generally accept it. Its by no means perfect, and there&amp;#39;s plenty of&lt;br/&gt;&amp;gt;&amp;gt; games they could play on, eg, your privacy, but its pretty damned good.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; If we care a ton about the risks here, we could have a few altruistic nodes that release similar&lt;br/&gt;&amp;gt;&amp;gt; info and users can median-filter the data in one way or another to reduce risk.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I just do not buy that this is a difficult problem for the &amp;#34;end user&amp;#34; part of the network. For&lt;br/&gt;&amp;gt;&amp;gt; larger nodes its (obviously, and trivially) not a problem either, which leaves the &amp;#34;middle nodes&amp;#34;&lt;br/&gt;&amp;gt;&amp;gt; stranded without good data but without an LSP they want to use for data. I believe that isn&amp;#39;t a&lt;br/&gt;&amp;gt;&amp;gt; large enough cohort to change the whole network around for, and them asking a few altruistic (let&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt; say, developer?) nodes for scoring data seems more than sufficient.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; But this is all ultimately hearsay.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; LSPs can be bought out, and developers can go rogue.&lt;br/&gt;&amp;gt; Neither should be trusted if at all possible.&lt;br/&gt;&lt;br/&gt;You&amp;#39;re missing the point - if your LSP wants to &amp;#34;go rogue&amp;#34; here, at worst they can charge you more &lt;br/&gt;fees. They could also do this by...charging you more fees. I&amp;#39;m not really sure what your concern is.&lt;br/&gt;&lt;br/&gt;&amp;gt; Which is why I think forwardable peerswaps fixes this: it *creates* paths that allow payment routing, without requiring pervasive monitoring (which is horrible because eventually the network will be large enough that you will never encounter the same node twice if you&amp;#39;re a plebeian, and if you&amp;#39;re an aristocrat, you have every incentive to lie to the plebeians to solidify your power) of the network.&lt;br/&gt;&lt;br/&gt;No, this is much, much worse for the network. In order to do this &amp;#34;live&amp;#34; (i.e. without failing a &lt;br/&gt;payment) you have to establish trust relationships across the network (i.e. make giving your peers &lt;br/&gt;credit a requirement to be considered a &amp;#34;robust node&amp;#34; and, thus, receive fee revenue).&lt;br/&gt;&lt;br/&gt;Doing splicing/peerswap as a better way to rebalance is, of course, awesome, but it doesn&amp;#39;t solve &lt;br/&gt;the issue of &amp;#34;what do I do if I&amp;#39;m just too low on capacity *right now* to clear this HTLC&amp;#34;.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:12:40Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs2tzqrm6l3jlc5cxd3l26r2990r58r98kgszuk2mv4tfvehf5greqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ea6xq2</id>
    
      <title type="html">📅 Original date posted:2023-05-06 📝 Original message: An ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs2tzqrm6l3jlc5cxd3l26r2990r58r98kgszuk2mv4tfvehf5greqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ea6xq2" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs862qe28fr68luwefqmpnsgw7kyjlj2g6crg7cus3zvvp0xusydtshzkrp8&#39;&gt;nevent1q…krp8&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-05-06&lt;br/&gt;📝 Original message:&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230505/2a696346/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230505/2a696346/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:08:43Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsg0u9n2rq7qlzdwzyfv2kd942jv86g8lu5hqwua390fzfh0zehzmczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm500peyk</id>
    
      <title type="html">📅 Original date posted:2023-02-14 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsg0u9n2rq7qlzdwzyfv2kd942jv86g8lu5hqwua390fzfh0zehzmczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm500peyk" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs9y0vs4elp00al2szj8mzvjwl6zpj536yh5mlfsmfj4kgfkcks3pcxqajhu&#39;&gt;nevent1q…ajhu&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-02-14&lt;br/&gt;📝 Original message:&lt;br/&gt;On 2/14/23 2:34 AM, Joost Jager wrote:&lt;br/&gt;&amp;gt; Hi Matt,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     If nodes start aggressively preferring routes through nodes that reliably route payments (which&lt;br/&gt;&amp;gt;     I believe lnd already does, in effect, to some large extent), they should do so by measurement,&lt;br/&gt;&amp;gt;     not signaling.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The signaling is intended as a way to make measurement more efficient. If a node signals that a &lt;br/&gt;&amp;gt; particular channel is HA and it fails, no other measurements on that same node need to be taken by &lt;br/&gt;&amp;gt; the sender. They can skip the node altogether for a longer period of time.&lt;br/&gt;&lt;br/&gt;But as a lightning node I don&amp;#39;t actually care if a node is binary good/bad. I care about what &lt;br/&gt;success rate a node has. If you make the decision binary, suddenly in order for a node to be &amp;#34;good&amp;#34; &lt;br/&gt;I *have* to establish a credit relationship with my peers (i.e. support 0conf splicing). I think &lt;br/&gt;that is a very, very bad thing to do to the lightning network.&lt;br/&gt;&lt;br/&gt;If someone wants to establish such a relationship with their peers, so be it, but as developers we &lt;br/&gt;should strongly avoid adding features which push node operators in that direction, and part of that &lt;br/&gt;is writing good routing scoring so that we aren&amp;#39;t boxing ourselves into some binary good/bad idea of &lt;br/&gt;a node but rather estimating liquidity.&lt;br/&gt;&lt;br/&gt;Honestly this just strikes me as developers being too lazy to do things right. If we do things &lt;br/&gt;carefully and we are seeing issues then we can consider breaking lightning, but until we give it a &lt;br/&gt;good shot, let&amp;#39;s not!&lt;br/&gt;&lt;br/&gt;&amp;gt;     In practice, many channels on the network are “high availability” today, but only in one&lt;br/&gt;&amp;gt;     direction (I.e. they aren’t regularly spliced/rebalanced and are regularly unbalanced). A node&lt;br/&gt;&amp;gt;     strongly preferring a high payment success rate *should* prefer such a channel, but in your&lt;br/&gt;&amp;gt;     scheme would not.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This shouldn&amp;#39;t be a problem, because the HA signaling is also directional. Each end can decide &lt;br/&gt;&amp;gt; independently on whether to add the flag for a particular channel.&lt;br/&gt;&lt;br/&gt;But how do you decide to set it without a credit relationship? Do I measure my channel and set the &lt;br/&gt;bit because the channel is &amp;#34;usually&amp;#34; (at what threshold?) saturating in the inbound direction? What &lt;br/&gt;happens if this changes for an hour and I get unlucky? Did I just screw myself?&lt;br/&gt;&lt;br/&gt;&amp;gt;     This ignores the myriad of “at what threshold do you signal HA” issues, which likely make such a&lt;br/&gt;&amp;gt;     signal DOA, anyway.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I think this is a product of sender preference for HA channels and the severity of the penalty if an &lt;br/&gt;&amp;gt; HA channel fails. Given this, routing nodes will need to decide whether they can offer a service &lt;br/&gt;&amp;gt; level that increases their routing revenue overall if they would signal HA. It is indeed dynamic, &lt;br/&gt;&amp;gt; but I think the market is able to work it out.&lt;br/&gt;&lt;br/&gt;I&amp;#39;m afraid this is going to immediately fall into a cargo cult of &amp;#34;set the bit&amp;#34; vs &amp;#34;don&amp;#39;t set the &lt;br/&gt;bit&amp;#34; and we&amp;#39;ll never get useful data out of it. But you may be right.&lt;br/&gt;&lt;br/&gt;&amp;gt;     Finally, I’m very dismayed at this direction in thinking on how ln should work - nodes should be&lt;br/&gt;&amp;gt;     measuring the network and routing over paths that it thinks are reliable for what it wants,&lt;br/&gt;&amp;gt;     *robustly over an unreliable network*. We should absolutely not be expecting the lightning&lt;br/&gt;&amp;gt;     network to be built out of high reliability nodes, that creates strong centralization pressure.&lt;br/&gt;&amp;gt;     To truly meet a “high availability” threshold, realistically, you’d need to be able to JIT 0conf&lt;br/&gt;&amp;gt;     splice-in, which would drive lightning to actually being a credit network.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Different people can have different opinions about how ln should work, that is fine. I see a &lt;br/&gt;&amp;gt; trade-off between the reliability of the network and the barrier of entry, and I don&amp;#39;t think the &lt;br/&gt;&amp;gt; optimum is on one of the ends of the scale.&lt;br/&gt;&lt;br/&gt;My point wasn&amp;#39;t that lightning should be unreliable, but rather a reliable network build on &lt;br/&gt;unreliable hops. I&amp;#39;m very confident we can accomplish that without falling back to forcing nodes to &lt;br/&gt;establish credit to meet &amp;#34;reliability requirements&amp;#34;.&lt;br/&gt;&lt;br/&gt;&amp;gt;     With reasonable volume, lightning today is very reliable and relatively fast, with few retries&lt;br/&gt;&amp;gt;     required. I don’t think we need to change anything to fix it. :)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; How can you be sure about this? This isn&amp;#39;t publicly visible data.&lt;br/&gt;&lt;br/&gt;Sure it is! &lt;a href=&#34;https://river.com/learn/files/river-lightning-report.pdf&#34;&gt;https://river.com/learn/files/river-lightning-report.pdf&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;I&amp;#39;m also quite confident we can do substantially better than this.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:08:06Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsy4flq8qyyya5hw9vm52fd9duerwum4g9jk4ladye989uj743z8qczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ugcqrd</id>
    
      <title type="html">📅 Original date posted:2022-10-27 📝 Original message: An ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsy4flq8qyyya5hw9vm52fd9duerwum4g9jk4ladye989uj743z8qczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ugcqrd" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspnyeldumtr5l8h5yvl4dnr4hqkjkz63j8fru0c0kmq32llcyrjmg7sjugh&#39;&gt;nevent1q…jugh&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-10-27&lt;br/&gt;📝 Original message:&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20221027/dca43d02/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20221027/dca43d02/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:07:09Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs9wfjt0ly4nv8lpejgukj437ltxy852rcry28krnw4q00l7ddlh2gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm50gq4dj</id>
    
      <title type="html">📅 Original date posted:2022-07-03 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs9wfjt0ly4nv8lpejgukj437ltxy852rcry28krnw4q00l7ddlh2gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm50gq4dj" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspqcfd5mz4km5dagsht0xpdf6769s9s5caapkllu4tfcg6r9wnp8qx22ms9&#39;&gt;nevent1q…2ms9&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-07-03&lt;br/&gt;📝 Original message:&lt;br/&gt;On 7/1/22 8:48 PM, Olaoluwa Osuntokun wrote:&lt;br/&gt;&amp;gt; Hi Val,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;  &amp;gt; Another huge win of backpressure is that it only needs to happen in DoS&lt;br/&gt;&amp;gt;  &amp;gt; situations, meaning it doesn’t have to impact users in the normal case.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I agree, I think the same would apply to prepayments as well (0 or 1 msat in&lt;br/&gt;&amp;gt; calm times). My main concern with relying _only_ on backpressure rate&lt;br/&gt;&amp;gt; limiting is that we&amp;#39;d end up w/ your first scenario more often than not,&lt;br/&gt;&amp;gt; which means routine (and more important to the network) things like fetching&lt;br/&gt;&amp;gt; invoices becomes unreliable.&lt;br/&gt;&lt;br/&gt;You&amp;#39;re still thinking about this in a costing world, but this really is a networking problem, not a &lt;br/&gt;costing one.&lt;br/&gt;&lt;br/&gt;&amp;gt; I&amp;#39;m not saying we should 100% compare onion messages to Tor, but that we might&lt;br/&gt;&amp;gt; be able to learn from what works and what isn&amp;#39;t working for them. The systems&lt;br/&gt;&amp;gt; aren&amp;#39;t identical, but have some similarities.&lt;br/&gt;&lt;br/&gt;To DoS here you have to have *very* asymmetric attack power - regular ol&amp;#39; invoice requests are &lt;br/&gt;trivial amounts of bandwidth, like, really, really trivial. Like, 1000x less bandwidth than an &lt;br/&gt;average ol&amp;#39; home node on a DOCSIS high-latency line with 20Mbps up has available. Closer to &lt;br/&gt;1,000,000x less if we&amp;#39;re talking about &amp;#34;real metal&amp;#34;.&lt;br/&gt;&lt;br/&gt;More importantly, Tor&amp;#39;s current attack actually *isn&amp;#39;t* a simple DoS attack. The attack there isn&amp;#39;t &lt;br/&gt;relevant to onion messages at all, you&amp;#39;re just throwing up roadblocks with nonsense here.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; On the topic of parameters across the network: could we end up in a scenario&lt;br/&gt;&amp;gt; where someone is doing like streaming payments for a live stream (or w/e),&lt;br/&gt;&amp;gt; ends up fetching a ton of invoices (actual traffic leading to payments), but&lt;br/&gt;&amp;gt; then ends up being erroneously rate limited by their peers? Assuming they&lt;br/&gt;&amp;gt; have 1 or 2 channels that have now all been clamped down, is waiting N&lt;br/&gt;&amp;gt; minutes (or w/e) their only option? If so then this might lead to their&lt;br/&gt;&amp;gt; livestream (data being transmitted elsewhere) being shut off. Oops, they just&lt;br/&gt;&amp;gt; missed the greatest World Cup goal in history!  You had to be there, you had to&lt;br/&gt;&amp;gt; be there, you had to *be* there...&lt;br/&gt;&lt;br/&gt;You&amp;#39;re basically making a &amp;#34;you had to have more inbound capacity&amp;#34; argument, which, sure, yes, you &lt;br/&gt;do. Even better, though, onion messages are *cheap*, like absurdly cheap, so if you have enough &lt;br/&gt;inbound capacity you&amp;#39;re almost certain to have enough inbound *network* capacity to handle some &lt;br/&gt;invoice requests, hell, they&amp;#39;re a millionth the cost of the HTLCs you&amp;#39;re about to receive &lt;br/&gt;anyway...this argument is just nonsense.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; Another question on my mind is: if this works really well for rate limiting of&lt;br/&gt;&amp;gt; onion messages, then why can&amp;#39;t we use it for HTLCs as well?&lt;br/&gt;&lt;br/&gt;We do? 400-some-odd HTLCs in flight at once is a *really* tight rate limit, even! Order of &lt;br/&gt;magnitudes tighter than onion message rate limits need to be :)&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:06:36Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqspqcfd5mz4km5dagsht0xpdf6769s9s5caapkllu4tfcg6r9wnp8qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5uj2v7m</id>
    
      <title type="html">📅 Original date posted:2022-07-03 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqspqcfd5mz4km5dagsht0xpdf6769s9s5caapkllu4tfcg6r9wnp8qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5uj2v7m" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqszgr7c0jh74xxxjl3dl3ctdeddghnpk2wvyujtprkwcmm5lznl0qg0m98wd&#39;&gt;nevent1q…98wd&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-07-03&lt;br/&gt;📝 Original message:&lt;br/&gt;On 7/1/22 9:09 PM, Olaoluwa Osuntokun wrote:&lt;br/&gt;&amp;gt; Hi Matt,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;  &amp;gt; Ultimately, paying suffers from the standard PoW-for-spam issue - you&lt;br/&gt;&amp;gt;  &amp;gt; cannot assign a reasonable cost that an attacker cares about without&lt;br/&gt;&amp;gt;  &amp;gt; impacting the system&amp;#39;s usability due to said cost.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Applying this statement to related a area&lt;br/&gt;&lt;br/&gt;I mean, I think its only mostly-related, cause HTLCs are pretty different in cost, but.&lt;br/&gt;&lt;br/&gt;&amp;gt; would you also agree that proposals&lt;br/&gt;&amp;gt; to introduce pre-payments for HTLCs to mitigate jamming attacks is similarly&lt;br/&gt;&amp;gt; a dead end?&lt;br/&gt;&lt;br/&gt;I dunno if its a &amp;#34;dead end&amp;#34;, but, indeed, the naive proposals I&amp;#39;m definitely no fan of whatsoever. I &lt;br/&gt;certainly remain open to being shown I&amp;#39;m wrong.&lt;br/&gt;&lt;br/&gt;&amp;gt; Personally, this has been my opinion for some time now. Which&lt;br/&gt;&amp;gt; is why I advocate for the forwarding pass approach (gracefully degrade to&lt;br/&gt;&amp;gt; stratified topology), which in theory would allow the major flows of the&lt;br/&gt;&amp;gt; network to continue in the face of disruption.&lt;br/&gt;&lt;br/&gt;I&amp;#39;m starting to come around to allowing a &amp;#34;pay per HTLC-locked-time&amp;#34; fee, with Rusty&amp;#39;s proposal &lt;br/&gt;around allowing someone to force-close a channel to &amp;#34;blame&amp;#34;&lt;br/&gt;  a hop for not failing back after fees stop coming in. Its really nifty in theory and doesn&amp;#39;t have &lt;br/&gt;all the classic issues that up-front-fees have, but it puts a very, very, very high premium on high &lt;br/&gt;uptime, which may be catastrophic, dunno.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:06:35Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs9t7kp5tkrapjw2l00x4ec300jsys4meeexlrvzuq57v0g077jwdgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5vmcy6n</id>
    
      <title type="html">📅 Original date posted:2022-06-28 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs9t7kp5tkrapjw2l00x4ec300jsys4meeexlrvzuq57v0g077jwdgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5vmcy6n" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsg8ndg7hzh2nkxmkl8p4h74h45x9wv5pkgvjwa5sqt66p7dkdpl6gx8ys0l&#39;&gt;nevent1q…ys0l&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-06-28&lt;br/&gt;📝 Original message:&lt;br/&gt;On 6/28/22 9:05 AM, Christian Decker wrote:&lt;br/&gt;&amp;gt; It is worth mentioning here that the LN protocol is generally not very&lt;br/&gt;&amp;gt; latency sensitive, and from my experience can easily handle very slow&lt;br/&gt;&amp;gt; signers (3-5 seconds delay) without causing too many issues, aside from&lt;br/&gt;&amp;gt; slower forwards in case we are talking about a routing node. I&amp;#39;d expect&lt;br/&gt;&amp;gt; routing node signers to be well below the 1 second mark, even when&lt;br/&gt;&amp;gt; implementing more complex signer logic, including MuSig2 or nested&lt;br/&gt;&amp;gt; FROST.&lt;br/&gt;&lt;br/&gt;In general, and especially for &amp;#34;edge nodes&amp;#34;, yes, but if forwarding nodes start taking a full second &lt;br/&gt;to forward a payment, we probably need to start aggressively avoiding any such nodes - while I&amp;#39;d &lt;br/&gt;love for all forwarding nodes to take 30 seconds to forward to improve privacy, users ideally expect &lt;br/&gt;payments to complete in 100ms, with multiple payment retries in between.&lt;br/&gt;&lt;br/&gt;This obviously probably isn&amp;#39;t ever going to happen in lightning, but getting 95th percentile &lt;br/&gt;payments down to one second is probably a good goal, something that requires never having to retry &lt;br/&gt;payments and also having forwarding nodes not take more than, say, 150ms.&lt;br/&gt;&lt;br/&gt;Of course I don&amp;#39;t think we should ever introduce a timeout on the peer level - if your peer went &lt;br/&gt;away for a second and isn&amp;#39;t responding quickly to channel updates it doesn&amp;#39;t merit closing a &lt;br/&gt;channel, but its something we will eventually want to handle in route selection if it becomes more &lt;br/&gt;of an issue going forward.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:06:16Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsrvvkyg3fv854pwkqcz03hvyk0m7f0pctw9v7tm9u203s0e07kwlczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ffq2s4</id>
    
      <title type="html">📅 Original date posted:2022-05-16 📝 Original message: Its ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsrvvkyg3fv854pwkqcz03hvyk0m7f0pctw9v7tm9u203s0e07kwlczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ffq2s4" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdd093qra93ppy5zvxkh255u3rx3nlr6yjnsthu9scm95ud0huv7g3gpxz2&#39;&gt;nevent1q…pxz2&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-05-16&lt;br/&gt;📝 Original message:&lt;br/&gt;Its probably worth somewhat disentangling the concept of switching to a minimum-cost flow routing &lt;br/&gt;algorithm from the concept of &amp;#34;scoring based on channel value and estimated available liquidity&amp;#34;.&lt;br/&gt;&lt;br/&gt;These are two largely-unrelated concepts that are being mashed into one in this description - the &lt;br/&gt;first concept needs zero-base-fee to be exact, though its not clear to me that a heuristics-based &lt;br/&gt;approach won&amp;#39;t give equivalent results in practice, given the noise in success rate compared to &lt;br/&gt;theory here.&lt;br/&gt;&lt;br/&gt;The second concept is something that LDK (and I believe CLN and maybe even eclair now) do already, &lt;br/&gt;though lnd does not last I checked. For payments where MPP does not add much to success rate (i.e. &lt;br/&gt;payments where the amount is relatively &amp;#34;low&amp;#34; compared to available network liquidity) dijkstra&amp;#39;s &lt;br/&gt;with a liquidity/channel-size based scoring will give you the exact same result.&lt;br/&gt;&lt;br/&gt;For cases where you&amp;#39;re sending an amount which is &amp;#34;high&amp;#34; compared to available network liquidity, &lt;br/&gt;taking a minimum-cost-flow algorithm becomes important, as you point out. Of course you&amp;#39;re always &lt;br/&gt;going to suffer really slow payment and many retires in this case anyway.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 5/15/22 1:01 PM, Carsten Otto via Lightning-dev wrote:&lt;br/&gt;&amp;gt; Dear all,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; the most recent version of lnd-manageJ [1] now includes basic, but usable,&lt;br/&gt;&amp;gt; support for #PickhardtPayments. I kindly invite you to check out the code, give&lt;br/&gt;&amp;gt; it a try, and use this work for upcoming experiments.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Teaser with video: &lt;a href=&#34;https://twitter.com/c_otto83/status/1525879972786749453&#34;&gt;https://twitter.com/c_otto83/status/1525879972786749453&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The problem, heavily summarized:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; - Sending payments in the LN often fails, especially with larger amounts.&lt;br/&gt;&amp;gt; - Splitting a large payment into smaller shards (using MPP) is helpful,&lt;br/&gt;&amp;gt;    as in general the smaller shards don&amp;#39;t fail as often as a single large&lt;br/&gt;&amp;gt;    payment would. However, the success probability also drops&lt;br/&gt;&amp;gt;    exponentially with the number of channels included [2].&lt;br/&gt;&amp;gt; - Finding routes through the LN is tricky, as the channels&amp;#39; liquidity is&lt;br/&gt;&amp;gt;    uncertain at the time of computing the routes and a simple &amp;#34;trial and&lt;br/&gt;&amp;gt;    error&amp;#34; approach might take too long.&lt;br/&gt;&amp;gt; - There are several implementations using various heuristics, taking&lt;br/&gt;&amp;gt;    aspects like fees, previous failures, HTLC deltas, channel age, ...&lt;br/&gt;&amp;gt;    into account. Comparing these approaches is very hard.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The gist of #PickhardtPayments:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; - The issue of finding MPP routes in the LN corresponds to the&lt;br/&gt;&amp;gt;    well-known minimum-cost flow problem in computer science (graph&lt;br/&gt;&amp;gt;    theory) with lots of related research, results, algorithms, ...&lt;br/&gt;&amp;gt; - As shown in the paper [3] the results are optimal, no matter which&lt;br/&gt;&amp;gt;    &amp;#34;cost&amp;#34; function is used to reason about routing costs (fees) and/or&lt;br/&gt;&amp;gt;    reliability. However, depending on the characteristics of the&lt;br/&gt;&amp;gt;    function, actually finding optimal results can be extremely hard&lt;br/&gt;&amp;gt;    (NP-complete in some cases). By imposing the zero base fee limitation&lt;br/&gt;&amp;gt;    and assuming a uniform distribution of funds, fast implementations&lt;br/&gt;&amp;gt;    (polynomial time with sub-second runtimes) can be used.&lt;br/&gt;&amp;gt; - Assuming (!) a uniform distribution of funds in each channel and zero&lt;br/&gt;&amp;gt;    base fee only, #PickhardtPayments offers an approach that is optimal,&lt;br/&gt;&amp;gt;    i.e. proven perfect and computationally feasible.&lt;br/&gt;&amp;gt; - The most basic version only considers uncertainty costs for&lt;br/&gt;&amp;gt;    reliability, but it is possible (and implemented in lnd-manageJ) to&lt;br/&gt;&amp;gt;    also consider routing costs (fee rates) and optimize for both features&lt;br/&gt;&amp;gt;    to come up with reliable and cheap-ish MPPs.&lt;br/&gt;&amp;gt; - The implementation of #PickhardtPayments in lnd-manageJ needs to&lt;br/&gt;&amp;gt;    ignore non-zero base fee channels to avoid extremely slow&lt;br/&gt;&amp;gt;    (NP-complete) computations. Furthermore, certain aspects are&lt;br/&gt;&amp;gt;    approximated [4]. As such, optimality claims are limited to the zero&lt;br/&gt;&amp;gt;    base fee subset of the LN, and real-world experiments might be tricky&lt;br/&gt;&amp;gt;    to interpret. However, as also shown in the testnet videos [5][6],&lt;br/&gt;&amp;gt;    first results are very promising!&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The real strength of #PickhardtPayments:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; - Liquidity information, for example obtained by previous failures, is&lt;br/&gt;&amp;gt;    taken into account. For each attempt, the relevant bits of information&lt;br/&gt;&amp;gt;    are obtained and will be used to guide the following attempts.&lt;br/&gt;&amp;gt; - As the underlying algorithm is proven to be optimal, we do not need to&lt;br/&gt;&amp;gt;    rely on heuristics. Instead, the algorithm happily finds routes that&lt;br/&gt;&amp;gt;    may be very long (but very probable/cheap, for whatever reason), have&lt;br/&gt;&amp;gt;    a surprising number of shards, or rather odd amounts.&lt;br/&gt;&amp;gt; - The underlying algorithm also deals with shared segments, i.e.&lt;br/&gt;&amp;gt;    individual channels that are used for more than one shard of the MPP,&lt;br/&gt;&amp;gt;    without oversaturating it.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The code in lnd-manageJ:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; - Highly experimental, but it&amp;#39;s a start!&lt;br/&gt;&amp;gt; - lnd &#43; gRPC middleware &#43; Java/Spring &#43; PostgreSQL is a bit more complex&lt;br/&gt;&amp;gt;    than necessary.&lt;br/&gt;&amp;gt; - Only works with lnd.&lt;br/&gt;&amp;gt; - Doesn&amp;#39;t really work with lnd until issue #5746 [7] is fixed. I&amp;#39;d be&lt;br/&gt;&amp;gt;    very happy for someone to have a look at my proposal (PR #6543 [8])!&lt;br/&gt;&amp;gt; - The code doesn&amp;#39;t handle all corner cases, especially the&lt;br/&gt;&amp;gt;    less-than-usual failure codes. For example, if a node decides to raise&lt;br/&gt;&amp;gt;    the fee rate, the corresponding channel will be ignored for a while as&lt;br/&gt;&amp;gt;    I&amp;#39;m too lazy to think about how to update the information in the data&lt;br/&gt;&amp;gt;    structure used to compute the MPP.&lt;br/&gt;&amp;gt; - Pending shards (neither failed nor settled) just cause the whole MPP&lt;br/&gt;&amp;gt;    to hang until something times out. Most likely this can&amp;#39;t be fixed&lt;br/&gt;&amp;gt;    without stuckless payments?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I&amp;#39;d be very happy to discuss implementation details (not on this list, I&lt;br/&gt;&amp;gt; guess?) and help with upcoming (mainnet?) benchmarks and experiments&lt;br/&gt;&amp;gt; (René Pickhardt is also interested in helping with this). Given a fix&lt;br/&gt;&amp;gt; for the blocking lnd issue, I&amp;#39;d be happy to let my node c-otto.de take&lt;br/&gt;&amp;gt; part in some experiments.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Last but not least, a huge thank you to René Pickhardt for lots of&lt;br/&gt;&amp;gt; insightful discussions, proof reading, and of course (together with&lt;br/&gt;&amp;gt; Stefan Richter) the actual work of coming up with #PickhardtPayments!&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Best regards,&lt;br/&gt;&amp;gt; Carsten&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; 1: &lt;a href=&#34;https://github.com/C-Otto/lnd-manageJ/blob/main/PickhardtPayments.md&#34;&gt;https://github.com/C-Otto/lnd-manageJ/blob/main/PickhardtPayments.md&lt;/a&gt;&lt;br/&gt;&amp;gt; 2: &lt;a href=&#34;https://arxiv.org/abs/2103.08576&#34;&gt;https://arxiv.org/abs/2103.08576&lt;/a&gt;&lt;br/&gt;&amp;gt; 3: &lt;a href=&#34;https://arxiv.org/abs/2107.05322&#34;&gt;https://arxiv.org/abs/2107.05322&lt;/a&gt;&lt;br/&gt;&amp;gt; 4: &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-March/003510.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-March/003510.html&lt;/a&gt;&lt;br/&gt;&amp;gt; 5: &lt;video controls width=&#34;100%&#34; class=&#34;max-h-[90vh] bg-neutral-300 dark:bg-zinc-700&#34;&gt;&lt;source src=&#34;https://c-otto.de/pp/pp.mp4&#34;&gt;&lt;/video&gt;&lt;br/&gt;&amp;gt; 6: &lt;video controls width=&#34;100%&#34; class=&#34;max-h-[90vh] bg-neutral-300 dark:bg-zinc-700&#34;&gt;&lt;source src=&#34;https://c-otto.de/pp/lnd.mp4&#34;&gt;&lt;/video&gt;&lt;br/&gt;&amp;gt; 7: &lt;a href=&#34;https://github.com/lightningnetwork/lnd/issues/5746&#34;&gt;https://github.com/lightningnetwork/lnd/issues/5746&lt;/a&gt;&lt;br/&gt;&amp;gt; 8: &lt;a href=&#34;https://github.com/lightningnetwork/lnd/pull/6543&#34;&gt;https://github.com/lightningnetwork/lnd/pull/6543&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;
    </content>
    <updated>2023-06-09T13:06:02Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsvda0u2u80ru97rf7qphwx7tvhjzas994y6u4scme8nqjqkr6lnlqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm59mpe9v</id>
    
      <title type="html">📅 Original date posted:2022-04-24 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsvda0u2u80ru97rf7qphwx7tvhjzas994y6u4scme8nqjqkr6lnlqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm59mpe9v" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsx66j94etw23utrpe7846n52tvq5xhnfe7etpypzpnv4rqxrvka3gnsfmve&#39;&gt;nevent1q…fmve&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-04-24&lt;br/&gt;📝 Original message:&lt;br/&gt;On 4/22/22 6:40 PM, Rusty Russell wrote:&lt;br/&gt;&amp;gt; Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Allowing only 1 a day, ended up with 18% of channels hitting the spam&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; limit.  We cannot fit that many channel differences inside a set!&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Perhaps Alex should post his more detailed results, but it&amp;#39;s pretty&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; clear that we can&amp;#39;t stay in sync with this many differences :(&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Right, the fact that most nodes don&amp;#39;t do any limiting at all and y&amp;#39;all have a *very* aggressive (by&lt;br/&gt;&amp;gt;&amp;gt; comparison) limit is going to be an issue in any context.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I&amp;#39;m unable to find the post years ago where I proposed this limit&lt;br/&gt;&amp;gt; and nobody had major objections.  I just volunteered to go first :)&lt;br/&gt;&lt;br/&gt;I&amp;#39;m not trying to argue the number is good or bad, only that being several orders of magnitude away &lt;br/&gt;from everything else is going to lead to rejections.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; We could set some guidelines and improve&lt;br/&gt;&amp;gt;&amp;gt; things, but luckily regular-update-sync bypasses some of these issues anyway - if we sync once per&lt;br/&gt;&amp;gt;&amp;gt; block and your limit is once per block, getting 1000 updates per block for some channel doesn&amp;#39;t&lt;br/&gt;&amp;gt;&amp;gt; result in multiple failures in the sync. Sure, multiple peers sending different updates for that&lt;br/&gt;&amp;gt;&amp;gt; channel can still cause some failures, but its still much better.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Nodes will want to aggressively spam as much as they can, so I think we&lt;br/&gt;&amp;gt; need a widely-agreed limit.  I don&amp;#39;t really care what it is, but&lt;br/&gt;&amp;gt; somewhere between per 1 and 1000 blocks makes sense?&lt;br/&gt;&lt;br/&gt;I don&amp;#39;t really disagree, but my point is that we should strive for the sync system to not need to &lt;br/&gt;care about this number as much as possible. Because views of the rate limits are a local view, not a &lt;br/&gt;global view, you&amp;#39;ll always end up with things on the edge getting rejected during sync, and, worse, &lt;br/&gt;when we eventually want to change the limit, we&amp;#39;d be hosed.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; But we might end up with a gossip2 if we want to enable taproot, and use&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; blockheight as timestamps, in which case we could probably just support&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; that one operation (and maybe a direct query op).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Like eclair, we don’t bother to rate limit and don’t see any issues with it, though we will skip relaying outbound updates if we’re saturating outbound connections.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Yeah, we did as a trial, and in some cases it&amp;#39;s become limiting.  In&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; particular, people restarting their LND nodes once a day resulting in 2&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; updates per day (which, in 0.11.0, we now allow).&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; What do you mean &amp;#34;its become limiting&amp;#34;? As in you hit some reasonably-low CPU/disk/bandwidth limit&lt;br/&gt;&amp;gt;&amp;gt; in doing this? We have a pretty aggressive bandwidth limit for this kinda stuff (well, indirect&lt;br/&gt;&amp;gt;&amp;gt; bandwidth limit) and it very rarely hits in my experience (unless the peer is very overloaded and&lt;br/&gt;&amp;gt;&amp;gt; not responding to pings, which is a somewhat separate thing...)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; By rejecting more than 1 per day, some LND nodes had 50% of their&lt;br/&gt;&amp;gt; channels left disabled :(&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This same problem will occur if *anyone* does ratelimiting, unless&lt;br/&gt;&amp;gt; *everyone* does.  And with minisketch, there&amp;#39;s a good reason to do so.&lt;br/&gt;&lt;br/&gt;None of this seems like a good argument for *not* taking the &amp;#34;send updates since the last sync in &lt;br/&gt;the minisketch&amp;#34; approach to reduce the damage inconsistent policies cause, though? I&amp;#39;m not really &lt;br/&gt;sure in a world where you do &amp;#34;update-based-sketch&amp;#34; gossip sync you&amp;#39;re any worse off than today even &lt;br/&gt;with different rate-limit policies, though I obviously agree there are substantial issues with the &lt;br/&gt;massively inconsistent rate-limit policies we see today.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:05:55Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqst72nqkvtxv7guv6s27w24vtuggadah5syzgf5u6g699rcevrap3szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm55mexh7</id>
    
      <title type="html">📅 Original date posted:2022-04-22 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqst72nqkvtxv7guv6s27w24vtuggadah5syzgf5u6g699rcevrap3szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm55mexh7" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs0ghmqy5t96x4qa60lx4sf7hlgxsaqswmzwxtj5fdw2pjv8hglpag92gzpx&#39;&gt;nevent1q…gzpx&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-04-22&lt;br/&gt;📝 Original message:&lt;br/&gt;On 4/22/22 9:15 AM, Alex Myers wrote:&lt;br/&gt;&amp;gt; Hi Matt,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Appreciate your responses.  Hope you&amp;#39;ll bear with me as I&amp;#39;m a bit new to this.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Instead of trying to make sure everyone’s gossip acceptance matches exactly, which as you point&lt;br/&gt;&amp;gt;     it seems like a quagmire, why not (a) do a sync on startup and (b) do syncs of the *new* things.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I&amp;#39;m not opposed to this technique, and maybe it ends up as a better solution.  The rationale for not &lt;br/&gt;&amp;gt; going full Erlay approach was that it&amp;#39;s far less overhead to maintain a single sketch than to &lt;br/&gt;&amp;gt; maintain a per-peer sketch and associated state for every gossip peer.  In this way there&amp;#39;s very &lt;br/&gt;&amp;gt; little cost to adding additional gossip peers, which further encourages propagation and convergence &lt;br/&gt;&amp;gt; of the gossip network.&lt;br/&gt;&lt;br/&gt;I&amp;#39;m not sure what you mean by per-node state here - I&amp;#39;d think you can implement it with a simple &lt;br/&gt;&amp;#34;list of updates that happened since time X&amp;#34; data, instead of having to maintain per-peer state.&lt;br/&gt;&lt;br/&gt;&amp;gt; IIUC Erlay&amp;#39;s design was concerned for privacy of originating nodes.  Lightning gossip is public by &lt;br/&gt;&amp;gt; nature, so I&amp;#39;m not sure we should constrain ourselves to the same design route without trying the &lt;br/&gt;&amp;gt; alternative first.&lt;br/&gt;&lt;br/&gt;Part of the design of Erlay, especially the insight of syncing updates instead of full mempools, was &lt;br/&gt;actually this precise issue - Bitcoin Core nodes differ in policy for a number of reasons &lt;br/&gt;(especially across updates), and thus syncing the full mempool will result in degenerate cases of &lt;br/&gt;trying over and over and over again to sync stuff your peer is rejecting. At least if I recall &lt;br/&gt;correctly.&lt;br/&gt;&lt;br/&gt;&amp;gt;     if we&amp;#39;re gonna add a minisketch-based sync anyway, please lets also use it for initial sync&lt;br/&gt;&amp;gt;     after restart&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This was out of the scope of what I had in mind, but I will give this some thought. I could see how &lt;br/&gt;&amp;gt; a block_height reference coupled with set reconciliation could provide some better options here. &lt;br/&gt;&amp;gt; This may not be all that difficult to shoe-horn in.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Regardless of single sketch or per-peer set reconciliation, it should be easier to implement with &lt;br/&gt;&amp;gt; tighter rules on rate-limiting. (Keep in mind, the node&amp;#39;s graph can presumably be updated &lt;br/&gt;&amp;gt; independently of the gossip it rebroadcasts if desired.) As a thought experiment, if we consider a &lt;br/&gt;&amp;gt; CLN-LDK set reconciliation, and that each node is gossiping with 5 other peers in an evenly spaced &lt;br/&gt;&amp;gt; frequency, we would currently see 42.8 commonly accepted channel_updates over an average 60s window &lt;br/&gt;&amp;gt; along with 11 more updates which LDK accepts and CLN rejects (spam.)[1] Assuming the other 5 peers &lt;br/&gt;&amp;gt; have shared 5/6ths of this gossip before the CLN/LDK set reconciliation, we&amp;#39;re left with CLN seeing &lt;br/&gt;&amp;gt; 7 updates to reconcile, while LDK sees 18.  Already we&amp;#39;ve lost 60% efficiency due to lack of a &lt;br/&gt;&amp;gt; common rate-limit heuristic.&lt;br/&gt;&lt;br/&gt;I do not believe that we will ever form a strong agreement on exactly what the rate-limits should &lt;br/&gt;be. And even if we do, we still have the issue of upgrades, where a simple change to the rate-limits &lt;br/&gt;causes sync to suddenly blow up and hit degenerate cases all over the place. Unless we can make the &lt;br/&gt;sync system relatively robust against slightly different policies, I think we&amp;#39;re kinda screwed.&lt;br/&gt;&lt;br/&gt;Worse, what happens if someone sends updates at exactly the limit of the rate-limiters? Presumably &lt;br/&gt;people will do this because &amp;#34;that&amp;#39;s what the limit is and I want to send updates as often as I can &lt;br/&gt;becaux...&amp;#34;. Now you&amp;#39;ll still have similar issues, I believe.&lt;br/&gt;&lt;br/&gt;&amp;gt; I understand gossip traffic is manageable now, but I&amp;#39;m not sure it will be that long before it &lt;br/&gt;&amp;gt; becomes an issue. Furthermore, any particular set reconciliation technique would benefit from a &lt;br/&gt;&amp;gt; simple common rate-limit heuristic, not to mention originating nodes, who may not currently realize &lt;br/&gt;&amp;gt; their channel updates are being rejected by a portion of the network due to differing criteria &lt;br/&gt;&amp;gt; across implementations.&lt;br/&gt;&lt;br/&gt;Yes, I agree there is definitely a concern with differing criteria resulting in nodes not realizing &lt;br/&gt;their gossip is not propagating. I agree guidelines would be nice, but guidelines doesn&amp;#39;t solve the &lt;br/&gt;issue for sync, sadly, I think. Luckily lightning does provide a mechanism to bypass the rejection - &lt;br/&gt;send an update back with an HTLC failure. If you&amp;#39;re trying to route an HTLC and a node has new &lt;br/&gt;parameters for you, it&amp;#39;ll helpfully let you know when you try to use the old parameters.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:05:53Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsyqtu4tvhll0qcl3uspq7jxzd2p56hqurx9alxldfvcf82s88y2pqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm53fmufx</id>
    
      <title type="html">📅 Original date posted:2021-08-25 📝 Original message: I ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsyqtu4tvhll0qcl3uspq7jxzd2p56hqurx9alxldfvcf82s88y2pqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm53fmufx" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsyuph2rja7nja2le2celatmw2374hv9cf8xe5kwl33lkrq0dcgzrqh0u9ey&#39;&gt;nevent1q…u9ey&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-08-25&lt;br/&gt;📝 Original message:&lt;br/&gt;I feel like we&amp;#39;re having two very, very different conversations here. On one hand, you&amp;#39;re arguing that the base fee is &lt;br/&gt;of marginal use, and that maybe we can figure out how to average it out such that we can avoid needing it. On the other &lt;br/&gt;hand, I&amp;#39;m arguing that, yes, maybe you can, but ideally you wouldn&amp;#39;t have to, because its still pretty nice to capture &lt;br/&gt;those costs sometimes. Also, even if we can maybe do away with the base fee, that still doesn&amp;#39;t mean we should start &lt;br/&gt;relying on the lack of any not-completely-linear-in-HTLC-value fees in our routing algorithms, as maybe we&amp;#39;ll want to do &lt;br/&gt;upfront payments or some other kind of anti-DoS payment in the future to solve the gaping, glaring, giant DoS hole that &lt;br/&gt;is HTLCs taking forever to time out.&lt;br/&gt;&lt;br/&gt;I&amp;#39;m not even sure that you&amp;#39;re trying to argue, here, that we should start making key assumptions about the only fee &lt;br/&gt;being a proportional one in our routing algorithms, but that is what the topic at hand is, so I can&amp;#39;t help but assume &lt;br/&gt;you are?&lt;br/&gt;&lt;br/&gt;If you disagree with the above characterization I&amp;#39;m happy to go line-by-line tit-for-tat, but usually those kinds of &lt;br/&gt;tirades aren&amp;#39;t exactly useful and end up being more about semantics than the thrust of the argument.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 8/20/21 21:46, Anthony Towns wrote:&lt;br/&gt;&amp;gt; On Mon, Aug 16, 2021 at 12:48:36AM -0400, Matt Corallo wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; The base&#43;proportional fees paid only on success roughly match the *value*&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; of forwarding an HTLC, they don&amp;#39;t match the costs particularly well&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; at all.&lt;br/&gt;&amp;gt;&amp;gt; Sure, indeed, there&amp;#39;s some additional costs which are not covered by failed&lt;br/&gt;&amp;gt;&amp;gt; HTLCs, [...]&lt;br/&gt;&amp;gt;&amp;gt; Dropping base fee makes the whole situation a good chunk *worse*.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Can you justify that quantitatively?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Like, pick a realistic scenario, where you can make things profitable&lt;br/&gt;&amp;gt; with some particular base_fee, prop_fee, min_htlc_amount combination,&lt;br/&gt;&amp;gt; but can&amp;#39;t reasonably pick another similarly profitable outcome with&lt;br/&gt;&amp;gt; base_fee=0?  (You probably need to have a bimodal payment distribution&lt;br/&gt;&amp;gt; with a micropayment peak and a regular payment peak, I guess, or perhaps&lt;br/&gt;&amp;gt; have particularly inelastic demand and highly competitive supply?)&lt;br/&gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; And all those costs can be captured equally well (or badly) by just&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; setting a proportional fee and a minimum payment value. I don&amp;#39;t know why&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; you keep ignoring that point.&lt;br/&gt;&amp;gt;&amp;gt; I didn&amp;#39;t ignore this, I just disagree, and I&amp;#39;m not entirely sure why you&amp;#39;re ignoring the points I made to that effect :).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I don&amp;#39;t think I&amp;#39;ve seen you explicitly disagree with that previously,&lt;br/&gt;&amp;gt; nor explain why you disagree with it? (If I&amp;#39;ve missed that, a reference&lt;br/&gt;&amp;gt; appreciated; explicit re-explanation also appreciated)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; In all seriousness, I&amp;#39;m entirely unsure why you think proportional is just&lt;br/&gt;&amp;gt;&amp;gt; as good?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In principle, because fee structures already aren&amp;#39;t a good match, and&lt;br/&gt;&amp;gt; a simple approximation is better that a complicated approximation.&lt;br/&gt;&amp;gt; Specifically, because you can set&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   min_htlc_msat=old_base_fee_msat * 1e6 / prop_fee_millionths&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; which still ensures every HTLC you forward offers a minimum fee of&lt;br/&gt;&amp;gt; old_base_fee_msat, and your fees still increase as the value transferred&lt;br/&gt;&amp;gt; goes up, which in the current lightning environment seems like it&amp;#39;s just&lt;br/&gt;&amp;gt; as good an approximation as if you&amp;#39;d actually used &amp;#34;old_base_fee_msat&amp;#34;.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; For example, maybe you pay $40/month for your node, which is about 40msat&lt;br/&gt;&amp;gt; per second [0], and you really can only do one HTLC per second on average&lt;br/&gt;&amp;gt; [1]. Then instead of a base_fee of 40msat, pick your proportional rate,&lt;br/&gt;&amp;gt; say 0.03%, and calculate your min_htlc amount as above, ie 133sat. So if&lt;br/&gt;&amp;gt; someone sends 5c/133sat through you, they&amp;#39;ll pay 40msat, and for every&lt;br/&gt;&amp;gt; ~3 additional sats, they&amp;#39;ll pay you an additional 1msat. Your costs are&lt;br/&gt;&amp;gt; covered, and provided your fee rate is competitive and there&amp;#39;s traffic&lt;br/&gt;&amp;gt; on the network, you&amp;#39;ll make your desired profit.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; If your section of the lightning network is being used mainly for&lt;br/&gt;&amp;gt; microtransactions, and you&amp;#39;re not competitive/profitable when limiting&lt;br/&gt;&amp;gt; yourself to &amp;gt;5c transactions, you could increase your proportional fee&lt;br/&gt;&amp;gt; and lower your min_htlc amount, eg to 1% and 4sat so that you&amp;#39;ll get&lt;br/&gt;&amp;gt; your 40msat from a 4sat/0.16c HTLC, and increase at a rate of 10msat/sat&lt;br/&gt;&amp;gt; after that.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; That at least matches the choices you&amp;#39;re probably actually making as a&lt;br/&gt;&amp;gt; node operator: &amp;#34;I&amp;#39;m trying to be cheap at 0.03% and focus on relatively&lt;br/&gt;&amp;gt; large transfers&amp;#34; vs &amp;#34;I&amp;#39;m focussing on microtransactions by reducing the&lt;br/&gt;&amp;gt; minimum amount I&amp;#39;ll support and being a bit expensive&amp;#34;. I don&amp;#39;t think&lt;br/&gt;&amp;gt; anyone&amp;#39;s setting a base fee by calculating per-tx costs (and if they&lt;br/&gt;&amp;gt; were, per the footnote, I&amp;#39;m not convinced it&amp;#39;d even justify 1msat let&lt;br/&gt;&amp;gt; alone 1sat per tx).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; OTOH, if you want to model an arbitrary concave fee function (because&lt;br/&gt;&amp;gt; you have some scheme that optimises fee income by discriminating against&lt;br/&gt;&amp;gt; smaller payments), you could do that by having multiple channels between&lt;br/&gt;&amp;gt; the same nodes, which is much more effective with (base, prop) fee pairs&lt;br/&gt;&amp;gt; than with (prop, min) pairs. (With (prop, min) pairs, you end up with&lt;br/&gt;&amp;gt; large ranges of the domain that would prefer to pay prop2*min2 rather&lt;br/&gt;&amp;gt; than prop1*x when x&amp;lt;min2) [2]&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; It&amp;#39;s not clear to me that&amp;#39;s desirable in practice -- the benefit of a&lt;br/&gt;&amp;gt; concave fee function is that it penalises smaller payments / benefits&lt;br/&gt;&amp;gt; larger payments, which naturally penalises splitting payments up and&lt;br/&gt;&amp;gt; (to some extent) micropayments in general. OTOH, it&amp;#39;s whatever the&lt;br/&gt;&amp;gt; &amp;#34;turing complete&amp;#34; version of setting fees is, which does at least feel&lt;br/&gt;&amp;gt; theoretically appealing.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; As you note, the cost for nodes is a function of the opportunity&lt;br/&gt;&amp;gt;&amp;gt; cost of the capital, and opportunity cost of the HTLC slots. Lets say as a&lt;br/&gt;&amp;gt;&amp;gt; routing node I decide that the opportunity cost of one of my HTLC slots is&lt;br/&gt;&amp;gt;&amp;gt; generally 1 sat per second, and the average HTLC is fulfilled in one second.&lt;br/&gt;&amp;gt;&amp;gt; Why is it that a proportional fee captures this &amp;#34;equally well&amp;#34;?!&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; If I send an HTLC through you, I can pay your 1 sat fee, then keep the&lt;br/&gt;&amp;gt; HTLC open for a day, costing you 86,400 sats by your numbers. So I don&amp;#39;t&lt;br/&gt;&amp;gt; think that&amp;#39;s even remotely close to capturing the costs of the individual&lt;br/&gt;&amp;gt; HTLC that&amp;#39;s paying the fee.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; But if your averages are right, and enough people are nice despite me&lt;br/&gt;&amp;gt; being a PITA, then you can get the same minimum with a proportional fee;&lt;br/&gt;&amp;gt; if you&amp;#39;re charging 0.1% you set the minimum amount to be 1000 sats.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; (But 1sat per HTLC is ridiculously expensive, like at least 20x over&lt;br/&gt;&amp;gt; what your actual costs would be, even if your hardware is horribly slow&lt;br/&gt;&amp;gt; and horribly expensive)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Yes, you could amortize it,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; You&amp;#39;re already amortizing it: that&amp;#39;s what &amp;#34;generally 1 sat per second&amp;#34;&lt;br/&gt;&amp;gt; and &amp;#34;average HTLC is fulfilled in one second&amp;#34; is capturing.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; but that doesn&amp;#39;t make it &amp;#34;equally&amp;#34; good, and&lt;br/&gt;&amp;gt;&amp;gt; there are semi-serious proposals to start ignoring nodes that *dont* set&lt;br/&gt;&amp;gt;&amp;gt; their fees to some particular structure in routing decisions.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Are there proposals to do that outside of experimental plugins? That&lt;br/&gt;&amp;gt; seems... aggressive, particularly given it&amp;#39;d exclude three-quarters of&lt;br/&gt;&amp;gt; the network, and any node running with default parameters.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Sure, nodes&lt;br/&gt;&amp;gt;&amp;gt; can do what they want, but its kinda absurd to suggest that this is a&lt;br/&gt;&amp;gt;&amp;gt; perfectly fine thing to do absent a somewhat compelling reason. This goes&lt;br/&gt;&amp;gt;&amp;gt; doubly because deploying such things significantly will mean we cannot do&lt;br/&gt;&amp;gt;&amp;gt; future protocol changes which may better capture the time-value of node&lt;br/&gt;&amp;gt;&amp;gt; resources!&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I think you&amp;#39;re getting a bit of a &amp;#34;consensus&amp;#34; mindset there -- if we&lt;br/&gt;&amp;gt; need to change lightning routing algorithms later, it&amp;#39;ll be a pain,&lt;br/&gt;&amp;gt; sure, but old behaviours aren&amp;#39;t locked in permanently in the same way&lt;br/&gt;&amp;gt; they are for bitcoin consensus rules.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; We&amp;#39;ll need an similar network-wide routing upgrade to support PTLCs,&lt;br/&gt;&amp;gt; and also (in my opinion anyway) to support a new fee mechanism that deals&lt;br/&gt;&amp;gt; with failed payments. Also needing one to re-support specifying a base fee&lt;br/&gt;&amp;gt; would be pretty easy by comparison, especially since we&amp;#39;ve &amp;#34;been there,&lt;br/&gt;&amp;gt; done that&amp;#34;.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; But I don&amp;#39;t think anyone&amp;#39;s proposing deploying such things &amp;#34;significantly&amp;#34;&lt;br/&gt;&amp;gt; in the first place?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Additionally, I don&amp;#39;t think HTLC slot usage needs to be kept as a&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; limitation after we switch to eltoo;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The HTLC slot limit is to keep transactions broadcastable. I don&amp;#39;t see why&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this would change, you still get an output for each HTLC on the latest&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; commitment in eltoo, AFAIU.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; eltoo gives us the ability to have channel factories....&lt;br/&gt;&amp;gt;&amp;gt; That doesn&amp;#39;t solve the issue at all - you still have a ton of transactions&lt;br/&gt;&amp;gt;&amp;gt; and transaction outputs and spends thereof to put on the chain in the case&lt;br/&gt;&amp;gt;&amp;gt; of a closure with pending HTLCs.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; It solves the broadcastability issue. If you&amp;#39;re worrying about ending up&lt;br/&gt;&amp;gt; with 5GB worth of pending HTLCs and not being able to atomically post&lt;br/&gt;&amp;gt; that to the blockchain because their timeouts all expire in less than&lt;br/&gt;&amp;gt; 5000 blocks, then sure, there&amp;#39;s still other limits you might want to&lt;br/&gt;&amp;gt; care about.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; (By &amp;#34;any time soon&amp;#34; I mean, I could see software defaults changing if&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; over 50% of the network deliberately switched to zero base fees and found&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; it worked fine; and I could see deprecating non-zero fees if that ended&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; up with 90% of the network on zero base fees, no good reasons for node&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; operators wanting to stick with running non-zero base fees, and the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; experimental algos that relied on zero base fees being significantly&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; easier to maintain or faster/better)&lt;br/&gt;&amp;gt;&amp;gt; What is your definition of &amp;#34;works fine&amp;#34; here? In today&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt; nearly-entirely-altruistic-routing-node network, we could probably entirely&lt;br/&gt;&amp;gt;&amp;gt; drop the routing fees and things would &amp;#34;work fine&amp;#34;. That doesn&amp;#39;t make it a&lt;br/&gt;&amp;gt;&amp;gt; good idea for the long-term health of the network.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &amp;#34;We have a problem, and something must be done. This is something,&lt;br/&gt;&amp;gt; therefore it must be done&amp;#34; ? Fixed fees that apply only to successful&lt;br/&gt;&amp;gt; transactions aren&amp;#39;t a solution for the long term health of the&lt;br/&gt;&amp;gt; network. Yes, something to address that must be done, but base fees&lt;br/&gt;&amp;gt; aren&amp;#39;t something that addresses it, so IMO it&amp;#39;s just not a relevant point.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Many node operators actively rejecting the recommendation would be an&lt;br/&gt;&amp;gt; easy example of not &amp;#34;working fine&amp;#34; -- that&amp;#39;s certainly what I&amp;#39;d expect to&lt;br/&gt;&amp;gt; see if the recommendation in question was &amp;#34;just don&amp;#39;t charge any fees&amp;#34;.&lt;br/&gt;&amp;gt; (Equally, I wouldn&amp;#39;t have any problem with a #zerofees twitter campaign&lt;br/&gt;&amp;gt; to encourage people to try it out; though I don&amp;#39;t think I&amp;#39;d support that&lt;br/&gt;&amp;gt; one myself. Presumably if there were a reasonable zero fee path between&lt;br/&gt;&amp;gt; sender and recipient most lightning nodes would already try that first?)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; aj&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; [0] $1/month is about 1/40k BTC/month equals 10e3/4 sat/month;&lt;br/&gt;&amp;gt;      there&amp;#39;s about 2.5e6 seconds in a month (~28.9 days), so that&amp;#39;s&lt;br/&gt;&amp;gt;      about 10e3/10e6 sat/second or 1 msat/second. Neat.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; [1] A $40/month linode gives you 4 EPYC cores, so really you ought&lt;br/&gt;&amp;gt;      to be able to do 100s of payments per second, giving you a per&lt;br/&gt;&amp;gt;      payment cost of 0.4msat or less as far as I can see... If you&amp;#39;re&lt;br/&gt;&amp;gt;      ending up with 40msat after amortizing that&amp;#39;s hundreds of failed&lt;br/&gt;&amp;gt;      payments per success, if you&amp;#39;re ending up at 1sat, that&amp;#39;s thousands&lt;br/&gt;&amp;gt;      of failed payments per success. (Not sure how the maths changes if&lt;br/&gt;&amp;gt;      you&amp;#39;re self-hosting or have dedicated hosting or if shared hosting&lt;br/&gt;&amp;gt;      doesn&amp;#39;t actually provide it&amp;#39;s nominal performance)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; [2] Dammit, the theoretical argument is kind-of convincing me at this&lt;br/&gt;&amp;gt;      point. (Hence the delay in posting this...)&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T13:03:30Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs276494uk7nlk3pmqct2dqltq8cr94skz0x8emahpn8w43nshuwyczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ppnn8w</id>
    
      <title type="html">📅 Original date posted:2021-08-15 📝 Original message: ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs276494uk7nlk3pmqct2dqltq8cr94skz0x8emahpn8w43nshuwyczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ppnn8w" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsy4adf0vcrwtzjaq4fg8vresw2kk2zajeujaw80y38mwg2pz20q8swwdh45&#39;&gt;nevent1q…dh45&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-08-15&lt;br/&gt;📝 Original message:&lt;br/&gt;Thanks, AJ, for kicking off the thread.&lt;br/&gt;&lt;br/&gt;I&amp;#39;m frankly still very confused why we&amp;#39;re having these conversations now. In one particular class of applicable routing &lt;br/&gt;algorithms you could use for lightning routing having a base fee makes the algorithm intractably slow, but:&lt;br/&gt;&lt;br/&gt;a) to my knowledge, no one has (yet) done any follow-on work to investigate pulling many of the same heuristics Rene et &lt;br/&gt;al use in a Dijkstras/A* algorithm with multiple passes or generating multiple routes in the same pass to see whether &lt;br/&gt;you can emulate the results in a faster algorithm without the drawbacks here,&lt;br/&gt;&lt;br/&gt;b) to my knowledge, no one has (yet) done any follow-on work to investigate mapping the base fee to other, more &lt;br/&gt;flow-based-routing-compatible numbers, eg you could convert the base fee to a minimum fee by increasing the &amp;#34;effective&amp;#34; &lt;br/&gt;proportional fees. From what others have commented, this may largely &amp;#34;solve&amp;#34; the issue.&lt;br/&gt;&lt;br/&gt;c) to my knowledge, no one has (yet) done any follow-on work to analyze where the proposed algorithm may be most optimal &lt;br/&gt;in the HTLC-value&amp;lt;-&amp;gt;channel liquidity ratio ranges. We may find that the proposed algorithm only provides materially &lt;br/&gt;better routing when the HTLC value approaches X% of common network channel liquidity, allowing us to only use it for &lt;br/&gt;large-value payments where we can almost ignore the base fees entirely.&lt;br/&gt;&lt;br/&gt;There&amp;#39;s real cost to distorting the fee structures on the network away from the costs of node operators, especially as &lt;br/&gt;we move towards requiring and using Real (tm) amounts of capital on routing nodes. If we&amp;#39;re relying purely on hobbyists &lt;br/&gt;forever who are operating out of goodwill, we should just remove all fees. If we think Lightning is going to involve &lt;br/&gt;capital with real opportunity cost, matching fees to the costs is important, or at least important enough that we &lt;br/&gt;shouldn&amp;#39;t throw it away after one (pretty great) paper and limited further analysis.&lt;br/&gt;&lt;br/&gt;Imagine we find some great way to address HTLC slot flooding/DoS attacks (or just chose to do it in a not-great way) by &lt;br/&gt;charging for HTLC slot usage, now we can&amp;#39;t fix a critical DoS issue because the routing algorithms we deployed can&amp;#39;t &lt;br/&gt;handle the new costing. Instead, we should investigate how we can apply the ideas here with the more complicated fee &lt;br/&gt;structures we have.&lt;br/&gt;&lt;br/&gt;Color me an optimist, but I&amp;#39;m quite confident with sufficient elbow grease and heuristics we can get 95% of the way &lt;br/&gt;there. We can and should revisit these conversations if such exploration is done and we find that its not possible, but &lt;br/&gt;until then this all feels incredibly premature.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 8/14/21 21:00, Anthony Towns wrote:&lt;br/&gt;&amp;gt; Hey *,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; There&amp;#39;s been discussions on twitter and elsewhere advocating for&lt;br/&gt;&amp;gt; setting the BOLT#7 fee_base_msat value [0] to zero. I&amp;#39;m just writing&lt;br/&gt;&amp;gt; this to summarise my understanding in a place that&amp;#39;s able to easily be&lt;br/&gt;&amp;gt; referenced later.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Setting the base fee to zero has a couple of benefits:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;   - it means you only have one value to optimise when trying to collect&lt;br/&gt;&amp;gt;     the most fees, and one-dimensional optimisation problems are&lt;br/&gt;&amp;gt;     obviously easier to write code for than two-dimensional optimisation&lt;br/&gt;&amp;gt;     problems&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;   - when finding a route, if all the fees on all the channels are&lt;br/&gt;&amp;gt;     proportional only, you&amp;#39;ll never have to worry about paying more fees&lt;br/&gt;&amp;gt;     just as a result of splitting a payment; that makes routing easier&lt;br/&gt;&amp;gt;     (see [1])&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; So what&amp;#39;s the cost? The cost is that there&amp;#39;s no longer a fixed minimum&lt;br/&gt;&amp;gt; fee -- so if you try sending a 1sat payment you&amp;#39;ll pay 0.1% of the fee&lt;br/&gt;&amp;gt; to send a 1000sat payment, and there may be fixed costs that you have&lt;br/&gt;&amp;gt; in routing payments that you&amp;#39;d like to be compensated for (eg, the&lt;br/&gt;&amp;gt; computational work to update channel state, the bandwith to forward the&lt;br/&gt;&amp;gt; tx, or the opportunity cost for not being able to accept another htlc if&lt;br/&gt;&amp;gt; you&amp;#39;ve hit your max htlcs per channel limit).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; But there&amp;#39;s no need to explicitly separate those costs the way we do&lt;br/&gt;&amp;gt; now; instead of charging 1sat base fee and 0.02% proportional fee,&lt;br/&gt;&amp;gt; you can instead just set the 0.02% proportional fee and have a minimum&lt;br/&gt;&amp;gt; payment size of 5000 sats (htlc_minimum_msat=5e6, ~$2), since 0.02%&lt;br/&gt;&amp;gt; of that is 1sat. Nobody will be asking you to route without offering a&lt;br/&gt;&amp;gt; fee of at least 1sat, but all the optimisation steps are easier.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; You could go a step further, and have the node side accept smaller&lt;br/&gt;&amp;gt; payments despite the htlc minimum setting: eg, accept a 3000 sat payment&lt;br/&gt;&amp;gt; provided it pays the same fee that a 5000 sat payment would have. That is,&lt;br/&gt;&amp;gt; treat the setting as minimum_fee=1sat, rather than minimum_amount=5000sat;&lt;br/&gt;&amp;gt; so the advertised value is just calculated from the real settings,&lt;br/&gt;&amp;gt; and that nodes that want to send very small values despite having to&lt;br/&gt;&amp;gt; pay high rates can just invert the calculation.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I think something like this approach also makes sense when your channel&lt;br/&gt;&amp;gt; becomes overloaded; eg if you have x HTLC slots available, and y channel&lt;br/&gt;&amp;gt; capacity available, setting a minimum payment size of something like&lt;br/&gt;&amp;gt; y/2/x**2 allows you to accept small payments (good for the network)&lt;br/&gt;&amp;gt; when you&amp;#39;re channel is not busy, but reserves the last slots for larger&lt;br/&gt;&amp;gt; payments so that you don&amp;#39;t end up missing out on profits because you&lt;br/&gt;&amp;gt; ran out of capacity due to low value spam.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Two other aspects related to this:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; At present, I think all the fixed costs are also incurred even when&lt;br/&gt;&amp;gt; a htlc fails, so until we have some way of charging failing txs for&lt;br/&gt;&amp;gt; incurring those costs, it seems a bit backwards to penalise successful&lt;br/&gt;&amp;gt; txs who at least pay a proportional fee for the same thing. Until we&amp;#39;ve&lt;br/&gt;&amp;gt; got a way of handling that, having zero base fee seems at least fair.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Lower value HTLCs don&amp;#39;t need to be included in the commitment transaction&lt;br/&gt;&amp;gt; (if they&amp;#39;re below the dust level, they definitely shouldn&amp;#39;t be included,&lt;br/&gt;&amp;gt; and if they&amp;#39;re less than 1sat they can&amp;#39;t be included), and as such don&amp;#39;t&lt;br/&gt;&amp;gt; incur all the same fixed costs that HTLCs that are committed too do.&lt;br/&gt;&amp;gt; Having different base fees for microtransactions that incur fewer costs&lt;br/&gt;&amp;gt; would be annoying; so having that be &amp;#34;amortised&amp;#34; into the proportional&lt;br/&gt;&amp;gt; fee might help there too.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I think eltoo can help in two ways by reducing the fixed costs: you no&lt;br/&gt;&amp;gt; longer need to keep HTLC information around permanently, and if you do&lt;br/&gt;&amp;gt; a multilevel channel factory setup, you can probably remove the ~400&lt;br/&gt;&amp;gt; HTLCs per channel at any one time limit. But there&amp;#39;s still other fixed&lt;br/&gt;&amp;gt; costs, so I think that would just lower the fixed costs, not remove them&lt;br/&gt;&amp;gt; altogether and isn&amp;#39;t a fundamental change.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I think the fixed costs for forwarding a HTLC are very small; something&lt;br/&gt;&amp;gt; like:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     0.02sats -- cost of permanently storing the HTLC info&lt;br/&gt;&amp;gt;                 (100 bytes, $500/TB/year, 1% discount rate)&lt;br/&gt;&amp;gt;     0.04sats -- compute and bandwidth cost for updating an HTLC ($40/month&lt;br/&gt;&amp;gt;                 at linode, 1 second of compute)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The opportunity cost of having HTLC slots or Bitcoin locked up until&lt;br/&gt;&amp;gt; the HTLC succeeds/fails could be much more significant, though.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; aj&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; [0] &lt;a href=&#34;https://github.com/lightningnetwork/lightning-rfc/blob/master/07-routing-gossip.md#the-channel_update-message&#34;&gt;https://github.com/lightningnetwork/lightning-rfc/blob/master/07-routing-gossip.md#the-channel_update-message&lt;/a&gt;&lt;br/&gt;&amp;gt; [1] &lt;a href=&#34;https://basefee.ln.rene-pickhardt.de/&#34;&gt;https://basefee.ln.rene-pickhardt.de/&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T13:03:26Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfmkkunh7q5zzl47appk5gpcdhhqcddmlc742fsc2n5xknxjclnxqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5t79n0s</id>
    
      <title type="html">📅 Original date posted:2021-07-01 📝 Original message: ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfmkkunh7q5zzl47appk5gpcdhhqcddmlc742fsc2n5xknxjclnxqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5t79n0s" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs9hyul425tz5c0serjktuufhz4h8udafhhrj5qec6k8teq62sj4cgdr75tw&#39;&gt;nevent1q…75tw&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-07-01&lt;br/&gt;📝 Original message:&lt;br/&gt;Thanks!&lt;br/&gt;&lt;br/&gt;On 6/29/21 01:34, Rusty Russell wrote:&lt;br/&gt;&amp;gt; Hi all!&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;          John Carvalo recently pointed out that not every implementation&lt;br/&gt;&amp;gt; accepts zero-conf channels, but they are useful.  Roasbeef also recently&lt;br/&gt;&amp;gt; noted that they&amp;#39;re not spec&amp;#39;d.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; How do you all do it?  Here&amp;#39;s a strawman proposal:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; 1. Assign a new feature bit &amp;#34;I accept zeroconf channels&amp;#34;.&lt;br/&gt;&amp;gt; 2. If both negotiate this, you can send update_add_htlc (etc) *before*&lt;br/&gt;&amp;gt;     funding_locked without the peer getting upset.&lt;br/&gt;&lt;br/&gt;Does it make sense to negotiate this per-direction in the channel init message(s)? There&amp;#39;s a pretty different threat &lt;br/&gt;model between someone spending a dual-funded or push_msat balance vs someone spending a classic channel-funding balance.&lt;br/&gt;&lt;br/&gt;&amp;gt; 3. Nodes are advised *not* to forward HTLCs from an unconfirmed channel&lt;br/&gt;&amp;gt;     unless they have explicit reason to trust that node (they can still&lt;br/&gt;&amp;gt;     send *out* that channel, because that&amp;#39;s not their problem!).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; It&amp;#39;s a pretty simple change, TBH (this zeroconf feature would also&lt;br/&gt;&amp;gt; create a new set of channel_types, altering that PR).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I can draft something this week?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Thanks!&lt;br/&gt;&amp;gt; Rusty.&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T13:03:00Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsf55s9w8trh0kmqzge4jgechhjg2xjtgm6c445xgvvyxq9nzdtz9qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5d4uvez</id>
    
      <title type="html">📅 Original date posted:2021-06-10 📝 Original message: There ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsf55s9w8trh0kmqzge4jgechhjg2xjtgm6c445xgvvyxq9nzdtz9qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5d4uvez" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsprhgyvf63744qwzkawp9axrhdkzleh764xalqs3s8eulv54yxh5spmqc75&#39;&gt;nevent1q…qc75&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-06-10&lt;br/&gt;📝 Original message:&lt;br/&gt;There isn’t a lot to do at the spec level to deprecate them - nodes should start ignoring the addresses bug nodes always need to know the length/parse v2 Onion addresses forever as well as store and forward them. We could amend the spec to say that nodes shouldn’t produce them but it won’t change the receive/process end much.&lt;br/&gt;&lt;br/&gt;&amp;gt; On Jun 1, 2021, at 18:19, darosior via Lightning-dev &amp;lt;lightning-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; ﻿Hi all,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; It&amp;#39;s been almost 9 months since Tor v2 hidden services have been deprecated.&lt;br/&gt;&amp;gt; The Tor project will drop v2 support in about a month in the latest release. It will then be entirely be dropped from all supported releases by October.&lt;br/&gt;&amp;gt; More at &lt;a href=&#34;https://blog.torproject.org/v2-deprecation-timeline&#34;&gt;https://blog.torproject.org/v2-deprecation-timeline&lt;/a&gt; .&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Bitcoin Core defaults to v3 since 0.21.0 (&lt;a href=&#34;https://bitcoincore.org/en/releases/0.21.0/&#34;&gt;https://bitcoincore.org/en/releases/0.21.0/&lt;/a&gt;) and is planning to drop the v2 support for 0.22 (&lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/22050&#34;&gt;https://github.com/bitcoin/bitcoin/pull/22050&lt;/a&gt;), which means that v2 onions will gradually stop being gossiped on the Bitcoin network.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I think we should do the same for the Lightning network, and the timeline is rather tight. Also, the configuration is user-facing (as opposed to Bitcoin Core, which generates ephemeral services) which i expect to make the transition trickier.&lt;br/&gt;&amp;gt; C-lightning is deprecating the configuration of Tor v2 services starting next release, according to our deprecation policy we should be able to entirely drop its support 3 releases after this one, which should be not so far from the October deadline.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Opinions? What is the state of other implementations with regard to Tor v2 support?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Antoine&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;
    </content>
    <updated>2023-06-09T13:02:30Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsryhp9wkdy866aqdm84rwcl2s206ycq5shhx5z3cxaayaht4jyqeszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5sgxjl0</id>
    
      <title type="html">📅 Original date posted:2021-04-26 📝 Original message: &amp;gt; ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsryhp9wkdy866aqdm84rwcl2s206ycq5shhx5z3cxaayaht4jyqeszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5sgxjl0" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqszd2vp0j9avlr8tmgpg4qwy795tm32ux9knly6jhf48f4xe0y9dfqm2qlaj&#39;&gt;nevent1q…qlaj&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-26&lt;br/&gt;📝 Original message:&lt;br/&gt;&amp;gt; I looked into this more closely, and as far as I understand it, the spec&lt;br/&gt;already states that you should not count dust HTLCs:&lt;br/&gt;&lt;br/&gt;Oops! We do the same thing, we will fix that.&lt;br/&gt;&lt;br/&gt;On 4/26/21 11:03, Eugene Siegel wrote:&lt;br/&gt;&amp;gt; I would have to think more about the issue where it&amp;#39;s not possible to lower the feerate though.  That seems &lt;br/&gt;&amp;gt; like a spec issue?&lt;br/&gt;&lt;br/&gt;There is no current in-protocol way to change the dust limit, so the issue doesn&amp;#39;t apply here.
    </content>
    <updated>2023-06-09T13:02:24Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs8jwckz245k2yw9ckxvv0zr3jwf63kvcxty3gywstyskcc2574leqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5khv9f7</id>
    
      <title type="html">📅 Original date posted:2021-04-24 📝 Original message: The ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs8jwckz245k2yw9ckxvv0zr3jwf63kvcxty3gywstyskcc2574leqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5khv9f7" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsqwa7278xtvvnwlh7cswnn40zrgrm7jpajflt5kcgx0zq8agz3ydgngz289&#39;&gt;nevent1q…z289&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-24&lt;br/&gt;📝 Original message:&lt;br/&gt;The update_fee message does not, as far as I recall, change the dust limit for outputs in a channel (though I’ve suggested making such a change).&lt;br/&gt;&lt;br/&gt;&amp;gt; On Apr 23, 2021, at 12:24, Bastien TEINTURIER &amp;lt;bastien at acinq.fr&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; ﻿&lt;br/&gt;&amp;gt; Hi Eugene,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The reason dust HTLCs count for the 483 HTLC limit is because of `update_fee`.&lt;br/&gt;&amp;gt; If you don&amp;#39;t count them and exceed the 483 HTLC limit, you can&amp;#39;t lower the fee anymore&lt;br/&gt;&amp;gt; because some HTLCs that were previously dust won&amp;#39;t be dust anymore and you may end&lt;br/&gt;&amp;gt; up with more than 483 HTLC outputs in your commitment, which opens the door to other&lt;br/&gt;&amp;gt; kinds of attacks.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This is the first issue that comes to mind, but there may be other drawbacks if we dig into&lt;br/&gt;&amp;gt; this enough with an attacker&amp;#39;s mindset.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Bastien&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Le ven. 23 avr. 2021 à 17:58, Eugene Siegel &amp;lt;elzeigel at gmail.com&amp;gt; a écrit :&lt;br/&gt;&amp;gt;&amp;gt; I propose a simple mitigation to increase the capital requirement of channel-jamming attacks. This would prevent an unsophisticated attacker with low capital from jamming a target channel.  It seems to me that this is a *free* mitigation without any downsides (besides code-writing), so I&amp;#39;d like to hear other opinions.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; In a commitment transaction, we trim dust HTLC outputs.  I believe that the reason for the 483 HTLC limit each side has in the spec is to prevent commitment tx&amp;#39;s from growing unreasonably large, and to ensure they are still valid tx&amp;#39;s that can be included in a block.  If we don&amp;#39;t include dust HTLCs in this calculation, since they are not on the commitment tx, we still allow 483 (x2) non-dust HTLCs to be included on the commitment tx.  There could be a configurable limit on the number of outstanding dust HTLCs, but the point is that it doesn&amp;#39;t affect the non-dust throughput of the channel.  This raises the capital requirement of channel-jamming so that each HTLC must be non-dust, rather than spamming 1 sat payments.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Interested in others&amp;#39; thoughts.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Eugene (Crypt-iQ)&lt;br/&gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&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/lightning-dev/attachments/20210424/b09dc276/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210424/b09dc276/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T13:02:23Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsxtz7az57d7e3r4wfusaqmt4utq23jaglu98dhcvm5epn658kqt2gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm52yzcsq</id>
    
      <title type="html">📅 Original date posted:2021-04-27 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsxtz7az57d7e3r4wfusaqmt4utq23jaglu98dhcvm5epn658kqt2gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm52yzcsq" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspe7e0k34xcfw0umqlq6s3f8ep0ltf2hsmkm7xmxpch360qnplgngg2xc4l&#39;&gt;nevent1q…xc4l&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-27&lt;br/&gt;📝 Original message:&lt;br/&gt;On 4/27/21 17:32, Rusty Russell wrote:&lt;br/&gt;&amp;gt; OK, draft is up:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;          &lt;a href=&#34;https://github.com/lightningnetwork/lightning-rfc/pull/867&#34;&gt;https://github.com/lightningnetwork/lightning-rfc/pull/867&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I have to actually implement it now (though the real win comes from&lt;br/&gt;&amp;gt; making it compulsory, but that&amp;#39;s a fair way away).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Notably, I added the requirement that update_fee messages be on their&lt;br/&gt;&amp;gt; own.  This means there&amp;#39;s no debate on the state of the channel when&lt;br/&gt;&amp;gt; this is being applied.&lt;br/&gt;&lt;br/&gt;I do have to admit *that* part I like :).&lt;br/&gt;&lt;br/&gt;If we don&amp;#39;t do turns for splicing, I wonder if we can take the rules around splicing pausing other HTLC updates, make &lt;br/&gt;them generic for future use, and then also use them for update_fee in a simpler-to-make-compulsory change :).&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:02:20Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsyetvx9ecfq4k03qxe5nh3r22at5smwtte0ggu3nl5htjy2k53jyqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5etsnht</id>
    
      <title type="html">📅 Original date posted:2021-04-27 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsyetvx9ecfq4k03qxe5nh3r22at5smwtte0ggu3nl5htjy2k53jyqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5etsnht" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsxtz7az57d7e3r4wfusaqmt4utq23jaglu98dhcvm5epn658kqt2g55xge3&#39;&gt;nevent1q…xge3&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-27&lt;br/&gt;📝 Original message:&lt;br/&gt;On 4/27/21 01:04, Rusty Russell wrote:&lt;br/&gt;&amp;gt; Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; On Apr 24, 2021, at 01:56, Rusty Russell &amp;lt;rusty at rustcorp.com.au&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; ﻿Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt; I promise it’s much less work than it sounds like, and avoids having to debug these things based on logs, which is a huge pain :). Definitely less work than a new state machine:).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; But the entire point of this proposal is that it&amp;#39;s a subset of the&lt;br/&gt;&amp;gt; existing state machine?&lt;br/&gt;&lt;br/&gt;Compared to today, its a good chunk of additional state machine logic to enforce when a message can or can not be sent, &lt;br/&gt;and additional logic for when we can (or can not) flush any pending changes buffer(s).&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; The only &amp;#34;twist&amp;#34; is that if it&amp;#39;s your turn and you receive an update,&lt;br/&gt;&amp;gt; you can either reply with a &amp;#34;yield&amp;#34; message, or ignore it.&lt;br/&gt;&lt;br/&gt;How do you handle the &amp;#34;no changes to make&amp;#34; case - do you send yields back and forth ever Nms all day long or is there &lt;br/&gt;some protocol by which you resolve it when both parties try to claim turn at once?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; Isn’t that pretty similar? Discard one splice proposal deterministically (ok that’s new) and the loser has to store their proposal in a holding cell for later (which they have to do in turn-based anyway). Logic to check if there’s unsettled things in RAA handling is pretty similar to turn-based, and logic to reject other messages is the same as shutdown handling today.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Nope, with the simplified protocol you can `update_splice` at any time&lt;br/&gt;&amp;gt; instead of your normal update, since both sides are already in sync.&lt;br/&gt;&lt;br/&gt;Hmm, I&amp;#39;m somewhat failing to understand why its that different - you can only update_splice if its your turn, which is &lt;br/&gt;about exactly the same amount of additional logic to check turn conditions as just flag &amp;#34;want to do splice&amp;#34;. Either way &lt;br/&gt;you have the same pending splice buffer.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; - MUST use the higher of the two `funding_feerate_perkw` as the feerate for&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;   the splice.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; If we like turn based, why not just deterministic throw out one slice? :)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Because while I am going to implement turn-based, I&amp;#39;m not sure if anyone&lt;br/&gt;&amp;gt; else is.  I guess we&amp;#39;ll see?&lt;br/&gt;&lt;br/&gt;My point was more that its similar in logic - if you throw out the splice deterministically and just keep it in some &lt;br/&gt;&amp;#34;pending slice&amp;#34; buffer on the sending side, you&amp;#39;ve just done basically what you&amp;#39;d do to implement turns, while keeping &lt;br/&gt;the non-turn slice protocol a bit easier :).&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T13:02:20Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs9zuzcpdrgzpcu78hs9x4g0s5u58aex280zctjxt0ft96wunv8jmszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5f3m7dd</id>
    
      <title type="html">📅 Original date posted:2021-04-24 📝 Original message: &amp;gt; ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs9zuzcpdrgzpcu78hs9x4g0s5u58aex280zctjxt0ft96wunv8jmszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5f3m7dd" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2rnm5yznqs03w4y6jncx5jlxj8xyv6ca8smh09scg02x6c892m5cate2qc&#39;&gt;nevent1q…e2qc&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-24&lt;br/&gt;📝 Original message:&lt;br/&gt;&amp;gt; On Apr 24, 2021, at 01:56, Rusty Russell &amp;lt;rusty at rustcorp.com.au&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; ﻿Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt; Somehow I missed this thread, but I did note in a previous meeting - these issues are great fodder for fuzzing. We’ve had a fuzzer which aggressively tests for precisely these types of message-non-delivery-and-resending production desync bugs for several years. When it initially landed it forced several rewrites of parts of the state machine, but quickly exhausted the bug fruit (though catches other classes of bugs occasionally as well). The state machine here is really not that big - while I agree simplifying it where possible is nice, ripping things out to replace them with fresh code (which would need similar testing) is probably not the most obvious decrease in complexity.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; It&amp;#39;s historically had more bugs than anything else in the protocol.  We&lt;br/&gt;&amp;gt; literally found another one in feerate negotiation since the last&lt;br/&gt;&amp;gt; c-lightning release :(&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I&amp;#39;d rather not have bugs than try to catch them all.&lt;br/&gt;&lt;br/&gt;I promise it’s much less work than it sounds like, and avoids having to debug these things based on logs, which is a huge pain :). Definitely less work than a new state machine:).&lt;br/&gt;&lt;br/&gt;&amp;gt; You could propose a splice (or update to anchors, or whatever) any time&lt;br/&gt;&amp;gt; when it&amp;#39;s your turn, as long as you haven&amp;#39;t proposed any other updates.&lt;br/&gt;&amp;gt; That&amp;#39;s simple!&lt;br/&gt;&lt;br/&gt;I presume you’d need to take it a few steps further - if the last message received required a response CS/RAA, you must still wait until things have settled down. I guess it also depends on the exact semantics of a “turn based” message protocol - if you received some updates and a signature, are you allowed to add more updates after you send your CS/RAA (then you have a good chunk of today’s complexity), or do you have to wait until they send you back their last RAA (in which case presumably they aren’t allowed to include anything else as then they’d be able to monopolize update windows). In the first case you still have the same issues of today, in the second less so, but you’re doing a similar “ok, just pause updates and wait for things to settle “, I think.&lt;br/&gt;&lt;br/&gt;&amp;gt; Instead, *both* sides have to send a splice message to synchronize, and&lt;br/&gt;&amp;gt; they can only do so once all in-flight changes have cleared. You have&lt;br/&gt;&amp;gt; to resolve simultaneous splice attempts (we use &amp;#34;highest feerate&amp;#34;&lt;br/&gt;&amp;gt; tiebreak by node_id), and keep track of this stage while you clear&lt;br/&gt;&amp;gt; in-flight changes.&lt;br/&gt;&lt;br/&gt;Isn’t that pretty similar? Discard one splice proposal deterministically (ok that’s new) and the loser has to store their proposal in a holding cell for later (which they have to do in turn-based anyway). Logic to check if there’s unsettled things in RAA handling is pretty similar to turn-based, and logic to reject other messages is the same as shutdown handling today.&lt;br/&gt;&lt;br/&gt;&amp;gt; Here&amp;#39;s the subset of requirements from the draft which relate to this:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The sender:&lt;br/&gt;&amp;gt; - MUST NOT send another splice message while a splice is being negotiated.&lt;br/&gt;&amp;gt; - MUST NOT send a splice message after sending uncommitted changes.&lt;br/&gt;&amp;gt; - MUST NOT send other channel updates until splice negotiation has completed.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The receiver:&lt;br/&gt;&amp;gt; - MUST respond with a `splice` message of its own if it has not already.&lt;br/&gt;&amp;gt; - MUST NOT reply with `splice` until all commitment updates are resolved by both peers.&lt;br/&gt;&lt;br/&gt;Probably use “committed” not “resolved”. “Resolved” sounds like “no pending HTLCs left”.&lt;br/&gt;&lt;br/&gt;&amp;gt; - MUST use the higher of the two `funding_feerate_perkw` as the feerate for&lt;br/&gt;&amp;gt;  the splice.&lt;br/&gt;&lt;br/&gt;If we like turn based, why not just deterministic throw out one slice? :)&lt;br/&gt;&lt;br/&gt;&amp;gt; - MUST NOT send other channel updates until splice negotiation has completed.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Similar requirements exist for other major channel changes.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; Rusty.&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T13:02:19Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsy67gplzp4hnf9zlhnc6l2cggyvs2729zj0242qsf7puwhvh233vgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5deh4uw</id>
    
      <title type="html">📅 Original date posted:2021-04-24 📝 Original message: &amp;gt; ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsy67gplzp4hnf9zlhnc6l2cggyvs2729zj0242qsf7puwhvh233vgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5deh4uw" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqszcrsq6qffmw8y3r3efzsjdhe6lpf8u794yz40g6w73ed9x3frcvgc3tw7m&#39;&gt;nevent1q…tw7m&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-24&lt;br/&gt;📝 Original message:&lt;br/&gt;&amp;gt; On Apr 20, 2021, at 17:19, Rusty Russell &amp;lt;rusty at rustcorp.com.au&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; After consideration, I prefer alternation.  It fits better with the&lt;br/&gt;&amp;gt; existing implementations, and it is more optimal than reflection for&lt;br/&gt;&amp;gt; optimized implementations.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In particular, you have a rule that says you can send updates and&lt;br/&gt;&amp;gt; commitment_signed when it&amp;#39;s not your turn, and the leader either&lt;br/&gt;&amp;gt; responds with a &amp;#34;giving way&amp;#34; message, or ignores your changes and sends&lt;br/&gt;&amp;gt; its own.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; A simple implementation *never* sends a commitment_signed until it&lt;br/&gt;&amp;gt; receives &amp;#34;giving way&amp;#34; so it doesn&amp;#39;t have to deal with orphaned&lt;br/&gt;&amp;gt; commitments.  A more complex implementation sends opportunistically and&lt;br/&gt;&amp;gt; then has to remember that it&amp;#39;s committed if it loses the race.  Such an&lt;br/&gt;&amp;gt; implementation is only slower than the current system if that race&lt;br/&gt;&amp;gt; happens.&lt;br/&gt;&lt;br/&gt;Somehow I missed this thread, but I did note in a previous meeting - these issues are great fodder for fuzzing. We’ve had a fuzzer which aggressively tests for precisely these types of message-non-delivery-and-resending production desync bugs for several years. When it initially landed it forced several rewrites of parts of the state machine, but quickly exhausted the bug fruit (though catches other classes of bugs occasionally as well). The state machine here is really not that big - while I agree simplifying it where possible is nice, ripping things out to replace them with fresh code (which would need similar testing) is probably not the most obvious decrease in complexity.&lt;br/&gt;&lt;br/&gt;&amp;gt; I&amp;#39;ve been revisiting this because it makes things like splicing easier:&lt;br/&gt;&amp;gt; the current draft requires stopping changes while splicing is being&lt;br/&gt;&amp;gt; negotiated, which is not entirely trivial.  With the simplified method,&lt;br/&gt;&amp;gt; you don&amp;#39;t have to wait at all.&lt;br/&gt;&lt;br/&gt;Hmm, what’s nontrivial about this? How much more complicated is this than having an alternation to updates and pausing HTLC updates for a cycle or two while splicing is negotiated (I assume it would still need a similar requirement, as otherwise you have the same complexity)? We already have a similar update-stopping process for shutdown, though of course it doesn’t include restarting.
    </content>
    <updated>2023-06-09T13:02:18Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsy07d9q97vjuutskny6w38ve4afrcrvpnatss5724k5208ratms3szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5mzcadt</id>
    
      <title type="html">📅 Original date posted:2020-04-23 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsy07d9q97vjuutskny6w38ve4afrcrvpnatss5724k5208ratms3szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5mzcadt" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsvhfhj2zjr9k8n3tr3sy0gplxnugjmrw07k2a8cw7syqadrvk59hsyq7vdn&#39;&gt;nevent1q…7vdn&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-04-23&lt;br/&gt;📝 Original message:&lt;br/&gt;On 4/23/20 8:46 AM, ZmnSCPxj wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   Miners, being economically rational, accept this proposal and include this in a block.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; The proposal by Matt is then:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   The hashlock branch should instead be:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   B and C must agree, and show the preimage of some hash H (hashlock branch).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   Then B and C agree that B provides a signature spending the hashlock branch, to a transaction with the outputs:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   Normal payment to C.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   Hook output to B, which B can use to CPFP this transaction.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   Hook output to C, which C can use to CPFP this transaction.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   B can still (somehow) not maintain a mempool, by:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   B broadcasts its timelock transaction.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   B tries to CPFP the above hashlock transaction.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -   If CPFP succeeds, it means the above hashlock transaction exists and B queries the peer for this transaction, extracting the preimage and claiming the A-&amp;gt;B HTLC.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Note that no query is required. The problem has been solved and the preimage-containing transaction should now confirm just fine.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Ah, right, so it gets confirmed and the `blocksonly` B sees it in a block.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Even if C hooks a tree of low-fee transactions on its hook output or normal payment, miners will still be willing to confirm this and the B hook CPFP transaction without, right?&lt;br/&gt;&lt;br/&gt;Correct, once it makes it into the mempool we can CPFP it and all the regular sub-package CPFP calculation will pick it&lt;br/&gt;and its descendants up. Of course this relies on it not spending any other unconfirmed inputs.
    </content>
    <updated>2023-06-09T12:59:51Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsxshsnukvdeyvm5vg4f5x225ngadkrx995f2khvcd8wu7wqxd4whqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5tmuecv</id>
    
      <title type="html">📅 Original date posted:2020-04-23 📝 Original message: Great ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsxshsnukvdeyvm5vg4f5x225ngadkrx995f2khvcd8wu7wqxd4whqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5tmuecv" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsr2dp47znrke27sh2mqyljdfudv5y352acf4rz9rc2znkl3cuhq6q7aukys&#39;&gt;nevent1q…ukys&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-04-23&lt;br/&gt;📝 Original message:&lt;br/&gt;Great summary, a few notes inline.&lt;br/&gt;&lt;br/&gt;&amp;gt; On Apr 22, 2020, at 21:50, ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; ﻿Good morning lists et al,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Let me try to summarize things a little:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; * Suppose we have a forwarding payment A-&amp;gt;B-&amp;gt;C.&lt;br/&gt;&amp;gt; * Suppose B does not want to maintain a mempool and is running in `blocksonly` mode to reduce operational costs.&lt;br/&gt;&lt;br/&gt;Quick point of clarification, due to the mempool lacking a consensus system (that’s the whole point, after all :p), there are several reasons to that just running a full node/having a mempool isn’t sufficient.&lt;br/&gt;&lt;br/&gt;&amp;gt; * C triggers B somehow dropping the B&amp;lt;-&amp;gt;C channel, such as by sending an `error` message, which will usually cause the other side to drop the channel onchain using its commitment transaction.&lt;br/&gt;&amp;gt; * The dropped B&amp;lt;-&amp;gt;C channel has an HTLC (that was set up during the A-&amp;gt;B-&amp;gt;C forwarding).&lt;br/&gt;&amp;gt; * The HTLC, being used in a Poon-Dryja channel, actually has the following contract text:&lt;br/&gt;&amp;gt; * The fund may be claimed by either of these clauses:&lt;br/&gt;&amp;gt; * C can claim, if C shows the preimage of some hash H (hashlock branch).&lt;br/&gt;&amp;gt; * B and C must agree, and claim after time L (timelock branch).&lt;br/&gt;&amp;gt; * B holds a signature from C that can claim the timelock branch of the HTLC, for a transaction that spends to an output with an `OP_CHECKSEQUENCEVERIFY`.&lt;br/&gt;&amp;gt; * The signature is `SIGHASH_ALL`, so the transaction has a fixed feerate.&lt;br/&gt;&amp;gt; * C can &amp;#34;pin&amp;#34; the HTLC output by spending using the hashlock branch, and creating a large fee, low fee-rate (tree of) transactions.&lt;br/&gt;&lt;br/&gt;Another: this is the simplest example. There are also games around the package size limits if I recall correctly.&lt;br/&gt;&lt;br/&gt;&amp;gt; * As it is a low fee-rate, miners have no incentive to put this in a block, especially if unrelated higher-fee-rate transactions exist that would earn them more money.&lt;br/&gt;&amp;gt; * Even in a full RBF universe, because of the anti-DoS mempool rules, B cannot evict this pinned transaction by just bidding up the feerate.&lt;br/&gt;&amp;gt; * A replacing transaction cannot evict alternatives unless its absolute fee is greater than the absolute fee of the alternative.&lt;br/&gt;&amp;gt; * The pinning transaction has a high fee, but is blockspace-wasteful, so it is:&lt;br/&gt;&amp;gt;   * Undesirable to mine (low feerate).&lt;br/&gt;&amp;gt;   * Difficult to evict (high fee).&lt;br/&gt;&amp;gt; * Thus, B is unable to get its timelock-branch transaction in the mempools of miners.&lt;br/&gt;&amp;gt; * C waits until the A-&amp;gt;B HTLC times out, then:&lt;br/&gt;&amp;gt; * C directly contacts miners with an out-of-band proposal to replace its transaction with an alternative that is much smaller and has a low fee, but much better feerate.&lt;br/&gt;&lt;br/&gt;Or they can just wait. For example in today’s mempool it would not be strange for a transaction at 1 sat/vbyte to wait a day but eventually confirm.&lt;br/&gt;&lt;br/&gt;&amp;gt; * Miners, being economically rational, accept this proposal and include this in a block.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The proposal by Matt is then:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; * The hashlock branch should instead be:&lt;br/&gt;&amp;gt; * B and C must agree, and show the preimage of some hash H (hashlock branch).&lt;br/&gt;&amp;gt; * Then B and C agree that B provides a signature spending the hashlock branch, to a transaction with the outputs:&lt;br/&gt;&amp;gt; * Normal payment to C.&lt;br/&gt;&amp;gt; * Hook output to B, which B can use to CPFP this transaction.&lt;br/&gt;&amp;gt; * Hook output to C, which C can use to CPFP this transaction.&lt;br/&gt;&amp;gt; * B can still (somehow) not maintain a mempool, by:&lt;br/&gt;&amp;gt; * B broadcasts its timelock transaction.&lt;br/&gt;&amp;gt; * B tries to CPFP the above hashlock transaction.&lt;br/&gt;&amp;gt; * If CPFP succeeds, it means the above hashlock transaction exists and B queries the peer for this transaction, extracting the preimage and claiming the A-&amp;gt;B HTLC.&lt;br/&gt;&lt;br/&gt;Note that no query is required. The problem has been solved and the preimage-containing transaction should now confirm just fine.&lt;br/&gt;&lt;br/&gt;&amp;gt; Is that a fair summary?&lt;br/&gt;&lt;br/&gt;Yep!&lt;br/&gt;&lt;br/&gt;&amp;gt; --&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Naively, and remembering I am completely ignorant of the exact details of the mempool rules, it seems to me quite strange that we are allowing an undesirable transaction (tree) into the mempool:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; * Undesirable to mine (low fee-rate).&lt;br/&gt;&amp;gt; * Difficult to evict (high fee).&lt;br/&gt;&lt;br/&gt;As noted, such transactions today are profit in 10 hours. Just because they’re big doesn’t mean they don’t pay.&lt;br/&gt;&lt;br/&gt;&amp;gt; Miners are not interested in low fee-rate transactions, as long as higher fee-rate transactions exist.&lt;br/&gt;&amp;gt; And being difficult to evict means miners cannot get alternatives that are more lucrative for them.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The reason (as I understand it) eviction is purposely made difficult here is to prevent certain DoS attacks on Bitcoin nodes, specifically:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; 1. Attacker sends a low fee-rate tx as a &amp;#34;root&amp;#34; transaction.&lt;br/&gt;&amp;gt; 2  Attacker sends thousands of low fee-rate tx that build off the above root.&lt;br/&gt;&lt;br/&gt;I believe the limit is 25, though the point stands, mostly from a total-size perspective.&lt;br/&gt;&lt;br/&gt;&amp;gt; 3. Attacker sends a slightly higher fee-rate alternative to the root, evicting the above tree of txes.&lt;br/&gt;&amp;gt; 4. Attacker sends thousands of low fee-rate tx that build off the latest root.&lt;br/&gt;&amp;gt; 5. GOTO 3.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; However, it seems to me, naively, that &amp;#34;an ounce of prevention is worth a pound of cure&amp;#34;.&lt;br/&gt;&lt;br/&gt;Sadly, it’s very very easy for this to be a huge amount of CPU &#43; bandwidth.&lt;br/&gt;&lt;br/&gt;&amp;gt; As I understand it, the mempool is organized already into &amp;#34;packages&amp;#34; of transactions, and adding a transaction into the mempool involves extending and merging packages.&lt;br/&gt;&amp;gt; Perhaps the size of a package with low fee-rate (relative to the other packages in the mempool) can be limited, so that mempools drop incoming txes that extend a low-fee-rate tree of transactions.&lt;br/&gt;&amp;gt; This means an attacker cannot send thousands of low fee-rate tx that build off some low fee-rate root tx in the first place, so it can still be evicted easily later without much impact.&lt;br/&gt;&lt;br/&gt;There have been several proposals before around considering a transactions position in the mempool for various similar criteria. The extreme version being simply heavily rate-limiting transaction relay at low feerates and allowing much more liberal replacement of such packages. It isn’t quite perfect for this issue, though, as it may be easy for the attacker to just fill that rate-limit bucket.&lt;br/&gt;&lt;br/&gt;&amp;gt; Naively, it seems to me to prevent the DoS attack as well, as at step 2 it would be prevented from sending thousands of low fee-rate tx building off the root.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; As well, as I understand it, this merely tightens the mempool acceptance rules, preventing low fee-rate packages from growing (analogous to a consensus-layer softfork).&lt;br/&gt;&amp;gt; The &amp;#34;cannot evict high absolute fee&amp;#34; rule can be retained, as the low-fee-rate package is prevented from reaching a large size.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Would that be workable as a general solution to solve (what I think is) the root cause of this problem?&lt;br/&gt;&lt;br/&gt;It’s not clear to me that tightening the acceptance rules wouldn’t break other existing uses. Historically the 25 package size limit has proven to be an issue for users doing (somewhat naïve) centralized wallet withdraws. Sadly many users want that “payment pending” notification instantly, even if we know it to be somewhat lacking in security. Wallets which have over-compacted their UTXOs are thus stuck making long chains.&lt;br/&gt;&lt;br/&gt;To revive an old discussion, on the original thread proposing the CPFP Carve-Out, I said this:&lt;br/&gt;&lt;br/&gt;&amp;gt; As an alternative proposal, at various points there have been discussions around solving the &amp;#34;RBF-pinning&amp;#34; problem by allowing transactors to mark their transactions as &amp;#34;likely-to-be-RBF&amp;#39;ed&amp;#34;, which could enable a relay policy where children of such transactions would be rejected unless the resulting package would be &amp;#34;near the top of the mempool&amp;#34;. This would theoretically imply such attacks are not possible to pull off consistently, as any &amp;#34;transaction-delaying&amp;#34; channel participant will have to place the package containing A at an effective feerate which makes confirmation to occur soon with some likelihood. It is, however, possible to pull off this attack with low probability in case of feerate spikes right after broadcast.&lt;br/&gt;&lt;br/&gt;To which Rusty responded (and I may be paraphrasing here): “Fuck Yea”. I’m still not much of a fan of this idea as it introduces too many constants (what is “the top of the mempool”, anyway?), and it’s unclear to me what you do as the mempool prevailing feerate changes, but it seems more along the lines or what you’re looking for here.
    </content>
    <updated>2023-06-09T12:59:50Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsv4he9kdzx5dc6dlwqvnh3ngyhpleun5mw07uyjsjmnuvx5ywjssczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zc6fx0</id>
    
      <title type="html">📅 Original date posted:2020-04-22 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsv4he9kdzx5dc6dlwqvnh3ngyhpleun5mw07uyjsjmnuvx5ywjssczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zc6fx0" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdzeyf5rdsvgghzn93ne52vln8gvwaz7ahkcwm05tyc3s4l35kt7szrkv8d&#39;&gt;nevent1q…kv8d&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-04-22&lt;br/&gt;📝 Original message:&lt;br/&gt;On 4/22/20 7:27 PM, Olaoluwa Osuntokun wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Indeed, that is what I’m suggesting&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Gotcha, if this is indeed what you&amp;#39;re suggesting (all HTLC spends are now&lt;br/&gt;&amp;gt; 2-of-2 multi-sig), then I think the modifications to the state machine I&lt;br/&gt;&amp;gt; sketched out in an earlier email are required. An exact construction which&lt;br/&gt;&amp;gt; achieves the requirements of &amp;#34;you can&amp;#39;t broadcast until you have a secret&lt;br/&gt;&amp;gt; which I can obtain from the htlc sig for your commitment transaction, and my&lt;br/&gt;&amp;gt; secret is revealed with another swap&amp;#34;, appears to be an open problem, atm.&lt;br/&gt;&lt;br/&gt;Hmm, indeed, it does seem to require a change to the state machine, but I don&amp;#39;t think a very interesting one. Because B&lt;br/&gt;providing A an HTLC signature spending a commitment transaction B will broadcast does not allow A to actually broadcast&lt;br/&gt;said HTLC transaction, B can be rather liberal with it. Indeed, however, it would require that B provide such a&lt;br/&gt;signature before A can send the commitment_signed that exists today.&lt;br/&gt;&lt;br/&gt;&amp;gt; Even if they&amp;#39;re restricted in this fashion (must be a 1-in-1 out,&lt;br/&gt;&amp;gt; sighashall, fees are pre agreed upon), they can still spend that with a CPFP&lt;br/&gt;&amp;gt; (while still unconfirmed in the mempool) and create another heavy tree,&lt;br/&gt;&amp;gt; which puts us right back at the same bidding war scenario?&lt;br/&gt;&lt;br/&gt;Right, you&amp;#39;d have to use anchor outputs just like we do on the commitment transaction :).&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; There are a bunch of ways of doing pinning - just opting into RBF isn’t&lt;br/&gt;&amp;gt;&amp;gt; even close to enough.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Mhmm, there&amp;#39;re other ways of doing pinning. But with anchors as is defined&lt;br/&gt;&amp;gt; in that spec PR, they&amp;#39;re forced to spend with an RBF-replaceable&lt;br/&gt;&amp;gt; transaction, which means the party wishing to time things out can enter into&lt;br/&gt;&amp;gt; a bidding war. If the party trying to impeded things participates in this&lt;br/&gt;&amp;gt; progressive absolute fee increase, it&amp;#39;s likely that the war terminates&lt;br/&gt;&amp;gt; with _one_ of them getting into the block, which seems to resolve&lt;br/&gt;&amp;gt; everything?&lt;br/&gt;&lt;br/&gt;No? Even if we assume there are no tricks that you can play with, eg, the package limits duri eviction, which I&amp;#39;d be&lt;br/&gt;surprised about, the &amp;#34;absolute fee/feerate&amp;#34; thing still screws you. The attacker here gets to hold something at the&lt;br/&gt;bottom of the mempool and the poor honest party is going to have to pay an absurd (likely more than the HTLC value) fee&lt;br/&gt;just to get it unstuck, whereas the attacker never would have had to pay said fee.&lt;br/&gt;&lt;br/&gt;&amp;gt; -- Laolung&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On Wed, Apr 22, 2020 at 4:20 PM Matt Corallo &amp;lt;lf-lists at mattcorallo.com &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;     On Apr 22, 2020, at 16:13, Olaoluwa Osuntokun &amp;lt;laolu32 at gmail.com &amp;lt;mailto:laolu32 at gmail.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;     &amp;gt; Hmm, maybe the proposal wasn&amp;#39;t clear. The idea isn&amp;#39;t to add signatures to&lt;br/&gt;&amp;gt;&amp;gt;     &amp;gt; braodcasted transactions, but instead to CPFP a maybe-broadcasted&lt;br/&gt;&amp;gt;&amp;gt;     &amp;gt; transaction by sending a transaction which spends it and seeing if it is&lt;br/&gt;&amp;gt;&amp;gt;     &amp;gt; accepted&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;     Sorry I still don&amp;#39;t follow. By &amp;#34;we clearly need to go the other direction -&lt;br/&gt;&amp;gt;&amp;gt;     all HTLC output spends need to be pre-signed.&amp;#34;, you don&amp;#39;t mean that the HTLC&lt;br/&gt;&amp;gt;&amp;gt;     spends of the non-broadcaster also need to be an off-chain 2-of-2 multi-sig&lt;br/&gt;&amp;gt;&amp;gt;     covenant? If the other party isn&amp;#39;t restricted w.r.t _how_ they can spend the&lt;br/&gt;&amp;gt;&amp;gt;     output (non-rbf&amp;#39;d, ect), then I don&amp;#39;t see how that addresses anything.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Indeed, that is what I’m suggesting. Anchor output and all. One thing we could think about is only turning it on&lt;br/&gt;&amp;gt;     over a certain threshold, and having a separate “only-kinda-enforceable-on-chain-HTLC-in-flight” limit.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;     Also see my mail elsewhere in the thread that the other party is actually&lt;br/&gt;&amp;gt;&amp;gt;     forced to spend their HTLC output using an RBF-replaceable transaction. With&lt;br/&gt;&amp;gt;&amp;gt;     that, I think we&amp;#39;re all good here? In the end both sides have the ability to&lt;br/&gt;&amp;gt;&amp;gt;     raise the fee rate of their spending transactions with the highest winning.&lt;br/&gt;&amp;gt;&amp;gt;     As long as one of them confirms within the CLTV-delta, then everyone is&lt;br/&gt;&amp;gt;&amp;gt;     made whole.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     It does seem like my cached recollection of RBF opt-in was incorrect but please re-read the intro email. There are a&lt;br/&gt;&amp;gt;     bunch of ways of doing pinning - just opting into RBF isn’t even close to enough.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;     [1]: &lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/18191&#34;&gt;https://github.com/bitcoin/bitcoin/pull/18191&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;     On Wed, Apr 22, 2020 at 9:50 AM Matt Corallo &amp;lt;lf-lists at mattcorallo.com &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         A few replies inline.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         On 4/22/20 12:13 AM, Olaoluwa Osuntokun wrote:&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; Hi Matt,&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; While this is somewhat unintuitive, there are any number of good anti-DoS&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; reasons for this, eg:&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; None of these really strikes me as &amp;#34;good&amp;#34; reasons for this limitation, which&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; is at the root of this issue, and will also plague any more complex Bitcoin&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; contracts which rely on nested trees of transaction to confirm (CTV, Duplex,&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; channel factories, etc). Regarding the various (seemingly arbitrary) package&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; limits it&amp;#39;s likely the case that any issues w.r.t computational complexity&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; that may arise when trying to calculate evictions can be ameliorated with&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; better choice of internal data structures.&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; In the end, the simplest heuristic (accept the higher fee rate package) side&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; steps all these issues and is also the most economically rationale from a&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; miner&amp;#39;s perspective. Why would one prefer a higher absolute fee package&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; (which could be very large) over another package with a higher total _fee&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; rate_?&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         This seems like a somewhat unnecessary drive-by insult of a project you don&amp;#39;t contribute to, but feel free to&lt;br/&gt;&amp;gt;&amp;gt;         start with&lt;br/&gt;&amp;gt;&amp;gt;         a concrete suggestion here :).&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; You&amp;#39;ll note that B would be just fine if they had a way to safely monitor the&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; global mempool, and while this seems like a prudent mitigation for&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; lightning implementations to deploy today, it is itself a quagmire of&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; complexity&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; Is it really all that complex? Assuming we&amp;#39;re talking about just watching&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; for a certain script template (the HTLC scipt) in the mempool to be able to&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; pull a pre-image as soon as possible. Early versions of lnd used the mempool&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; for commitment broadcast detection (which turned out to be a bad idea so we&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; removed it), but at a glance I don&amp;#39;t see why watching the mempool is so&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; complex.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         Because watching your own mempool is not guaranteed to work, and during upgrade cycles that include changes to the&lt;br/&gt;&amp;gt;&amp;gt;         policy rules an attacker could exploit your upgraded/non-upgraded status to perform the same attack.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; Further, this is a really obnoxious assumption to hoist onto lightning&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; nodes - having an active full node with an in-sync mempool is a lot more&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; CPU, bandwidth, and complexity than most lightning users were expecting to&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; face.&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; This would only be a requirement for Lightning nodes that seek to be a part&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; of the public routing network with a desire to _forward_ HTLCs. This isn&amp;#39;t&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; doesn&amp;#39;t affect laptops or mobile phones which likely mostly have private&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; channels and don&amp;#39;t participate in HTLC forwarding. I think it&amp;#39;s pretty&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; reasonable to expect a &amp;#34;proper&amp;#34; routing node on the network to be backed by&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; a full-node. The bandwidth concern is valid, but we&amp;#39;d need concrete numbers&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; that compare the bandwidth over head of mempool awareness (assuming the&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; latest and greatest mempool syncing) compared with the overhead of the&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; channel update gossip and gossip queries over head which LN nodes face today&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; as is to see how much worse off they really would be.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         If mempool-watching were practical, maybe, though there are a number of folks who are talking about designing&lt;br/&gt;&amp;gt;&amp;gt;         partially-offline local lightning hubs which would be rendered impractical.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; As detailed a bit below, if nodes watch the mempool, then this class of&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; attack assuming the anchor output format as described in the open&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; lightning-rfc PR is mitigated. At a glance, watching the mempool seems like&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; a far less involved process compared to modifying the state machine as its&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; defined today. By watching the mempool and implementing the changes in&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; #lightning-rfc/688, then this issue can be mitigated _today_. lnd 0.10&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; doesn&amp;#39;t yet watch the mempool (but does include anchors [1]), but unless I&amp;#39;m&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; missing something it should be pretty straight forward to add which mor or less&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; resolves this issue all together.&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; not fixing this issue seems to render the whole exercise somewhat useless&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; Depends on if one considers watching the mempool a fix. But even with that a&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; base version of anchors still resolves a number of issues including:&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; eliminating the commitment fee guessing game, allowing users to pay less on&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; force close, being able to coalesce 2nd level HTLC transactions with the&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; same CLTV expiry, and actually being able to reliably enforce multi-hop HTLC&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; resolution.&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; Instead of making the HTLC output spending more free-form with&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; SIGHASH_ANYONECAN_PAY|SIGHASH_SINGLE, we clearly need to go the other&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&amp;gt; direction - all HTLC output spends need to be pre-signed.&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; I&amp;#39;m not sure this is actually immediately workable (need to think about it&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; more). To see why, remember that the commit_sig message includes HTLC&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; signatures for the _remote_ party&amp;#39;s commitment transaction, so they can&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; spend the HTLCs if they broadcast their version of the commitment (force&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; close). If we don&amp;#39;t somehow also _gain_ signatures (our new HTLC signatures)&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; allowing us to spend HTLCs on _their_ version of the commitment, then if&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; they broadcast that commitment (without revoking), then we&amp;#39;re unable to&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; redeem any of those HTLCs at all, possibly losing money.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         Hmm, maybe the proposal wasn&amp;#39;t clear. The idea isn&amp;#39;t to add signatures to braodcasted transactions, but&lt;br/&gt;&amp;gt;&amp;gt;         instead to CPFP&lt;br/&gt;&amp;gt;&amp;gt;         a maybe-broadcasted transaction by sending a transaction which spends it and seeing if it is accepted. You&lt;br/&gt;&amp;gt;&amp;gt;         only need to&lt;br/&gt;&amp;gt;&amp;gt;         know the transaction&amp;#39;s exact format (ie txid, which we do, since we sent a signature for it long ago) to do&lt;br/&gt;&amp;gt;&amp;gt;         this, you&lt;br/&gt;&amp;gt;&amp;gt;         don&amp;#39;t have to actually *have* the fully-signed transaction (and you don&amp;#39;t).&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; In an attempt to counteract this, we might say ok, the revoke message also&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; now includes HTLC signatures for their new commitment allowing us to spend&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; our HTLCs. This resolves things in a weaker security model, but doesn&amp;#39;t&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; address the issue generally, as after they receive the commit_sig, they can&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; broadcast immediately, again leaving us without a way to redeem our HTLCs.&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; I&amp;#39;d need to think about it more, but it seems that following this path would&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; require an overhaul in the channel state machine to make presenting a new&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; commitment actually take at least _two phases_ (at least a full round trip).&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; The first phase would tender the commitment, but render them unable to&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; broadcast it. The second phase would then &amp;lt;insert something something&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; scriptless scripts here&amp;gt; enter a new sub-protocol which upon conclusion,&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; gives the commitment proposer valid HTLC signatures, and gives the responder&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; what they need to be able to broadcast their commitment and claim their&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; HTCLs in an atomic manner.&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; -- Laolu&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;         &amp;gt; [1]: &lt;a href=&#34;https://github.com/lightningnetwork/lnd/pull/3821&#34;&gt;https://github.com/lightningnetwork/lnd/pull/3821&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:59:48Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs0cea4t0rwf24jx20d6wvxxzqg0easpaphaymusetsflh44cctj2czyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm50pvnc9</id>
    
      <title type="html">📅 Original date posted:2020-01-27 📝 Original message: Note ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs0cea4t0rwf24jx20d6wvxxzqg0easpaphaymusetsflh44cctj2czyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm50pvnc9" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdeucjdpll55h8npkn7drl2d9yucxujr6cazlveuxfrhqx72rj76ctkr7a9&#39;&gt;nevent1q…r7a9&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-01-27&lt;br/&gt;📝 Original message:&lt;br/&gt;Note the distinction - there is almost nothing done today to prevent&lt;br/&gt;spam and route-hijacks (aka someone providing routing for a lower fee&lt;br/&gt;and users happily taking it) in the routing DB today. The issue of&lt;br/&gt;anti-DoS is somewhat different - we do have reasonable protection from&lt;br/&gt;someone OOM&amp;#39;ing every node on the network by opening a billion channels.&lt;br/&gt;Anti-DoS could reasonably be accomplished with simple equivalent proofs,&lt;br/&gt;though of course they would be somewhat more expensive to create/validate.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 1/27/20 3:19 PM, ZmnSCPxj wrote:&lt;br/&gt;&amp;gt; Good morning Subhra,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; So introducing proof of knowledge of fund locked instead of revealing the amount of fund locked by counterparties will introduce added complexity while routing but how effective is this going to be against handling attacks like hijacking of routes and channel exhaustion ?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The added complexity is spam-prevention, as mentioned, and not routing in particular.&lt;br/&gt;&amp;gt; Pathfinding algorithms can just use the lower limit of the rangeproof to filter out channels too small to pass a particular payment through, C-Lightning (and probably other implementations) already does this, using the known channel capacity as the limit (knowledge of the exact channel capacity is a rangeproof whose lower limit equals the upper limit, yes?).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Now, since the proofs involved are likely to be larger than just a simple 64-bit integer that indicates the location of the funding transaction on the blockchain (24-bit blockheight, 24-bit transaction index within block, 16-bit output index), the spam-prevention might end up requiring *more* data than the spam it stops, so ---&lt;br/&gt;&amp;gt; (Though if Matt has some ideas here I would be greatly interested --- we do have to change the encodings of short-channel-ids at some point, if only to support channel factories....)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On Mon, Jan 27, 2020, 20:12 Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Note that there&amp;#39;s no real reason lightning nodes *have* to have&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; confidence in that - if a node routes your payment to the next hop, how&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; they do it doesn&amp;#39;t really matter. Allowing things like non-lightning&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;#34;channels&amp;#34; (eg just a contractual agreement to settle up later between&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; two mutually-trusting parties) would actually be quite compelling.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; The reason lightning nodes *today* require proof-of-funds-locked is&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; largely for DoS resistance, effectively rate-limiting flooding the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; global routing table with garbage, but such rate-limiting could be&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; accomplished (albeit with a ton more complexity) via other means.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Matt&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; On 1/27/20 7:50 AM, Ugam Kamat wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hey Subhra – In order to have faith that the channel announced by the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; nodes is actually locked on the Bitcoin mainchain we need to have the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; outpoint (`txid` and `vout`) of the funding transaction. If we do not&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; verify that the funding transaction has been confirmed, nodes can cheat&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; us that a particular transaction is confirmed when it is not the case.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; As a result we require that nodes announce this information along with&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the public keys and the signatures of the public keys that was used to&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; lock the funding transaction.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;  &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; This information is broadcasted in the `channel_announcement` message in&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the `short_channel_id` field which includes the block number,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction number and vout. Since Bitcoin does not allow confidential&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transactions, we can query the blockchain and find out the channel&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; capacity even when the amounts are never explicitly mentioned.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;  &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;  &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Ugam&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;  &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *From:* Lightning-dev &amp;lt;lightning-dev-bounces at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *On Behalf Of *Subhra Mazumdar&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *Sent:* Monday, January 27, 2020 12:45 PM&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *To:* lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *Subject:* [Lightning-dev] Not revealing the channel capacity during&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; opening of channel in lightning network&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;  &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Dear All,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;          What can be the potential problem if a channel is opened&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; whereby the channel capacity is not revealed publicly but just a range&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; proof of the attribute (capacity &amp;gt;0 and capacity &amp;lt; value) is provided ?&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Will it pose a problem during routing of transaction ? What are the pros&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and cons ?&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I think that revealing channel capacity make the channels susceptible to&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; channel exhaustion attack or a particular node might be targeted for&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; node isolation attack ?&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Yours sincerely,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Subhra Mazumdar.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:58:16Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs22dwq8vl6uxtwupjvyh6ef2xpwyvv9sqm2kfnu3fsa8suznl4utqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5z86x8e</id>
    
      <title type="html">📅 Original date posted:2020-01-21 📝 Original message: ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs22dwq8vl6uxtwupjvyh6ef2xpwyvv9sqm2kfnu3fsa8suznl4utqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5z86x8e" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs020gyr7w04sc69rw4zeqwsuwgjf8dkkywm6pe7eukqz2k237a5zcl2xhy2&#39;&gt;nevent1q…xhy2&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-01-21&lt;br/&gt;📝 Original message:&lt;br/&gt;Indeed. To go further, anything where the file can be proven correct under a zkSNARK (ie you can write a relatively simple program to do so) does not bear such an issue.&lt;br/&gt;&lt;br/&gt;&amp;gt; On Jan 21, 2020, at 02:38, Andrés G. Aragoneses &amp;lt;knocte at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; ﻿&lt;br/&gt;&amp;gt; Hey ZmnSCPxj,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; On Tue, 21 Jan 2020 at 08:47, ZmnSCPxj via Lightning-dev &amp;lt;lightning-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; Good morning Subhra,&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Refer to this protocol instead of DLAS: &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-June/002035.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-June/002035.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; In this protocol, an *encrypted* form of the *entire file* is sent.&lt;br/&gt;&amp;gt;&amp;gt; Consequently, a *single* payment is made, where the payment preimage is the decryption key.&lt;br/&gt;&amp;gt;&amp;gt; Knowing an additional zk proof is necessary to show that the file is indeed encrypted using the decryption key that is the preimage of the given hash (the linked thread has details I believe).&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Relevantly, there is no need to consider blocks of a file when using the linked protocol instead of DLAS.&lt;br/&gt;&amp;gt;&amp;gt; Of course, a Zk-proof of some property of the entire file, that can be understood by an end-user, may not be possible.&lt;br/&gt;&amp;gt;&amp;gt; Likely, you might want to prove of a video file that a thumbnail of the video file is extracted from a frame of the video, and show that thumbnail to the end-user.&lt;br/&gt;&amp;gt;&amp;gt; Looking at the *rest* of the frames of the video (after you have paid for its decryption) may very reveal them to be frames of a video of Rick Astley singing &amp;#34;Never Gonna Give You Up&amp;#34;.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I wanted to ask a simple question with regards to the NeverGonnaGiveYouUp problem.&lt;br/&gt;&amp;gt; Let&amp;#39;s say you use this technology for a specific use case subset of what has been proposed: the payer wants to exchange bitcoin (via LN) in exchange for some data. The data, in this case, was known by the payer at some point in the past, so the payer encrypted it with his own private key, and gave it to someone for backup purposes (after that, he gets a hash of the data, which she keeps, and deletes the data from her end). At some point in the future, when she wants to retrieve the data, the payee can only supply a bunch of bytes whose hash match with the hash that the payer has, therefore the NeverGonnaGiveYouUp problem can&amp;#39;t happen here, am I right?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Thanks&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;  &lt;br/&gt;&amp;gt;&amp;gt; !&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; So is it sufficient to give a zk proof of the entire file and not of the individual blocks which are transferred at each iteration? Also does it make sense that you make partial payment per block instead of waiting for the total file to arrive. It might be the case that the zk proof of the total file is correct but then sender might cheat while sending individual block.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; On Tue, Jan 21, 2020, 00:26 Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Don’t and data in lighting payments unless you have to. It’s super DoS-y and rude to your peers. If you’re just transferring a file, you can use ZKCP to send an encrypted copy of the file with the encryption key being the payment_preimage, making the whole thing one big atomic action.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On Jan 20, 2020, at 13:33, Subhra Mazumdar &amp;lt;subhra.mazumdar1993 at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ﻿&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Sounds good. But how do I provide a correctness for the entire asset to be transferred when I am already partitioning into several units (say chunks of file ? ) So as an when the block of file is received then we have to give a ZK proof &amp;#34;block x is part of File F&amp;#34;. Is it how this should work ?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On Mon, Jan 20, 2020 at 11:59 PM Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Zk proofs are incredibly fast these days for small-ish programs. They’re much too slow for a consensus system where every party needs to download and validate them, but for relatively simple programs a two-party system using them is very doable.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On Jan 20, 2020, at 13:23, Subhra Mazumdar &amp;lt;subhra.mazumdar1993 at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; ﻿&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; But isn&amp;#39;t it that the use of ZK proof will render the system slow and hence defy the very purpose of lightning network which intends to make things scalable as well as faster transaction ?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On Mon, Jan 20, 2020 at 11:48 PM Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; That paper discusses it, but I don&amp;#39;t think there was ever a paper proper&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; on ZKCP. There are various discussions of it, though, if you google.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Sadly this is common in this space - lots of great ideas where no one&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; ever bothered to write academic-style papers about them (hence why&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; academic papers around Bitcoin tend to miss nearly all relevant context,&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; sadly).&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Matt&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On 1/20/20 6:10 PM, Subhra Mazumdar wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Are you referring to the paper Zero knowledge contingent payment&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; revisited ? I will look into the construction. Thanks for the&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; information! :)&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On Mon, Jan 20, 2020, 23:31 Matt Corallo &amp;lt;lf-lists at mattcorallo.com&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     On 11/9/19 4:31 AM, Takaya Imai wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     &amp;gt; [What I do not describe]&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     &amp;gt; * A way to detect that data is correct or not, namely zero knowledge&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     &amp;gt; proof process.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     Have you come across Zero Knowledge Contingent Payments? Originally it&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     was designed for on-chain applications but it slots neatly into&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     lightning as it only requires a method to lock funds to a hash preimage.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     Matt&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;     &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; --&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Yours sincerely,&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Subhra Mazumdar.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; --&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Yours sincerely,&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Subhra Mazumdar.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&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/lightning-dev/attachments/20200121/0df0e90c/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20200121/0df0e90c/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T12:58:09Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqszk82vz69vgc3v69rrwp0cg5mqety8skcucs3k6278lx7zah36xwqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm522eaf4</id>
    
      <title type="html">📅 Original date posted:2020-01-20 📝 Original message: ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqszk82vz69vgc3v69rrwp0cg5mqety8skcucs3k6278lx7zah36xwqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm522eaf4" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsyrqg83ks7qdw2chej2xwwdndvhja4r4nws7lrjqnfmmk4ss2w28cqfeaal&#39;&gt;nevent1q…eaal&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-01-20&lt;br/&gt;📝 Original message:&lt;br/&gt;Don’t and data in lighting payments unless you have to. It’s super DoS-y and rude to your peers. If you’re just transferring a file, you can use ZKCP to send an encrypted copy of the file with the encryption key being the payment_preimage, making the whole thing one big atomic action.&lt;br/&gt;&lt;br/&gt;&amp;gt; On Jan 20, 2020, at 13:33, Subhra Mazumdar &amp;lt;subhra.mazumdar1993 at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; ﻿&lt;br/&gt;&amp;gt; Sounds good. But how do I provide a correctness for the entire asset to be transferred when I am already partitioning into several units (say chunks of file ? ) So as an when the block of file is received then we have to give a ZK proof &amp;#34;block x is part of File F&amp;#34;. Is it how this should work ?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; On Mon, Jan 20, 2020 at 11:59 PM Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; Zk proofs are incredibly fast these days for small-ish programs. They’re much too slow for a consensus system where every party needs to download and validate them, but for relatively simple programs a two-party system using them is very doable.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Jan 20, 2020, at 13:23, Subhra Mazumdar &amp;lt;subhra.mazumdar1993 at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; ﻿&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; But isn&amp;#39;t it that the use of ZK proof will render the system slow and hence defy the very purpose of lightning network which intends to make things scalable as well as faster transaction ?&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Mon, Jan 20, 2020 at 11:48 PM Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; That paper discusses it, but I don&amp;#39;t think there was ever a paper proper&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; on ZKCP. There are various discussions of it, though, if you google.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Sadly this is common in this space - lots of great ideas where no one&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ever bothered to write academic-style papers about them (hence why&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; academic papers around Bitcoin tend to miss nearly all relevant context,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sadly).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Matt&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On 1/20/20 6:10 PM, Subhra Mazumdar wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; Are you referring to the paper Zero knowledge contingent payment&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; revisited ? I will look into the construction. Thanks for the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; information! :)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; On Mon, Jan 20, 2020, 23:31 Matt Corallo &amp;lt;lf-lists at mattcorallo.com&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     On 11/9/19 4:31 AM, Takaya Imai wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     &amp;gt; [What I do not describe]&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     &amp;gt; * A way to detect that data is correct or not, namely zero knowledge&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     &amp;gt; proof process.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     Have you come across Zero Knowledge Contingent Payments? Originally it&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     was designed for on-chain applications but it slots neatly into&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     lightning as it only requires a method to lock funds to a hash preimage.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     Matt&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;     &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; -- &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Yours sincerely,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Subhra Mazumdar.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; -- &lt;br/&gt;&amp;gt; Yours sincerely,&lt;br/&gt;&amp;gt; Subhra Mazumdar.&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/lightning-dev/attachments/20200120/522c5165/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20200120/522c5165/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T12:58:07Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqswfsn2p7zv8lrpaan8ltfuha2qe5y97wf3ks4dszjndmf769sh6kszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm58hvyeq</id>
    
      <title type="html">📅 Original date posted:2020-01-20 📝 Original message: That ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqswfsn2p7zv8lrpaan8ltfuha2qe5y97wf3ks4dszjndmf769sh6kszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm58hvyeq" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs8l396ykrydmjzn2g2d7wuaeuw7raahh8c9kavzzakkztcgrm6ctsun60c5&#39;&gt;nevent1q…60c5&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-01-20&lt;br/&gt;📝 Original message:&lt;br/&gt;That paper discusses it, but I don&amp;#39;t think there was ever a paper proper&lt;br/&gt;on ZKCP. There are various discussions of it, though, if you google.&lt;br/&gt;Sadly this is common in this space - lots of great ideas where no one&lt;br/&gt;ever bothered to write academic-style papers about them (hence why&lt;br/&gt;academic papers around Bitcoin tend to miss nearly all relevant context,&lt;br/&gt;sadly).&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 1/20/20 6:10 PM, Subhra Mazumdar wrote:&lt;br/&gt;&amp;gt; Are you referring to the paper Zero knowledge contingent payment&lt;br/&gt;&amp;gt; revisited ? I will look into the construction. Thanks for the&lt;br/&gt;&amp;gt; information! :)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On Mon, Jan 20, 2020, 23:31 Matt Corallo &amp;lt;lf-lists at mattcorallo.com&lt;br/&gt;&amp;gt; &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     On 11/9/19 4:31 AM, Takaya Imai wrote:&lt;br/&gt;&amp;gt;     &amp;gt; [What I do not describe]&lt;br/&gt;&amp;gt;     &amp;gt; * A way to detect that data is correct or not, namely zero knowledge&lt;br/&gt;&amp;gt;     &amp;gt; proof process.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Have you come across Zero Knowledge Contingent Payments? Originally it&lt;br/&gt;&amp;gt;     was designed for on-chain applications but it slots neatly into&lt;br/&gt;&amp;gt;     lightning as it only requires a method to lock funds to a hash preimage.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Matt&lt;br/&gt;&amp;gt;     _______________________________________________&lt;br/&gt;&amp;gt;     Lightning-dev mailing list&lt;br/&gt;&amp;gt;     Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;     &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;     &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:58:06Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfmh86hf5k4ym6y32trfh4en3snz9qlcrktytnwk8jspdkjv5je3czyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5dh5tvj</id>
    
      <title type="html">📅 Original date posted:2019-12-10 📝 Original message: Nice ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfmh86hf5k4ym6y32trfh4en3snz9qlcrktytnwk8jspdkjv5je3czyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5dh5tvj" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspnu8lcg6ur2sptgl2hmhlv59wmm7alquspwql8ssdmjpn2cf3wdqvaagqe&#39;&gt;nevent1q…agqe&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-12-10&lt;br/&gt;📝 Original message:&lt;br/&gt;Nice writeup!&lt;br/&gt;&lt;br/&gt;In further in-person discussions today, it was noted that the key&lt;br/&gt;last-resort fallback Bitcoin Core has to week out peers in case of an&lt;br/&gt;Eclipse Attack does not protect from this style of attack. While it is&lt;br/&gt;only of limited concern for most Bitcoin Core users, it very much may&lt;br/&gt;expose lightning nodes to theft.&lt;br/&gt;&lt;br/&gt;More importantly, while Bitcoin Core has some protections against&lt;br/&gt;generic sybil-based Eclipse attacks, they are far from sufficient in a&lt;br/&gt;model like Lightning where much more is at stake from simple no-hashrate&lt;br/&gt;Eclipse attacks.&lt;br/&gt;&lt;br/&gt;The proposed countermeasure here of &amp;#34;raising alarms&amp;#34; in case the&lt;br/&gt;best-block nTime field is too far behind is compelling in a&lt;br/&gt;SPV-assumption world, though it is far from sufficient if the time delay&lt;br/&gt;is small (eg for lightning HTLC delays or if the to_self_delay is&lt;br/&gt;gratuitously insecure, eg under 144).&lt;br/&gt;&lt;br/&gt;Sadly, however, &amp;#34;raising alarms&amp;#34; is not sufficient to protect users, as&lt;br/&gt;countermeasures likely need to be taken automatically for any kind of&lt;br/&gt;compelling security.&lt;br/&gt;&lt;br/&gt;I&amp;#39;d encourage Lightning node authors and operators to ensure they have&lt;br/&gt;multiple, redundant, trusted methods of receiving Bitcoin block data in&lt;br/&gt;a timely fashion. To shill my own bags, of late I&amp;#39;ve been thinking about&lt;br/&gt;such systems and expose services to fetch header/BIP157 filter data over&lt;br/&gt;DNS [1, 2], header data over arbitrary radio interfaces [3] and full&lt;br/&gt;block data over HTTP. Finally, there is also a parallel P2P&lt;br/&gt;implementation which attempts to make different tradeoffs from the&lt;br/&gt;existing Bitcoin Core P2P implementation and is much more aggressive&lt;br/&gt;about seeking additional connections if there is evidence of headers&lt;br/&gt;which are better than our current chain at [5], relying on some of the&lt;br/&gt;other mechanisms to seek header data.&lt;br/&gt;&lt;br/&gt;Note that the Bitcoin Core-based work here also includes what I hope can&lt;br/&gt;be used as an arbitrary easy-to-write-additional-block-fetch-methods&lt;br/&gt;framework.&lt;br/&gt;&lt;br/&gt;[1] &lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/16834&#34;&gt;https://github.com/bitcoin/bitcoin/pull/16834&lt;/a&gt;&lt;br/&gt;[2] &lt;a href=&#34;https://twitter.com/TheBlueMatt/status/1200585905163112449&#34;&gt;https://twitter.com/TheBlueMatt/status/1200585905163112449&lt;/a&gt;&lt;br/&gt;[3]&lt;br/&gt;&lt;a href=&#34;https://github.com/TheBlueMatt/bitcoin/commit/2019-10-rusty-all-da-stuff%5E1&#34;&gt;https://github.com/TheBlueMatt/bitcoin/commit/2019-10-rusty-all-da-stuff%5E1&lt;/a&gt;&lt;br/&gt;you should be able to pick up headers in the 915 MHz band over LoRa with&lt;br/&gt;this patch in the New York City area already :)&lt;br/&gt;[4] &lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/16762&#34;&gt;https://github.com/bitcoin/bitcoin/pull/16762&lt;/a&gt;&lt;br/&gt;[5] &lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/17376&#34;&gt;https://github.com/bitcoin/bitcoin/pull/17376&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 12/9/19 6:04 PM, Antoine Riard wrote:&lt;br/&gt;&amp;gt; Time-Dilation Attacks on Offchain Protocols&lt;br/&gt;&amp;gt; ===================================&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Lightning works on reversing the double-spend problem to a private&lt;br/&gt;&amp;gt; state between parties instead of being a public issue verified by every&lt;br/&gt;&amp;gt; network peer. The security model is based on revocation of previous&lt;br/&gt;&amp;gt; states and in case of broadcast of any of them, being aware of it to&lt;br/&gt;&amp;gt; generate justice transactions to claim misbehaving peer onchain outputs&lt;br/&gt;&amp;gt; before contest period expiration. This period is driven by the blockchain&lt;br/&gt;&amp;gt; which is here the system clock.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Eclipse attacks&amp;#39;s end-goal is to monopolize a victim&amp;#39;s incoming and&lt;br/&gt;&amp;gt; outgoing connections, by this way isolating a node from the rest of its&lt;br/&gt;&amp;gt; peers in the network. A successful Eclipse attacks lets the attacker&lt;br/&gt;&amp;gt; filter the victim&amp;#39;s view of the blockchain, i.e he controls transactions&lt;br/&gt;&amp;gt; and blocks announcements [0].&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Every LN node must be tied to a bitcoin full-node or light-client to&lt;br/&gt;&amp;gt; verify independently channels opening/closing, HTLCs expiration and&lt;br/&gt;&amp;gt; previous/latest state broadcast. To operate securely, the view of the&lt;br/&gt;&amp;gt; blockchain must be up-to-date with the one shared with the rest of the&lt;br/&gt;&amp;gt; network. By considering Eclipse attacks on the base layer, this assumption&lt;br/&gt;&amp;gt; can be broken.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; First scenario : Targeting the CSV security delay&lt;br/&gt;&amp;gt; --------------------------------------------------------------&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Alice and Mallory are LN peers with a channel opened at state N. They&lt;br/&gt;&amp;gt; use a CSV of 144 blocks as a security parameter for contestation period.&lt;br/&gt;&amp;gt; Mallory is able to identify Alice full-node and start to eclipse it.&lt;br/&gt;&amp;gt; When done, it keeps announcing blocks to Alice node but delaying them by&lt;br/&gt;&amp;gt; 2min. Given a variance of 10min, after 6 blocks, Mallory will have a&lt;br/&gt;&amp;gt; height ahead of Alice of 1, after 24 blocks, a lead of 4, after 144,&lt;br/&gt;&amp;gt; a lead of 24, after 1008, a lead of 168.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; After maintaining the eclipse for a week, Mallory will have more than a&lt;br/&gt;&amp;gt; day of height advance on Alice view of blockchain. The difference being&lt;br/&gt;&amp;gt; superior at the CSV timelock, Mallory can broadcast a previous&lt;br/&gt;&amp;gt; commitment transaction at state N - 10 with a balance far more favorable&lt;br/&gt;&amp;gt; than the legit one at height H, the synchronized height with the rest&lt;br/&gt;&amp;gt; of the network.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; At revoked commitment transaction broadcast, Alice is slow down at&lt;br/&gt;&amp;gt; height H - 168. At H&#43;144, Mallory can unlock its funds out of the&lt;br/&gt;&amp;gt; commitment transaction outputs and by so closing the contestation period&lt;br/&gt;&amp;gt; while Alice is still stuck at H-24. When Alice learn about revoked&lt;br/&gt;&amp;gt; broadcast at H, it&amp;#39;s already too late. Mallory may have stopped the&lt;br/&gt;&amp;gt; Eclipse attack after H&#43;144, or he may pursue the attack on Alice because&lt;br/&gt;&amp;gt; of targeting multiple of her channels in parallel.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Second scenario : Targeting the per-hop CLTV-delta&lt;br/&gt;&amp;gt; -------------------------------------------------------------------&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Alice, Bob and Caroll are LN peers with channel Alice-Bob and Bob-Caroll.&lt;br/&gt;&amp;gt; Bob enforce a cltv_delta of 12 blocks on incoming HTLCs. Alice and Caroll&lt;br/&gt;&amp;gt; are both malicious and start to eclipse Alice full-node until they gain a&lt;br/&gt;&amp;gt; lead of 15 blocks on Alice.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; At height N, Alice route a payment E to Caroll through Bob with a base&lt;br/&gt;&amp;gt; delta of 24 blocks. On channel AB, HTLC will expire at height H&#43;24, on&lt;br/&gt;&amp;gt; channel BC, it will expire at height H&#43;12 while Alice ticking herself&lt;br/&gt;&amp;gt; at height H-15.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; When real-network blockchain height reaches H&#43;24, Caroll provides&lt;br/&gt;&amp;gt; preimage P to Bob and following protocol rules she gets a new&lt;br/&gt;&amp;gt; commitment transaction with balance increased of HTLC E. At same time,&lt;br/&gt;&amp;gt; Alice broadcast unilaterally commitment transaction for AB and claim&lt;br/&gt;&amp;gt; back HTLC E with a HTLC-timeout transaction as its nLockTime is already&lt;br/&gt;&amp;gt; final. Bob wrongly clocking at height H&#43;9, HTLC on channel BC won&amp;#39;t have&lt;br/&gt;&amp;gt; been timeout by him and provided preimage is now useless as HTLC as&lt;br/&gt;&amp;gt; already claimed back on mainnet blockchain.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Attack difficulty&lt;br/&gt;&amp;gt; -------------------&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Following Eclipse attack paper publication, multiple counter-measures&lt;br/&gt;&amp;gt; have been implemented [1], [2]. Even if it&amp;#39;s far harder, this kind of&lt;br/&gt;&amp;gt; attacks may still be possible for an off-path attacker. Including recent&lt;br/&gt;&amp;gt; changes, research should be done to ascertain it. Beyond, it still&lt;br/&gt;&amp;gt; widely feasible for attackers controlling key infrastructure between&lt;br/&gt;&amp;gt; the victim and the network [3]. A simple Tier 3 ISP doing deep packet&lt;br/&gt;&amp;gt; inspection and delaying your blocks may be able to practice this class&lt;br/&gt;&amp;gt; of attacks.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The case of LN nodes using light clients, like BIP157 or Electrum, as a&lt;br/&gt;&amp;gt; backend should be specially considered. Given the low number of servers&lt;br/&gt;&amp;gt; providing these services today it should be trivial for an attacker to run&lt;br/&gt;&amp;gt; swarm of them and from then control blockchain view of this class of LN&lt;br/&gt;&amp;gt; nodes.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Another difficulty of the attack, is to map the LN node to its full-node.&lt;br/&gt;&amp;gt; This can range from being trivial if both run in clear with same ipv4&lt;br/&gt;&amp;gt; address. It would be interesting to scan both networks and see how many&lt;br/&gt;&amp;gt; nodes pair are in this case. Learning the mapping can still be doable if&lt;br/&gt;&amp;gt; they are using an anonymous network like Tor with same exit node base on&lt;br/&gt;&amp;gt; message timing.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Further inter-layer mapping techniques could be developped like funding&lt;br/&gt;&amp;gt; transaction broadcast and seeing its propagation on the base layer. Or&lt;br/&gt;&amp;gt; knowledge of onchain utxo graph leaked by addressed reused to fund&lt;br/&gt;&amp;gt; channels.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On the LN-side, depending of the scenario, cost of the attack ranges&lt;br/&gt;&amp;gt; between opening one or two channels and paying the related onchain fees.&lt;br/&gt;&amp;gt; That being said, an attacker can also target victim-initiated channels&lt;br/&gt;&amp;gt; and costs would be reduced only to operating LN nodes.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Onchain counter-measures&lt;br/&gt;&amp;gt; -----------------------------------&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Warnings could be triggered by full-node when the block issuance rate&lt;br/&gt;&amp;gt; becomes weird but first it&amp;#39;s hard to dissociate weirdness from edges of&lt;br/&gt;&amp;gt; block variance and secondly the algo being public it should be easy for&lt;br/&gt;&amp;gt; an attacker to stay under the radar by choosing the right announcement&lt;br/&gt;&amp;gt; delay.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Raising alarms based on nTime of block headers being to far in the past&lt;br/&gt;&amp;gt; compare to local clock wouldn&amp;#39;t make sense due to IBD.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; A practical solution would be to have multiple bitcoin full-nodes&lt;br/&gt;&amp;gt; with multi-homing and doing reconciliation of blockchain views every&lt;br/&gt;&amp;gt; N hour/minute. This kind of method, already deployed by some bitcoin&lt;br/&gt;&amp;gt; infrastructures, would raise attack difficulty for off-path attackers&lt;br/&gt;&amp;gt; but wouldn&amp;#39;t counter in-path attackers. Nevertheless, it would already&lt;br/&gt;&amp;gt; be a good step, the issue is the current absent of implementing this&lt;br/&gt;&amp;gt; in open-source software for hobbyists.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; A defense in depth would require to have multiple data links, like&lt;br/&gt;&amp;gt; receiving headers from space/radio or tunneling through&lt;br/&gt;&amp;gt; some other protocols [4].&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Even learning discrepancies between your local view of the blockchain&lt;br/&gt;&amp;gt; and the mainnet one, the right move to do isn&amp;#39;t clear as an automatic&lt;br/&gt;&amp;gt; system may be triggered by false positives to halt operation of your LN&lt;br/&gt;&amp;gt; node, a human intervention to double-check may seem preferable. And&lt;br/&gt;&amp;gt; it&amp;#39;s really likely the attacker control you ability of transactions&lt;br/&gt;&amp;gt; on the base layer. BIP324 may help there.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Offchain counter-measures&lt;br/&gt;&amp;gt; -----------------------------------&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Some LN errors messages may be triggered at abnormal rate like&lt;br/&gt;&amp;gt; `expiry_too_soon`  due to victim using a HTLC base in the past and may&lt;br/&gt;&amp;gt; be used to guess oddities.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; A measure orthogonal to running multiple bitcoin full-nodes should be&lt;br/&gt;&amp;gt; to have multiples watchtowers running their own blocks provider (full-node&lt;br/&gt;&amp;gt; or light clients). Assuming attacker don&amp;#39;t control your connection to them,&lt;br/&gt;&amp;gt; if at least one of them isn&amp;#39;t eclipsed, it should be able to time-out HTLC/&lt;br/&gt;&amp;gt; justice revoked transaction efficiently.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Another option would be to use the control plane as a safety mechanism.&lt;br/&gt;&amp;gt; When a LN node learns a channel_announcement to far in the future it&lt;br/&gt;&amp;gt; would ask to this LN node, few next headers through this communication&lt;br/&gt;&amp;gt; channel and connect these headers to its full-node. Based on this&lt;br/&gt;&amp;gt; information, full-node may trigger alarms more accurately. This mechanism&lt;br/&gt;&amp;gt; would work assuming one of your gossiping LN node is honest. It may ask&lt;br/&gt;&amp;gt; for fine-tuning to avoid there too false-positives but it seems an&lt;br/&gt;&amp;gt; interesting topic of research to use L2 information to correct L1 blockchain&lt;br/&gt;&amp;gt; view and even further to use L2 communications channels as an emergency&lt;br/&gt;&amp;gt; transaction broadcast.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Further research could be lead to investigate attacks combining&lt;br/&gt;&amp;gt; eclipsing victim&lt;br/&gt;&amp;gt; view of both layer, that&amp;#39;s said the LN one may seem harder to take on as&lt;br/&gt;&amp;gt; nodes&lt;br/&gt;&amp;gt; have persistent identities.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Eclipse attacks were already known to be very bad, offchain protocols&lt;br/&gt;&amp;gt; relying on time for their security model make them worst at it lower the bar&lt;br/&gt;&amp;gt; to exploit them from being a miner to being party to an offchain contract.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; After talking with LN implementations teams, they don&amp;#39;t think funds are&lt;br/&gt;&amp;gt; at risks,&lt;br/&gt;&amp;gt; given than light clients have low-value channels right now and it&amp;#39;s not&lt;br/&gt;&amp;gt; worthy the&lt;br/&gt;&amp;gt; attack setup, but they acknowledge the issue on the long term for&lt;br/&gt;&amp;gt; processing nodes.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Thanks to Gleb Naumenko for fruitful discussions/review.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; [0] &lt;a href=&#34;https://eprint.iacr.org/2015/263.pdf&#34;&gt;https://eprint.iacr.org/2015/263.pdf&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; [1] &lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/9037&#34;&gt;https://github.com/bitcoin/bitcoin/pull/9037&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; [2] &lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/8282&#34;&gt;https://github.com/bitcoin/bitcoin/pull/8282&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; [3] &lt;a href=&#34;https://erebus-attack.comp.nus.edu.sg/&#34;&gt;https://erebus-attack.comp.nus.edu.sg/&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; [4] &lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/16834&#34;&gt;https://github.com/bitcoin/bitcoin/pull/16834&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:57:37Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs98x9je4esp87vwa7hz8r9fuuq080unkffmq4k0n2kza3uctqa2tczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zkunkl</id>
    
      <title type="html">📅 Original date posted:2019-10-24 📝 Original message: I may ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs98x9je4esp87vwa7hz8r9fuuq080unkffmq4k0n2kza3uctqa2tczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zkunkl" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsvu4n8x6fwd6kzcr0me0dx3g27gqldl42jm5prw9pws6d9aplyx0ge9z8w8&#39;&gt;nevent1q…z8w8&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-10-24&lt;br/&gt;📝 Original message:&lt;br/&gt;I may be missing something, but I&amp;#39;m not sure how this changes anything?&lt;br/&gt;&lt;br/&gt;If you have a commitment transaction, you always need at least, and&lt;br/&gt;exactly, one non-CSV output per party. The fact that there is a size&lt;br/&gt;limitation on the transaction that spends for carve-out purposes only&lt;br/&gt;effects how many other inputs/outputs you can add, but somehow I doubt&lt;br/&gt;its ever going to be a large enough number to matter.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 10/24/19 1:49 PM, Johan Torås Halseth wrote:&lt;br/&gt;&amp;gt; Reviving this old thread now that the recently released RC for bitcoind&lt;br/&gt;&amp;gt; 0.19 includes the above mentioned carve-out rule.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In an attempt to pave the way for more robust CPFP of on-chain contracts&lt;br/&gt;&amp;gt; (Lightning commitment transactions), the carve-out rule was added in&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/15681&#34;&gt;https://github.com/bitcoin/bitcoin/pull/15681&lt;/a&gt;. However, having worked on&lt;br/&gt;&amp;gt; an implementation of a new commitment format for utilizing the Bring&lt;br/&gt;&amp;gt; Your Own Fees strategy using CPFP, I’m wondering if the special case&lt;br/&gt;&amp;gt; rule should have been relaxed a bit, to avoid the need for adding a 1&lt;br/&gt;&amp;gt; CSV to all outputs (in case of Lightning this means HTLC scripts would&lt;br/&gt;&amp;gt; need to be changed to add the CSV delay).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Instead, what about letting the rule be&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The last transaction which is added to a package of dependent&lt;br/&gt;&amp;gt; transactions in the mempool must:&lt;br/&gt;&amp;gt;   * Have no more than one unconfirmed parent.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This would of course allow adding a large transaction to each output of&lt;br/&gt;&amp;gt; the unconfirmed parent, which in effect would allow an attacker to&lt;br/&gt;&amp;gt; exceed the MAX_PACKAGE_VIRTUAL_SIZE limit in some cases. However, is&lt;br/&gt;&amp;gt; this a problem with the current mempool acceptance code in bitcoind? I&lt;br/&gt;&amp;gt; would imagine evicting transactions based on feerate when the max&lt;br/&gt;&amp;gt; mempool size is met handles this, but I’m asking since it seems like&lt;br/&gt;&amp;gt; there has been several changes to the acceptance code and eviction&lt;br/&gt;&amp;gt; policy since the limit was first introduced.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; - Johan&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On Wed, Feb 13, 2019 at 6:57 AM Rusty Russell &amp;lt;rusty at rustcorp.com.au&lt;br/&gt;&amp;gt; &amp;lt;mailto:rusty at rustcorp.com.au&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Matt Corallo &amp;lt;lf-lists at mattcorallo.com&lt;br/&gt;&amp;gt;     &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt; writes:&lt;br/&gt;&amp;gt;     &amp;gt;&amp;gt;&amp;gt; Thus, even if you imagine a steady-state mempool growth, unless the&lt;br/&gt;&amp;gt;     &amp;gt;&amp;gt;&amp;gt; &amp;#34;near the top of the mempool&amp;#34; criteria is &amp;#34;near the top of the next&lt;br/&gt;&amp;gt;     &amp;gt;&amp;gt;&amp;gt; block&amp;#34; (which is obviously *not* incentive-compatible)&lt;br/&gt;&amp;gt;     &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;     &amp;gt;&amp;gt; I was defining &amp;#34;top of mempool&amp;#34; as &amp;#34;in the first 4 MSipa&amp;#34;, ie. next&lt;br/&gt;&amp;gt;     &amp;gt;&amp;gt; block, and assumed you&amp;#39;d only allow RBF if the old package wasn&amp;#39;t&lt;br/&gt;&amp;gt;     in the&lt;br/&gt;&amp;gt;     &amp;gt;&amp;gt; top and the replacement would be.  That seems incentive&lt;br/&gt;&amp;gt;     compatible; more&lt;br/&gt;&amp;gt;     &amp;gt;&amp;gt; than the current scheme?&lt;br/&gt;&amp;gt;     &amp;gt;&lt;br/&gt;&amp;gt;     &amp;gt; My point was, because of block time variance, even that criteria&lt;br/&gt;&amp;gt;     doesn&amp;#39;t hold up. If you assume a steady flow of new transactions and&lt;br/&gt;&amp;gt;     one or two blocks come in &amp;#34;late&amp;#34;, suddenly &amp;#34;top 4MWeight&amp;#34; isn&amp;#39;t&lt;br/&gt;&amp;gt;     likely to get confirmed until a few blocks come in &amp;#34;early&amp;#34;. Given&lt;br/&gt;&amp;gt;     block variance within a 12 block window, this is a relatively likely&lt;br/&gt;&amp;gt;     scenario.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     [ Digging through old mail. ]&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Doesn&amp;#39;t really matter.  Lightning close algorithm would be:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     1.  Give bitcoind unileratal close.&lt;br/&gt;&amp;gt;     2.  Ask bitcoind what current expidited fee is (or survey your mempool).&lt;br/&gt;&amp;gt;     3.  Give bitcoind child &amp;#34;push&amp;#34; tx at that total feerate.&lt;br/&gt;&amp;gt;     4.  If next block doesn&amp;#39;t contain unilateral close tx, goto 2.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     In this case, if you allow a simpified RBF where &amp;#39;you can replace if&lt;br/&gt;&amp;gt;     1. feerate is higher, 2. new tx is in first 4Msipa of mempool, 3.&lt;br/&gt;&amp;gt;     old tx isnt&amp;#39;,&lt;br/&gt;&amp;gt;     it works.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     It allows someone 100k of free tx spam, sure.  But it&amp;#39;s simple.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     We could further restrict it by marking the unilateral close somehow to&lt;br/&gt;&amp;gt;     say &amp;#34;gonna be pushed&amp;#34; and further limiting the child tx weight (say,&lt;br/&gt;&amp;gt;     5kSipa?) in that case.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Cheers,&lt;br/&gt;&amp;gt;     Rusty.&lt;br/&gt;&amp;gt;     _______________________________________________&lt;br/&gt;&amp;gt;     Lightning-dev mailing list&lt;br/&gt;&amp;gt;     Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;     &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;     &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:56:46Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfwtvw8dqkk5ap0gf53q4wht4ppw7mt8e4wekdkhn228cw2cghl7szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm50dnf73</id>
    
      <title type="html">📅 Original date posted:2019-01-08 📝 Original message: I ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfwtvw8dqkk5ap0gf53q4wht4ppw7mt8e4wekdkhn228cw2cghl7szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm50dnf73" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsg27ycpe8s606trndf4eztkzdv4xjukdgc6vksm8p3u7qr8kkh4rqcwjk8r&#39;&gt;nevent1q…jk8r&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-01-08&lt;br/&gt;📝 Original message:&lt;br/&gt;I mentioned this on IRC, but note that the flapping is not just useless information to be discarded without consideration. An important use of routing data is providing a &amp;#34;good&amp;#34; subset to nodes like mobile clients that don&amp;#39;t want all the bandwidth to stay fully in sync. A pretty good indicator of a useless channel would be flapping, given its probably not very reliable for routing.&lt;br/&gt;&lt;br/&gt;I&amp;#39;m somewhat unconvinced that we should be optimizing for as little bandwidth use as possible here, though wins that don&amp;#39;t lose information are nice.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;&amp;gt; On Jan 8, 2019, at 16:28, Christian Decker &amp;lt;decker.christian at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Fabrice Drouin &amp;lt;fabrice.drouin at acinq.fr&amp;gt; writes:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; I think there may even be a simpler case where not replacing updates&lt;br/&gt;&amp;gt;&amp;gt; will result in nodes not knowing that a channel has been re-enabled:&lt;br/&gt;&amp;gt;&amp;gt; suppose you got 3 updates U1, U2, U3 for the same channel, U2 disables&lt;br/&gt;&amp;gt;&amp;gt; it, U3 enables it again and is the same as U1. If you discard it and&lt;br/&gt;&amp;gt;&amp;gt; just keep U1, and your peer has U2, how will you tell them that the&lt;br/&gt;&amp;gt;&amp;gt; channel has been enabled again ? Unless &amp;#34;discard&amp;#34; here means keep the&lt;br/&gt;&amp;gt;&amp;gt; update but don&amp;#39;t broadcast it ?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Excellent point, that&amp;#39;s a simpler example of how it could break down.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; I think all the bolted on things are pretty much overkill at this point,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; it is unlikely that we will get any consistency in our views of the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; routing table, but that&amp;#39;s actually not needed to route, and we should&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; consider this a best effort gossip protocol anyway. If the routing&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; protocol is too chatty, we should make efforts towards local policies at&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; the senders of the update to reduce the number of flapping updates, not&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; build in-network deduplications. Maybe something like &amp;#34;eager-disable&amp;#34;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; and &amp;#34;lazy-enable&amp;#34; is what we should go for, in which disables are sent&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; right away, and enables are put on an exponential backoff timeout (after&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; all what use are flappy nodes for routing?).&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Yes there are probably heuristics that would help reducing gossip&lt;br/&gt;&amp;gt;&amp;gt; traffic, and I see your point but I was thinking about doing the&lt;br/&gt;&amp;gt;&amp;gt; opposite: &amp;#34;eager-enable&amp;#34; and &amp;#34;lazy-disable&amp;#34;, because from a sender&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt; p.o.v trying to use a disabled channel is better than ignoring an&lt;br/&gt;&amp;gt;&amp;gt; enabled channel.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; That depends on what you are trying to optimize. Your solution keeps&lt;br/&gt;&amp;gt; more channels in enabled mode, potentially increasing failures due to&lt;br/&gt;&amp;gt; channels being unavailable. I was approaching it from the other side,&lt;br/&gt;&amp;gt; since failures are on the critical path in the payment flow, they&amp;#39;d&lt;br/&gt;&amp;gt; result in longer delays and many more retries, which I think is annoying&lt;br/&gt;&amp;gt; too. It probably depends on the network structure, i.e., if the fanout&lt;br/&gt;&amp;gt; from the endpoints is large, missing some channels shouldn&amp;#39;t be a&lt;br/&gt;&amp;gt; problem, in which case the many failures delaying your payment weighs&lt;br/&gt;&amp;gt; more than not finding a route (eager-disable &amp;amp; lazy-enable). If on the&lt;br/&gt;&amp;gt; other hand we are really relying on a huge number of flaky connections&lt;br/&gt;&amp;gt; then eager-enable &amp;amp; lazy-disable might get lucky and get the payment&lt;br/&gt;&amp;gt; through. I&amp;#39;m hoping the network will have the latter structure, because&lt;br/&gt;&amp;gt; we&amp;#39;d have really unpredictable behavior anyway.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; We&amp;#39;ll probably gain more insight once we start probing the network. My&lt;br/&gt;&amp;gt; expectation is that today&amp;#39;s network is a baseline, whose resiliency and&lt;br/&gt;&amp;gt; redundancy will improve over time, hopefully swinging in favor of&lt;br/&gt;&amp;gt; trading off the speed gains over bare routability.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; Christian&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;
    </content>
    <updated>2023-06-09T12:53:52Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs2cyalx0hc0lam2x9v0j68k2yggfeqsvjyc5rgjxglcrkjklf02kczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm56atc5y</id>
    
      <title type="html">📅 Original date posted:2018-12-10 📝 Original message: Any ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs2cyalx0hc0lam2x9v0j68k2yggfeqsvjyc5rgjxglcrkjklf02kczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm56atc5y" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqswtmzqdeuxt4nxth6dup92tqp0lxashrz5wfel7xyp289dxnqt3fclmnjj5&#39;&gt;nevent1q…njj5&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-12-10&lt;br/&gt;📝 Original message:&lt;br/&gt;Any update on this? It seems like the people who bothered to respond &lt;br/&gt;were pretty in favor of not using calls (and, at least based on the &lt;br/&gt;latest call doc, which is the only one I&amp;#39;ve seen, they seem to be only &lt;br/&gt;somewhat sparsely attended).&lt;br/&gt;&lt;br/&gt;When are the regular calls right now, anyway? Probably should just hold &lt;br/&gt;an IRC meeting at the same time on #lightning-dev.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 11/28/18 2:43 PM, Peter Todd wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On November 27, 2018 12:13:27 AM UTC, Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &#43;100 for IRC meetings, though, really, I&amp;#39;d much much stronger prefer&lt;br/&gt;&amp;gt;&amp;gt; substantive discussion happen on GitHub or the mailing list. Doing&lt;br/&gt;&amp;gt;&amp;gt; finalization in a live meeting is really unfair to those who can&amp;#39;t find&lt;br/&gt;&amp;gt;&amp;gt; the time to attend regularly (or happen to miss the one where that&lt;br/&gt;&amp;gt;&amp;gt; thing was discussed that they care about).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Also keep in mind that textual communication poses less barriers for many people vs. audio/visual meetings. Not everyone wants their face to be seen or voice (literally) heard.&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:53:29Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsf636ak85s57vx53umchkt26mqqyvdxugspvvqhkcmh4j9axnjx9gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5uq4grp</id>
    
      <title type="html">📅 Original date posted:2018-11-29 📝 Original message: For ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsf636ak85s57vx53umchkt26mqqyvdxugspvvqhkcmh4j9axnjx9gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5uq4grp" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsx20sdxwukar0jkrdt4dytlqzwkrqkvgktmewmhg7yewa3n9f8v4qukg9wm&#39;&gt;nevent1q…g9wm&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-11-29&lt;br/&gt;📝 Original message:&lt;br/&gt;For the low low cost of 3 witness bytes, I think the simplification of &lt;br/&gt;analysis/separation of concerns is worth it, though I agree it is &lt;br/&gt;probably not strictly required.&lt;br/&gt;&lt;br/&gt;On 11/26/18 3:12 AM, Rusty Russell wrote:&lt;br/&gt;&amp;gt; Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt; Hmm, are we willing to consider CLTV sufficient? In case you have two&lt;br/&gt;&amp;gt;&amp;gt; HTLCs, one of medium-small value that has a low CLTV and one of high&lt;br/&gt;&amp;gt;&amp;gt; value that has a higher CLTV, you could potentially use the soon-CLTV to&lt;br/&gt;&amp;gt;&amp;gt; delay the commitment transaction somewhat further if you broadcast it&lt;br/&gt;&amp;gt;&amp;gt; right as the sooner HTLC expires.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I think you haven&amp;#39;t got the commitment tx onchain by the time the HTLC&lt;br/&gt;&amp;gt; expires, you&amp;#39;re already in trouble.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; But since there&amp;#39;s no script length difference, it *is* simpler to&lt;br/&gt;&amp;gt; prepend `1 OP_CHECKSEQUENCEVERIFY OP_DROP` to the start of each script.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; Rusty.&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:53:03Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsz0qcmg6days0hr0lnukn4dhp63r9uav46hq6xhrcd658f6cytsjgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm57p6x4u</id>
    
      <title type="html">📅 Original date posted:2018-11-25 📝 Original message: Hmm, ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsz0qcmg6days0hr0lnukn4dhp63r9uav46hq6xhrcd658f6cytsjgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm57p6x4u" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsfuzva288us7fgshft8jru6svwd06p7w6pfzl80r6rtdwv3ye34fg7zekjm&#39;&gt;nevent1q…ekjm&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-11-25&lt;br/&gt;📝 Original message:&lt;br/&gt;Hmm, are we willing to consider CLTV sufficient? In case you have two &lt;br/&gt;HTLCs, one of medium-small value that has a low CLTV and one of high &lt;br/&gt;value that has a higher CLTV, you could potentially use the soon-CLTV to &lt;br/&gt;delay the commitment transaction somewhat further if you broadcast it &lt;br/&gt;right as the sooner HTLC expires. This may be a bit edge-case-y but to &lt;br/&gt;keep things symmetric and simplify analysis it seems simpler to just CSV &lt;br/&gt;everything by 1.&lt;br/&gt;&lt;br/&gt;As for other RBF hacks, I think you may have a hard time convincing &lt;br/&gt;people to accept free relay :p.&lt;br/&gt;&lt;br/&gt;Will kick off the discussion on bitcoin-dev once we&amp;#39;re clear on our design.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 11/22/18 5:12 AM, Rusty Russell wrote:&lt;br/&gt;&amp;gt; Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt; Ah, oops, indeed, that is much cleaner :). Still need a CSV of 1, though :(.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; OK, let&amp;#39;s walk through this:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Locally offered HTLC:&lt;br/&gt;&amp;gt; - Local HTLC-Timeout tx is CLTV delayed, but remote can fulfill without delay.&lt;br/&gt;&amp;gt; Remote offered HTLC:&lt;br/&gt;&amp;gt; - Local HTLC-Success tx can be done without delay, but remote timeout is CLTV.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; IOW:&lt;br/&gt;&amp;gt; - HTLC output scripts get a `1 OP_CSV OP_DROP` in the non-revoked branch:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;      OP_DUP OP_HASH160 &amp;lt;RIPEMD160(SHA256(revocationpubkey))&amp;gt; OP_EQUAL&lt;br/&gt;&amp;gt;      OP_IF&lt;br/&gt;&amp;gt;          OP_CHECKSIG&lt;br/&gt;&amp;gt;      OP_ELSE&lt;br/&gt;&amp;gt;   &#43;      1 OP_CHECKSEQUENCEVERIFY OP_DROP&lt;br/&gt;&amp;gt;      ...&lt;br/&gt;&amp;gt; - HTLC-Success tx needs nSequence = 1.&lt;br/&gt;&amp;gt; - Similarly any self-generated fulfullment tx needs nSequence = 1.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Yech.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I still want a new RBF rule where if you pay twice the current package&lt;br/&gt;&amp;gt; *feerate* your tx is accepted, overriding RBF rules 3, 4 &amp;amp; 5.  Probably&lt;br/&gt;&amp;gt; need to increase the effective minrelay feerate for any txs adding to&lt;br/&gt;&amp;gt; that package, similarly (using that double-previous-package-feerate).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; That would mean we&amp;#39;re back to a single P2WSH(OP_TRUE) with less&lt;br/&gt;&amp;gt; blockchain spam, and life is simple.  But I&amp;#39;ll debate this on&lt;br/&gt;&amp;gt; bitcoin-dev :)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; Rusty.&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:53:02Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsdlhusa40km9w0ne0yph4xnadfl2helzxya3p4j5lrvg2f5rfhu5czyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5fe479q</id>
    
      <title type="html">📅 Original date posted:2018-11-22 📝 Original message: Ah, ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsdlhusa40km9w0ne0yph4xnadfl2helzxya3p4j5lrvg2f5rfhu5czyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5fe479q" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqstu3k4lhs0h2rfecxnlpt5zzn402jy5kk2nmzyhp787q76m5sf8ac0cdkh6&#39;&gt;nevent1q…dkh6&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-11-22&lt;br/&gt;📝 Original message:&lt;br/&gt;Ah, oops, indeed, that is much cleaner :). Still need a CSV of 1, though :(.&lt;br/&gt;&lt;br/&gt;&amp;gt; On Nov 21, 2018, at 17:45, Rusty Russell &amp;lt;rusty at rustcorp.com.au&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Matt Corallo &amp;lt;lf-lists at mattcorallo.com&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt; Oh, also, obviously, the HTLC transactions need a pushme output, though &lt;br/&gt;&amp;gt;&amp;gt; luckily only one for the side we expect to be broadcasting the transaction.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The intent was that HTLC transactions are now&lt;br/&gt;&amp;gt; SIGHASH_SINGLE|SIGHASH_ANYONECANPAY (since we don&amp;#39;t need the txid), so&lt;br/&gt;&amp;gt; you Bring Your Own Fees.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I missed this in the draft, patch coming...&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; Rusty.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; On 11/21/18 2:54 AM, Matt Corallo wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Not sure if others already realized this, but in thinking about our RBF &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; policy hack from Adelaide a bit more, to allow the carve-out exception &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; of &amp;#34;last tx in a package, which has only one unconfirmed ancestor&amp;#34; to &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; always be available for the &amp;#34;honest party&amp;#34; when broadcasting a &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; commitment transaction, we also need at least a CSV delay of 1 block on &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; the HTLC transaction outputs (as otherwise those transactions could &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; count as the carve-out tx).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Matt&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On 11/21/18 2:17 AM, Rusty Russell wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I&amp;#39;m also starting to implement this, to see what I missed!&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Original at &lt;a href=&#34;https://github.com/lightningnetwork/lightning-rfc/pull/513&#34;&gt;https://github.com/lightningnetwork/lightning-rfc/pull/513&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Pasted here for your reading convenience:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - Option is sticky; it set at open time, it stays with channel&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;    - I didn&amp;#39;t want to have to handle penalty txs on channels which switch&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;    - We could, however, upgrade on splice.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - Feerate is fixed at 253&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;    - `feerate_per_kw` is still in open /accept (just ignored): &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; multifund may want it.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - closing tx negotiates *upwards* not *downwards*&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;    - Starting from base fee of commitment tx = 282 satoshi.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - to_remote output is always CSV delayed.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - pushme outputs are paid for by funder, but only exist if the matching&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;    to_local/remote output exists.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - After 10 blocks, they become anyone-can-spend (they need to see the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;    to-local/remote witness script though).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - remotepubkey is not rotated.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - You must spend your pushme output; you may sweep for others.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Signed-off-by: Rusty Russell &amp;lt;rusty at rustcorp.com.au&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; diff --git a/02-peer-protocol.md b/02-peer-protocol.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; index 7cf9ebf..6ec1155 100644&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --- a/02-peer-protocol.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&#43;&#43; b/02-peer-protocol.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -133,7 &#43;133,9 @@ node can offer.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   (i.e. 1/4 the more normally-used &amp;#39;satoshi per 1000 vbytes&amp;#39;) that this&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   side will pay for commitment and HTLC transactions, as described in&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   [BOLT #3](03-transactions.md#fee-calculation) (this can be adjusted&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -later with an `update_fee` message).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;later with an `update_fee` message).  Note that if&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;`option_simplified_commitment` is negotiated, this `feerate_per_kw`&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;is treated as 253 for all transactions.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   `to_self_delay` is the number of blocks that the other node&amp;#39;s to-self&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   outputs must be delayed, using `OP_CHECKSEQUENCEVERIFY` delays; this&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -208,7 &#43;210,8 @@ The receiving node MUST fail the channel if:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - `push_msat` is greater than `funding_satoshis` * 1000.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - `to_self_delay` is unreasonably large.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - `max_accepted_htlcs` is greater than 483.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -  - it considers `feerate_per_kw` too small for timely processing or &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; unreasonably large.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - if `option_simplified_commitment` is not negotiated:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    - it considers `feerate_per_kw` too small for timely processing &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; or unreasonably large.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - `funding_pubkey`, `revocation_basepoint`, `htlc_basepoint`, &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `payment_basepoint`, or `delayed_payment_basepoint`&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   are not valid DER-encoded compressed secp256k1 pubkeys.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - `dust_limit_satoshis` is greater than `channel_reserve_satoshis`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -228,7 &#43;231,7 @@ The *channel reserve* is specified by the peer&amp;#39;s &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `channel_reserve_satoshis`: 1%&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The sender can unconditionally give initial funds to the receiver &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; using a non-zero `push_msat`, but even in this case we ensure that the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; funder has sufficient remaining funds to pay fees and that one side &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; has some amount it can spend (which also implies there is at least one &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; non-dust output). Note that, like any other on-chain transaction, this &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; payment is not certain until the funding transaction has been &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; confirmed sufficiently (with a danger of double-spend until this &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; occurs) and may require a separate method to prove payment via &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; on-chain confirmation.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -The `feerate_per_kw` is generally only of concern to the sender (who &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; pays the fees), but there is also the fee rate paid by HTLC &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transactions; thus, unreasonably large fee rates can also penalize the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; recipient.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;The `feerate_per_kw` is generally only of concern to the sender (who &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; pays the fees), but there is also the fee rate paid by HTLC &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transactions; thus, unreasonably large fee rates can also penalize the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; recipient.  It is ignored for `option_simplified_commitment`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   Separating the `htlc_basepoint` from the `payment_basepoint` &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; improves security: a node needs the secret associated with the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `htlc_basepoint` to produce HTLC signatures for the protocol, but the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; secret for the `payment_basepoint` can be in cold storage.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -340,6 &#43;343,12 @@ This message introduces the `channel_id` to &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; identify the channel. It&amp;#39;s derived f&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   #### Requirements&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Both peers:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - if `option_simplified_commitment` was negotiated:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    - `option_simplified_commitment` applies to all commitment and &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; HTLC transactions&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - otherwise:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    - `option_simplified_commitment` does not apply to any commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; or HTLC transactions&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The sender MUST set:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - `channel_id` by exclusive-OR of the `funding_txid` and the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `funding_output_index` from the `funding_created` message.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - `signature` to the valid signature, using its `funding_pubkey` &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; for the initial commitment transaction, as defined in [BOLT &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #3](03-transactions.md#commitment-transaction).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -351,6 &#43;360,12 @@ The recipient:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - on receipt of a valid `funding_signed`:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       - SHOULD broadcast the funding transaction.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;#### Rationale&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;We decide on `option_simplified_commitment` at this point when we &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; first have to generate the commitment&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;transaction.  Even if a later reconnection does not negotiate this &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; parameter, this channel will honor it.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;This simplifies channel state, particularly penalty transaction &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; handling.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   ### The `funding_locked` Message&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   This message indicates that the funding transaction has reached the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `minimum_depth` asked for in `accept_channel`. Once both nodes have &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sent this, the channel enters normal operating mode.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -508,8 &#43;523,11 @@ The funding node:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       - SHOULD send a `closing_signed` message.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The sending node:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -  - MUST set `fee_satoshis` less than or equal to the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; - base fee of the final commitment transaction, as calculated in [BOLT &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #3](03-transactions.md#fee-calculation).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - if `option_upfront_shutdown_script` applies to the final &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; commitment transaction:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    - MUST set `fee_satoshis` greater than or equal to 282.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - otherwise:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    - MUST set `fee_satoshis` less than or equal to the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;      base fee of the final commitment transaction, as calculated in &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; [BOLT #3](03-transactions.md#fee-calculation).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - SHOULD set the initial `fee_satoshis` according to its&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;    estimate of cost of inclusion in a block.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - MUST set `signature` to the Bitcoin signature of the close&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -543,9 &#43;561,18 @@ progress is made, even if only by a single &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; satoshi at a time. To avoid&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   keeping state and to handle the corner case, where fees have shifted&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   between disconnection and reconnection, negotiation restarts on &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; reconnection.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -Note there is limited risk if the closing transaction is&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -delayed, but it will be broadcast very soon; so there is usually no&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -reason to pay a premium for rapid processing.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;In the `option_simplified_commitment` case, the fees on the commitment&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;transaction itself are minimal (it is assumed that a child &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction will&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;supply additional fee incentive), so that forms a floor for negotiation.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;[BOLT #3](03-transactions.md#fee-calculation), gives 282 satoshis (1116&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;weight, 254 `feerate_per_kw`).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Otherwise, the commitment transaction usually pays a premium fee, so &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; that&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;forms a ceiling.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Note there is limited risk if the closing transaction is delayed, but &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it will&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;be broadcast very soon; so there is usually no reason to pay a &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; premium for&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;rapid processing.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   ## Normal Operation&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -763,7 &#43;790,10 @@ is destined, is described in [BOLT &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #4](04-onion-routing.md).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   A sending node:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - MUST NOT offer `amount_msat` it cannot pay for in the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   remote commitment transaction at the current `feerate_per_kw` (see &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;#34;Updating&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -Fees&amp;#34;) while maintaining its channel reserve.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Fees&amp;#34;) while maintaining its channel reserve&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - if `option_simplified_commitment` applies to this commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction and the sending&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    node is the funder:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    - MUST be able to additionally pay for `to_local_pushme` and &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `to_remote_pushme` above its reserve.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - MUST offer `amount_msat` greater than 0.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - MUST NOT offer `amount_msat` below the receiving node&amp;#39;s &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `htlc_minimum_msat`&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - MUST set `cltv_expiry` less than 500000000.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -782,7 &#43;812,7 @@ Fees&amp;#34;) while maintaining its channel reserve.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   A receiving node:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - receiving an `amount_msat` equal to 0, OR less than its own &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `htlc_minimum_msat`:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       - SHOULD fail the channel.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -  - receiving an `amount_msat` that the sending node cannot afford at &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the current `feerate_per_kw` (while maintaining its channel reserve):&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - receiving an `amount_msat` that the sending node cannot afford at &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the current `feerate_per_kw` (while maintaining its channel reserve &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and any `to_local_pushme` and `to_remote_pushme` fees):&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       - SHOULD fail the channel.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - if a sending node adds more than its `max_accepted_htlcs` HTLCs to&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       its local commitment transaction, OR adds more than its &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `max_htlc_value_in_flight_msat` worth of offered HTLCs to its local &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; commitment transaction:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -997,6 &#43;1027,11 @@ A node:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   ### Updating Fees: `update_fee`&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;If `option_simplified_commitment` applies to the commitment transaction,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;`update_fee` is never used: the `feerate_per_kw` is always considered &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 253, but&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;the funder also pays 2000 satoshi for the `to_local_pushme` and&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;`to_remote_pushme` outputs.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   An `update_fee` message is sent by the node which is paying the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   Bitcoin fee. Like any update, it&amp;#39;s first committed to the receiver&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   commitment transaction and then (once acknowledged) committed to the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -1020,13 &#43;1055,19 @@ given in [BOLT &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #3](03-transactions.md#fee-calculation).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   #### Requirements&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The node _responsible_ for paying the Bitcoin fee:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -  - SHOULD send `update_fee` to ensure the current fee rate is &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sufficient (by a&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - if `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    - MUST NOT send `update_fee`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - otherwise:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    - SHOULD send `update_fee` to ensure the current fee rate is &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sufficient (by a&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;         significant margin) for timely processing of the commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The node _not responsible_ for paying the Bitcoin fee:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - MUST NOT send `update_fee`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   A receiving node:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - if `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    - SHOULD fail the channel.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    - MUST NOT update the `feerate_per_kw`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - if the `update_fee` is too low for timely processing, OR is &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; unreasonably large:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       - SHOULD fail the channel.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;     - if the sender is not responsible for paying the Bitcoin fee:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -1038,7 &#43;1079,12 @@ A receiving node:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   #### Rationale&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -Bitcoin fees are required for unilateral closes to be effective —&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Fee adjustments are unnecessary for `option_simplified_commitment` which&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;relies on &amp;#34;pushme&amp;#34; outputs and a child transaction which will provide&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;additional fee incentive which can be calculated at the time it is &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; spent, and&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;replaced by higher-fee children if required.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Without this option, bitcoin fees are required for unilateral closes &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to be effective —&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   particularly since there is no general method for the broadcasting &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; node to use&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   child-pays-for-parent to increase its effective fee.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; diff --git a/03-transactions.md b/03-transactions.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; index e769961..440bd0d 100644&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --- a/03-transactions.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&#43;&#43; b/03-transactions.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -82,6 &#43;82,8 @@ To allow an opportunity for penalty transactions, in &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; case of a revoked commitmen&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The reason for the separate transaction stage for HTLC outputs is so &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; that HTLCs can timeout or be fulfilled even though they are within the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `to_self_delay` delay.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   Otherwise, the required minimum timeout on HTLCs is lengthened by &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this delay, causing longer timeouts for HTLCs traversing the network.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;If `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction, then the `to_self_delay` used for all transactions is the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; greater of the `to_self_delay` sent by each peer.  Otherwise, each &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; peer sends the `to_self_delay` to be used for the other peer&amp;#39;s &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; commitment amd HTLC transactions.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The amounts for each output MUST be rounded down to whole satoshis. &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; If this amount, minus the fees for the HTLC transaction, is less than &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the `dust_limit_satoshis` set by the owner of the commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction, the output MUST NOT be produced (thus the funds add to &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; fees).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   #### `to_local` Output&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -109,7 &#43;111,40 @@ If a revoked commitment transaction is published, &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the other party can spend this&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   #### `to_remote` Output&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -This output sends funds to the other peer and thus is a simple P2WPKH &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to `remotepubkey`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;This output sends funds to the other peer, thus is not encumbered by a&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;revocation private key.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;If `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction, the `to_remote` output is delayed similarly to the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `to_local` output, and is to a fixed key:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        `to_self_delay`&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        OP_CSV&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        OP_DROP&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        &amp;lt;remote_pubkey&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;The output is spent by a transaction with `nSequence` field set to &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `to_self_delay` (which can only be valid after that duration has &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; passed) and witness:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    &amp;lt;remote_sig&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Otherwise, this output is a simple P2WPKH to `remotepubkey`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;#### `to_local_pushme` and `to_remote_pushme` Output &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (option_simplified_commitment)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;This output can be spent by the local and remote nodes respectivey to &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; provide incentive to mine the transaction, using &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; child-pays-for-parent.  They are only added if the `to_local` and &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `to_remote` outputs exist, respectively.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    OP_DEPTH&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    OP_IF&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        &amp;lt;pubkey&amp;gt; OP_CHECKSIG&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    OP_ELSE&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        10 OP_CSV&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    OP_ENDIF&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;The `&amp;lt;pubkey&amp;gt;` is `&amp;lt;local_delayedpubkey&amp;gt;` to `to_local_pushme` and&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;`&amp;lt;remote_delayedpubkey&amp;gt;` for `to_remote_pushme`.  The output amount is&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;1000 satoshi, to encourage spending of the output.  Once the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;`remote_pubkey` is revealed (by spending the `to_local` output) and&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;the commitment transaction is 10 blocks deep, anyone can spend it.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   #### Offered HTLC Outputs&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -294,6 &#43;329,9 @@ The fee calculation for both commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transactions and HTLC&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   transactions is based on the current `feerate_per_kw` and the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   *expected weight* of the transaction.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Note that if `option_simplified_commitment` applies to the commitment&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;transaction then `feerate_per_kw` is 253.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The actual and expected weights vary for several reasons:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   * Bitcoin uses DER-encoded signatures, which vary in size.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -306,10 &#43;344,12 @@ Thus, a simplified formula for *expected weight* &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; is used, which assumes:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   * Signatures are 73 bytes long (the maximum length).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   * There are a small number of outputs (thus 1 byte to count them).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   * There are always both a `to_local` output and a `to_remote` output.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;* (if `option_simplified_commitment`) there are always both a &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `to_local_pushme` and `to_remote_pushme` output.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   This yields the following *expected weights* (details of the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; computation in [Appendix A](#appendix-a-expected-weights)):&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -    Commitment weight:   724 &#43; 172 * num-untrimmed-htlc-outputs&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    Commitment weight (no option_simplified_commitment):   724 &#43; 172 &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; * num-untrimmed-htlc-outputs&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    Commitment weight (option_simplified_commitment:  1116 &#43; 172 * &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; num-untrimmed-htlc-outputs&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       HTLC-timeout weight: 663&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       HTLC-success weight: 703&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -366,7 &#43;406,7 @@ outputs) is 7140 satoshi. The final fee may be &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; even higher if the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   ### Fee Payment&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -Base commitment transaction fees are extracted from the funder&amp;#39;s &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; amount; if that amount is insufficient, the entire amount of the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; funder&amp;#39;s output is used.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Base commitment transaction fees and amounts for `to_local_pushme` &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and `to_remote_pushme` outputs are extracted from the funder&amp;#39;s amount; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; if that amount is insufficient, the entire amount of the funder&amp;#39;s &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; output is used.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   Note that after the fee amount is subtracted from the to-funder output,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   that output may be below `dust_limit_satoshis`, and thus will also&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -390,23 &#43;430,29 @@ committed HTLCs:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   2. Calculate the base [commitment transaction fee](#fee-calculation).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   3. Subtract this base fee from the funder (either `to_local` or &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `to_remote`),&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;      with a floor of 0 (see [Fee Payment](#fee-payment)).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;4. If `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;   subtract 2000 satoshis from the funder (either `to_local` or &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `to_remote`).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   3. For every offered HTLC, if it is not trimmed, add an&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;      [offered HTLC output](#offered-htlc-outputs).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   4. For every received HTLC, if it is not trimmed, add an&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;      [received HTLC output](#received-htlc-outputs).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   5. If the `to_local` amount is greater or equal to &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `dust_limit_satoshis`,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;      add a [`to_local` output](#to_local-output).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;6. If `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;   and `to_local` was added, add `to_local_pushme`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   6. If the `to_remote` amount is greater or equal to &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `dust_limit_satoshis`,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;      add a [`to_remote` output](#to_remote-output).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;6. If `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;   and `to_remote` was added, add `to_remote_pushme`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   7. Sort the outputs into [BIP 69 &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; order](#transaction-input-and-output-ordering).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   # Keys&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   ## Key Derivation&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -Each commitment transaction uses a unique set of keys: `localpubkey` &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and `remotepubkey`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Each commitment transaction uses a unique `localpubkey`, and a &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `remotepubkey`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The HTLC-success and HTLC-timeout transactions use &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `local_delayedpubkey` and `revocationpubkey`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -These are changed for every transaction based on the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `per_commitment_point`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;These are changed for every transaction based on the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `per_commitment_point`, with the exception of `remotepubkey` if &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `option_simplified_commitment` is negotiated.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The reason for key change is so that trustless watching for revoked&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   transactions can be outsourced. Such a _watcher_ should not be able to&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -419,8 &#43;465,9 @@ avoid storage of every commitment transaction, a &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _watcher_ can be given the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   the scripts required for the penalty transaction; thus, a _watcher_ &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; need only be&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   given (and store) the signatures for each penalty input.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -Changing the `localpubkey` and `remotepubkey` every time ensures that &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; commitment&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -transaction ID cannot be guessed; every commitment transaction uses &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; an ID&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Changing the `localpubkey` every time ensures that commitment&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;transaction ID cannot be guessed except in the trivial case where &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; there is no&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;`to_local` output, as every commitment transaction uses an ID&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   in its output script. Splitting the `local_delayedpubkey`, which is &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; required for&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   the penalty transaction, allows it to be shared with the _watcher_ &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; without&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   revealing `localpubkey`; even if both peers use the same _watcher_, &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; nothing is revealed.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -434,14 &#43;481,13 @@ For efficiency, keys are generated from a series &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; of per-commitment secrets&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   that are generated from a single seed, which allows the receiver to &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; compactly&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   store them (see [below](#efficient-per-commitment-secret-storage)).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -### `localpubkey`, `remotepubkey`, `local_htlcpubkey`, &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `remote_htlcpubkey`, `local_delayedpubkey`, and `remote_delayedpubkey` &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Derivation&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;### `localpubkey``local_htlcpubkey`, `remote_htlcpubkey`, &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `local_delayedpubkey`, and `remote_delayedpubkey` Derivation&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   These pubkeys are simply generated by addition from their base points:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       pubkey = basepoint &#43; SHA256(per_commitment_point || basepoint) * G&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -The `localpubkey` uses the local node&amp;#39;s `payment_basepoint`; the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `remotepubkey`&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -uses the remote node&amp;#39;s `payment_basepoint`; the `local_delayedpubkey`&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;The `localpubkey` uses the local node&amp;#39;s `payment_basepoint`; the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `local_delayedpubkey`&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   uses the local node&amp;#39;s `delayed_payment_basepoint`; the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `local_htlcpubkey` uses the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   local node&amp;#39;s `htlc_basepoint`; and the `remote_delayedpubkey` uses &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the remote&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   node&amp;#39;s `delayed_payment_basepoint`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -451,6 &#43;497,17 @@ secrets are known (i.e. the private keys &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; corresponding to `localpubkey`, `local_&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       privkey = basepoint_secret &#43; SHA256(per_commitment_point || &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; basepoint)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;### `remotepubkey` Derivation&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;If `option_simplified_commitment` is negotiated the `remotepubkey` is &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; simply the remote node&amp;#39;s `payment_basepoint`, otherwise it is &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; calculated as above using the remote node&amp;#39;s `payment_basepoint`.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;The simplified derivation means that a node can spend a commitment&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;transaction even if it has lost data and doesn&amp;#39;t know the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;corresponding `payment_basepoint`.  A watchtower could correlate&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;transactions given to it which only have a `to_remote` output if it&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;sees one of them onchain, but such transactions do not need any&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;enforcement and should not be handed to a watchtower.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   ### `revocationpubkey` Derivation&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The `revocationpubkey` is a blinded key: when the local node wishes &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to create a new&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -636,12 &#43;693,22 @@ The *expected weight* of a commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction is calculated as follows:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -    output_paying_to_remote: 31 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    output_paying_to_remote (no option_simplified_commitment): 31 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - value: 8 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - pk_script (p2wpkh): 22 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -     htlc_output: 43 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    output_paying_to_remote (option_simplified_commitment): 43 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - value: 8 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    output_pushme (option_simplified_commitment): 43 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - value: 8 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    htlc_output: 43 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - value: 8 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -650,7 &#43;717,7 @@ The *expected weight* of a commitment transaction &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; is calculated as follows:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - flag: 1 byte&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - marker: 1 byte&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -     commitment_transaction: 125 &#43; 43 * num-htlc-outputs bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;     commitment_transaction (no option_simplified_commitment): 125 &#43; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 43 * num-htlc-outputs bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - version: 4 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - witness_header &amp;lt;---- part of the witness data&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - count_tx_in: 1 byte&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -663,15 &#43;730,32 @@ The *expected weight* of a commitment &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; transaction is calculated as follows:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;               ....htlc_output&amp;#39;s...&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - lock_time: 4 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;     commitment_transaction (option_simplified_commitment): 223 &#43; 43 &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; * num-htlc-outputs bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - version: 4 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - witness_header &amp;lt;---- part of the witness data&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - count_tx_in: 1 byte&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - tx_in: 41 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;            funding_input&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - count_tx_out: 1 byte&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - tx_out: 172 &#43; 43 * num-htlc-outputs bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;            output_paying_to_remote,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;            output_paying_to_local,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;            output_pushme,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;            output_pushme,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;            ....htlc_output&amp;#39;s...&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - lock_time: 4 bytes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   Multiplying non-witness data by 4 results in a weight of:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -    // 500 &#43; 172 * num-htlc-outputs weight&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    // 500 &#43; 172 * num-htlc-outputs weight (no &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; option_simplified_commitment)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    // 892 &#43; 172 * num-htlc-outputs weight &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (option_simplified_commitment)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       commitment_transaction_weight = 4 * commitment_transaction&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       // 224 weight&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;       witness_weight = witness_header &#43; witness&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -    overall_weight = 500 &#43; 172 * num-htlc-outputs &#43; 224 weight&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    overall_weight (no option_simplified_commitment) = 500 &#43; 172 * &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; num-htlc-outputs &#43; 224 weight&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;    overall_weight (option_simplified_commitment) = 892 &#43; 172 * &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; num-htlc-outputs &#43; 224 weight&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   ## Expected Weight of HTLC-timeout and HTLC-success Transactions&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; diff --git a/05-onchain.md b/05-onchain.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; index 231c209..c5fb5e1 100644&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --- a/05-onchain.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&#43;&#43; b/05-onchain.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -89,21 &#43;89,29 @@ trigger any action.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   # Commitment Transaction&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   The local and remote nodes each hold a *commitment transaction*. &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Each of these&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -commitment transactions has four types of outputs:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;commitment transactions has six types of outputs:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   1. _local node&amp;#39;s main output_: Zero or one output, to pay to the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *local node&amp;#39;s*&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -commitment pubkey.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;delayed pubkey.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   2. _remote node&amp;#39;s main output_: Zero or one output, to pay to the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *remote node&amp;#39;s*&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -commitment pubkey.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;pubkey.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;1. _local node&amp;#39;s push output_: Zero or one output, to pay to the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *local node&amp;#39;s*&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;delayed pubkey.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;2. _remote node&amp;#39;s push output_: Zero or one output, to pay to the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *remote node&amp;#39;s*&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;pubkey.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   3. _local node&amp;#39;s offered HTLCs_: Zero or more pending payments &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (*HTLCs*), to pay&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   the *remote node* in return for a payment preimage.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   4. _remote node&amp;#39;s offered HTLCs_: Zero or more pending payments &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (*HTLCs*), to&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   pay the *local node* in return for a payment preimage.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   To incentivize the local and remote nodes to cooperate, an &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `OP_CHECKSEQUENCEVERIFY`&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -relative timeout encumbers the *local node&amp;#39;s outputs* (in the *local &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; node&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;relative timeout encumbers some outputs: the *local node&amp;#39;s outputs* &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (in the *local node&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   commitment transaction*) and the *remote node&amp;#39;s outputs* (in the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *remote node&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -commitment transaction*). So for example, if the local node publishes &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; its&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;commitment transaction*). If `option_simplified_commitment` applies&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;to the commitment transaction, then the *to_remote* output of each &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; commitment is&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;identically encumbered, for fairness.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;Without `option_simplified_commitment`, if the local node publishes its&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   commitment transaction, it will have to wait to claim its own funds,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   whereas the remote node will have immediate access to its own funds. &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; As a&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   consequence, the two commitment transactions are not identical, but &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; they are&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -140,6 &#43;148,11 @@ A node:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;         - otherwise:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           - MUST use the *last commitment transaction*, for which it &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; has a&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;           signature, to perform a *unilateral close*.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;      - MUST spend any `to_local_pushme` output, providing sufficient &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; fees as incentive to include the commitment transaction in a block&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;        - SHOULD use &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; [replace-by-fee](&lt;a href=&#34;https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki&#34;&gt;https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki&lt;/a&gt;) &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; or other mechanism on the spending transaction if it proves &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; insufficient for timely inclusion in a block.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;A node:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;  - MAY monitor the blockchain for unspent `to_local_pushme` and &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `to_remote_pushme` outputs and try to spend them after 10 confirmations.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   ## Rationale&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -154,7 &#43;167,8 @@ need not consume resources monitoring the channel &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; state.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   There exists a bias towards preferring mutual closes over unilateral &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; closes,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   because outputs of the former are unencumbered by a delay and are &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; directly&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   spendable by wallets. In addition, mutual close fees tend to be less &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; exaggerated&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -than those of commitment transactions. So, the only reason not to use &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;than those of commitment transactions (or in the case of &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; `option_simplified_commitment`,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;the commitment transaction may require a child transaction to cause &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it to be mined). So, the only reason not to use the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   signature from `closing_signed` would be if the fee offered was too &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; small for&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   it to be processed.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; diff --git a/09-features.md b/09-features.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; index d06fcff..caea38b 100644&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --- a/09-features.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;&#43;&#43; b/09-features.md&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; @@ -26,6 &#43;26,7 @@ These flags may only be used in the `init` message:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   | 3  | `initial_routing_sync` | Indicates that the sending node &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; needs a complete routing information dump | [BOLT &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #7](07-routing-gossip.md#initial-sync) |&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   | 4/5  | `option_upfront_shutdown_script` | Commits to a shutdown &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; scriptpubkey when opening channel | [BOLT &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #2](02-peer-protocol.md#the-open_channel-message) |&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   | 6/7  | `gossip_queries`           | More sophisticated gossip &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; control | [BOLT #7](07-routing-gossip.md#query-messages) |&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#43;| 8/9  | `option_simplified_commitment`           | Simplified &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; commitment transactions | [BOLT #3](03-transactions.md) |&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   ## Assigned `globalfeatures` flags&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;
    </content>
    <updated>2023-06-09T12:53:01Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsxasg3eq9j6yx03jeg02e7mdy3z59n45gsphrljzyczzl6m7tazlqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5q3ul6n</id>
    
      <title type="html">📅 Original date posted:2018-11-21 📝 Original message: Not ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsxasg3eq9j6yx03jeg02e7mdy3z59n45gsphrljzyczzl6m7tazlqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5q3ul6n" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqst76jhgmj79xgq9eanufcyxytl98ftam9ls0au6qrvywjygfp64rsp27lll&#39;&gt;nevent1q…7lll&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-11-21&lt;br/&gt;📝 Original message:&lt;br/&gt;Not sure if others already realized this, but in thinking about our RBF &lt;br/&gt;policy hack from Adelaide a bit more, to allow the carve-out exception &lt;br/&gt;of &amp;#34;last tx in a package, which has only one unconfirmed ancestor&amp;#34; to &lt;br/&gt;always be available for the &amp;#34;honest party&amp;#34; when broadcasting a &lt;br/&gt;commitment transaction, we also need at least a CSV delay of 1 block on &lt;br/&gt;the HTLC transaction outputs (as otherwise those transactions could &lt;br/&gt;count as the carve-out tx).&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 11/21/18 2:17 AM, Rusty Russell wrote:&lt;br/&gt;&amp;gt; I&amp;#39;m also starting to implement this, to see what I missed!&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Original at &lt;a href=&#34;https://github.com/lightningnetwork/lightning-rfc/pull/513&#34;&gt;https://github.com/lightningnetwork/lightning-rfc/pull/513&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Pasted here for your reading convenience:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; - Option is sticky; it set at open time, it stays with channel&lt;br/&gt;&amp;gt;    - I didn&amp;#39;t want to have to handle penalty txs on channels which switch&lt;br/&gt;&amp;gt;    - We could, however, upgrade on splice.&lt;br/&gt;&amp;gt; - Feerate is fixed at 253&lt;br/&gt;&amp;gt;    - `feerate_per_kw` is still in open /accept (just ignored): multifund may want it.&lt;br/&gt;&amp;gt; - closing tx negotiates *upwards* not *downwards*&lt;br/&gt;&amp;gt;    - Starting from base fee of commitment tx = 282 satoshi.&lt;br/&gt;&amp;gt; - to_remote output is always CSV delayed.&lt;br/&gt;&amp;gt; - pushme outputs are paid for by funder, but only exist if the matching&lt;br/&gt;&amp;gt;    to_local/remote output exists.&lt;br/&gt;&amp;gt; - After 10 blocks, they become anyone-can-spend (they need to see the&lt;br/&gt;&amp;gt;    to-local/remote witness script though).&lt;br/&gt;&amp;gt; - remotepubkey is not rotated.&lt;br/&gt;&amp;gt; - You must spend your pushme output; you may sweep for others.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Signed-off-by: Rusty Russell &amp;lt;rusty at rustcorp.com.au&amp;gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; diff --git a/02-peer-protocol.md b/02-peer-protocol.md&lt;br/&gt;&amp;gt; index 7cf9ebf..6ec1155 100644&lt;br/&gt;&amp;gt; --- a/02-peer-protocol.md&lt;br/&gt;&amp;gt; &#43;&#43;&#43; b/02-peer-protocol.md&lt;br/&gt;&amp;gt; @@ -133,7 &#43;133,9 @@ node can offer.&lt;br/&gt;&amp;gt;   (i.e. 1/4 the more normally-used &amp;#39;satoshi per 1000 vbytes&amp;#39;) that this&lt;br/&gt;&amp;gt;   side will pay for commitment and HTLC transactions, as described in&lt;br/&gt;&amp;gt;   [BOLT #3](03-transactions.md#fee-calculation) (this can be adjusted&lt;br/&gt;&amp;gt; -later with an `update_fee` message).&lt;br/&gt;&amp;gt; &#43;later with an `update_fee` message).  Note that if&lt;br/&gt;&amp;gt; &#43;`option_simplified_commitment` is negotiated, this `feerate_per_kw`&lt;br/&gt;&amp;gt; &#43;is treated as 253 for all transactions.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   `to_self_delay` is the number of blocks that the other node&amp;#39;s to-self&lt;br/&gt;&amp;gt;   outputs must be delayed, using `OP_CHECKSEQUENCEVERIFY` delays; this&lt;br/&gt;&amp;gt; @@ -208,7 &#43;210,8 @@ The receiving node MUST fail the channel if:&lt;br/&gt;&amp;gt;     - `push_msat` is greater than `funding_satoshis` * 1000.&lt;br/&gt;&amp;gt;     - `to_self_delay` is unreasonably large.&lt;br/&gt;&amp;gt;     - `max_accepted_htlcs` is greater than 483.&lt;br/&gt;&amp;gt; -  - it considers `feerate_per_kw` too small for timely processing or unreasonably large.&lt;br/&gt;&amp;gt; &#43;  - if `option_simplified_commitment` is not negotiated:&lt;br/&gt;&amp;gt; &#43;    - it considers `feerate_per_kw` too small for timely processing or unreasonably large.&lt;br/&gt;&amp;gt;     - `funding_pubkey`, `revocation_basepoint`, `htlc_basepoint`, `payment_basepoint`, or `delayed_payment_basepoint`&lt;br/&gt;&amp;gt;   are not valid DER-encoded compressed secp256k1 pubkeys.&lt;br/&gt;&amp;gt;     - `dust_limit_satoshis` is greater than `channel_reserve_satoshis`.&lt;br/&gt;&amp;gt; @@ -228,7 &#43;231,7 @@ The *channel reserve* is specified by the peer&amp;#39;s `channel_reserve_satoshis`: 1%&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   The sender can unconditionally give initial funds to the receiver using a non-zero `push_msat`, but even in this case we ensure that the funder has sufficient remaining funds to pay fees and that one side has some amount it can spend (which also implies there is at least one non-dust output). Note that, like any other on-chain transaction, this payment is not certain until the funding transaction has been confirmed sufficiently (with a danger of double-spend until this occurs) and may require a separate method to prove payment via on-chain confirmation.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -The `feerate_per_kw` is generally only of concern to the sender (who pays the fees), but there is also the fee rate paid by HTLC transactions; thus, unreasonably large fee rates can also penalize the recipient.&lt;br/&gt;&amp;gt; &#43;The `feerate_per_kw` is generally only of concern to the sender (who pays the fees), but there is also the fee rate paid by HTLC transactions; thus, unreasonably large fee rates can also penalize the recipient.  It is ignored for `option_simplified_commitment`.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   Separating the `htlc_basepoint` from the `payment_basepoint` improves security: a node needs the secret associated with the `htlc_basepoint` to produce HTLC signatures for the protocol, but the secret for the `payment_basepoint` can be in cold storage.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; @@ -340,6 &#43;343,12 @@ This message introduces the `channel_id` to identify the channel. It&amp;#39;s derived f&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   #### Requirements&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; &#43;Both peers:&lt;br/&gt;&amp;gt; &#43;  - if `option_simplified_commitment` was negotiated:&lt;br/&gt;&amp;gt; &#43;    - `option_simplified_commitment` applies to all commitment and HTLC transactions&lt;br/&gt;&amp;gt; &#43;  - otherwise:&lt;br/&gt;&amp;gt; &#43;    - `option_simplified_commitment` does not apply to any commitment or HTLC transactions&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;   The sender MUST set:&lt;br/&gt;&amp;gt;     - `channel_id` by exclusive-OR of the `funding_txid` and the `funding_output_index` from the `funding_created` message.&lt;br/&gt;&amp;gt;     - `signature` to the valid signature, using its `funding_pubkey` for the initial commitment transaction, as defined in [BOLT #3](03-transactions.md#commitment-transaction).&lt;br/&gt;&amp;gt; @@ -351,6 &#43;360,12 @@ The recipient:&lt;br/&gt;&amp;gt;     - on receipt of a valid `funding_signed`:&lt;br/&gt;&amp;gt;       - SHOULD broadcast the funding transaction.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; &#43;#### Rationale&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;We decide on `option_simplified_commitment` at this point when we first have to generate the commitment&lt;br/&gt;&amp;gt; &#43;transaction.  Even if a later reconnection does not negotiate this parameter, this channel will honor it.&lt;br/&gt;&amp;gt; &#43;This simplifies channel state, particularly penalty transaction handling.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;   ### The `funding_locked` Message&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   This message indicates that the funding transaction has reached the `minimum_depth` asked for in `accept_channel`. Once both nodes have sent this, the channel enters normal operating mode.&lt;br/&gt;&amp;gt; @@ -508,8 &#43;523,11 @@ The funding node:&lt;br/&gt;&amp;gt;       - SHOULD send a `closing_signed` message.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   The sending node:&lt;br/&gt;&amp;gt; -  - MUST set `fee_satoshis` less than or equal to the&lt;br/&gt;&amp;gt; - base fee of the final commitment transaction, as calculated in [BOLT #3](03-transactions.md#fee-calculation).&lt;br/&gt;&amp;gt; &#43;  - if `option_upfront_shutdown_script` applies to the final commitment transaction:&lt;br/&gt;&amp;gt; &#43;    - MUST set `fee_satoshis` greater than or equal to 282.&lt;br/&gt;&amp;gt; &#43;  - otherwise:&lt;br/&gt;&amp;gt; &#43;    - MUST set `fee_satoshis` less than or equal to the&lt;br/&gt;&amp;gt; &#43;      base fee of the final commitment transaction, as calculated in [BOLT #3](03-transactions.md#fee-calculation).&lt;br/&gt;&amp;gt;     - SHOULD set the initial `fee_satoshis` according to its&lt;br/&gt;&amp;gt;    estimate of cost of inclusion in a block.&lt;br/&gt;&amp;gt;     - MUST set `signature` to the Bitcoin signature of the close&lt;br/&gt;&amp;gt; @@ -543,9 &#43;561,18 @@ progress is made, even if only by a single satoshi at a time. To avoid&lt;br/&gt;&amp;gt;   keeping state and to handle the corner case, where fees have shifted&lt;br/&gt;&amp;gt;   between disconnection and reconnection, negotiation restarts on reconnection.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -Note there is limited risk if the closing transaction is&lt;br/&gt;&amp;gt; -delayed, but it will be broadcast very soon; so there is usually no&lt;br/&gt;&amp;gt; -reason to pay a premium for rapid processing.&lt;br/&gt;&amp;gt; &#43;In the `option_simplified_commitment` case, the fees on the commitment&lt;br/&gt;&amp;gt; &#43;transaction itself are minimal (it is assumed that a child transaction will&lt;br/&gt;&amp;gt; &#43;supply additional fee incentive), so that forms a floor for negotiation.&lt;br/&gt;&amp;gt; &#43;[BOLT #3](03-transactions.md#fee-calculation), gives 282 satoshis (1116&lt;br/&gt;&amp;gt; &#43;weight, 254 `feerate_per_kw`).&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;Otherwise, the commitment transaction usually pays a premium fee, so that&lt;br/&gt;&amp;gt; &#43;forms a ceiling.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;Note there is limited risk if the closing transaction is delayed, but it will&lt;br/&gt;&amp;gt; &#43;be broadcast very soon; so there is usually no reason to pay a premium for&lt;br/&gt;&amp;gt; &#43;rapid processing.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   ## Normal Operation&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; @@ -763,7 &#43;790,10 @@ is destined, is described in [BOLT #4](04-onion-routing.md).&lt;br/&gt;&amp;gt;   A sending node:&lt;br/&gt;&amp;gt;     - MUST NOT offer `amount_msat` it cannot pay for in the&lt;br/&gt;&amp;gt;   remote commitment transaction at the current `feerate_per_kw` (see &amp;#34;Updating&lt;br/&gt;&amp;gt; -Fees&amp;#34;) while maintaining its channel reserve.&lt;br/&gt;&amp;gt; &#43;Fees&amp;#34;) while maintaining its channel reserve&lt;br/&gt;&amp;gt; &#43;  - if `option_simplified_commitment` applies to this commitment transaction and the sending&lt;br/&gt;&amp;gt; &#43;    node is the funder:&lt;br/&gt;&amp;gt; &#43;    - MUST be able to additionally pay for `to_local_pushme` and `to_remote_pushme` above its reserve.&lt;br/&gt;&amp;gt;     - MUST offer `amount_msat` greater than 0.&lt;br/&gt;&amp;gt;     - MUST NOT offer `amount_msat` below the receiving node&amp;#39;s `htlc_minimum_msat`&lt;br/&gt;&amp;gt;     - MUST set `cltv_expiry` less than 500000000.&lt;br/&gt;&amp;gt; @@ -782,7 &#43;812,7 @@ Fees&amp;#34;) while maintaining its channel reserve.&lt;br/&gt;&amp;gt;   A receiving node:&lt;br/&gt;&amp;gt;     - receiving an `amount_msat` equal to 0, OR less than its own `htlc_minimum_msat`:&lt;br/&gt;&amp;gt;       - SHOULD fail the channel.&lt;br/&gt;&amp;gt; -  - receiving an `amount_msat` that the sending node cannot afford at the current `feerate_per_kw` (while maintaining its channel reserve):&lt;br/&gt;&amp;gt; &#43;  - receiving an `amount_msat` that the sending node cannot afford at the current `feerate_per_kw` (while maintaining its channel reserve and any `to_local_pushme` and `to_remote_pushme` fees):&lt;br/&gt;&amp;gt;       - SHOULD fail the channel.&lt;br/&gt;&amp;gt;     - if a sending node adds more than its `max_accepted_htlcs` HTLCs to&lt;br/&gt;&amp;gt;       its local commitment transaction, OR adds more than its `max_htlc_value_in_flight_msat` worth of offered HTLCs to its local commitment transaction:&lt;br/&gt;&amp;gt; @@ -997,6 &#43;1027,11 @@ A node:&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   ### Updating Fees: `update_fee`&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; &#43;If `option_simplified_commitment` applies to the commitment transaction,&lt;br/&gt;&amp;gt; &#43;`update_fee` is never used: the `feerate_per_kw` is always considered 253, but&lt;br/&gt;&amp;gt; &#43;the funder also pays 2000 satoshi for the `to_local_pushme` and&lt;br/&gt;&amp;gt; &#43;`to_remote_pushme` outputs.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;   An `update_fee` message is sent by the node which is paying the&lt;br/&gt;&amp;gt;   Bitcoin fee. Like any update, it&amp;#39;s first committed to the receiver&amp;#39;s&lt;br/&gt;&amp;gt;   commitment transaction and then (once acknowledged) committed to the&lt;br/&gt;&amp;gt; @@ -1020,13 &#43;1055,19 @@ given in [BOLT #3](03-transactions.md#fee-calculation).&lt;br/&gt;&amp;gt;   #### Requirements&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   The node _responsible_ for paying the Bitcoin fee:&lt;br/&gt;&amp;gt; -  - SHOULD send `update_fee` to ensure the current fee rate is sufficient (by a&lt;br/&gt;&amp;gt; &#43;  - if `option_simplified_commitment` applies to the commitment transaction:&lt;br/&gt;&amp;gt; &#43;    - MUST NOT send `update_fee`.&lt;br/&gt;&amp;gt; &#43;  - otherwise:&lt;br/&gt;&amp;gt; &#43;    - SHOULD send `update_fee` to ensure the current fee rate is sufficient (by a&lt;br/&gt;&amp;gt;         significant margin) for timely processing of the commitment transaction.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   The node _not responsible_ for paying the Bitcoin fee:&lt;br/&gt;&amp;gt;     - MUST NOT send `update_fee`.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   A receiving node:&lt;br/&gt;&amp;gt; &#43;  - if `option_simplified_commitment` applies to the commitment transaction:&lt;br/&gt;&amp;gt; &#43;    - SHOULD fail the channel.&lt;br/&gt;&amp;gt; &#43;	- MUST NOT update the `feerate_per_kw`.&lt;br/&gt;&amp;gt;     - if the `update_fee` is too low for timely processing, OR is unreasonably large:&lt;br/&gt;&amp;gt;       - SHOULD fail the channel.&lt;br/&gt;&amp;gt;     - if the sender is not responsible for paying the Bitcoin fee:&lt;br/&gt;&amp;gt; @@ -1038,7 &#43;1079,12 @@ A receiving node:&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   #### Rationale&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -Bitcoin fees are required for unilateral closes to be effective —&lt;br/&gt;&amp;gt; &#43;Fee adjustments are unnecessary for `option_simplified_commitment` which&lt;br/&gt;&amp;gt; &#43;relies on &amp;#34;pushme&amp;#34; outputs and a child transaction which will provide&lt;br/&gt;&amp;gt; &#43;additional fee incentive which can be calculated at the time it is spent, and&lt;br/&gt;&amp;gt; &#43;replaced by higher-fee children if required.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;Without this option, bitcoin fees are required for unilateral closes to be effective —&lt;br/&gt;&amp;gt;   particularly since there is no general method for the broadcasting node to use&lt;br/&gt;&amp;gt;   child-pays-for-parent to increase its effective fee.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; diff --git a/03-transactions.md b/03-transactions.md&lt;br/&gt;&amp;gt; index e769961..440bd0d 100644&lt;br/&gt;&amp;gt; --- a/03-transactions.md&lt;br/&gt;&amp;gt; &#43;&#43;&#43; b/03-transactions.md&lt;br/&gt;&amp;gt; @@ -82,6 &#43;82,8 @@ To allow an opportunity for penalty transactions, in case of a revoked commitmen&lt;br/&gt;&amp;gt;   The reason for the separate transaction stage for HTLC outputs is so that HTLCs can timeout or be fulfilled even though they are within the `to_self_delay` delay.&lt;br/&gt;&amp;gt;   Otherwise, the required minimum timeout on HTLCs is lengthened by this delay, causing longer timeouts for HTLCs traversing the network.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; &#43;If `option_simplified_commitment` applies to the commitment transaction, then the `to_self_delay` used for all transactions is the greater of the `to_self_delay` sent by each peer.  Otherwise, each peer sends the `to_self_delay` to be used for the other peer&amp;#39;s commitment amd HTLC transactions.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;   The amounts for each output MUST be rounded down to whole satoshis. If this amount, minus the fees for the HTLC transaction, is less than the `dust_limit_satoshis` set by the owner of the commitment transaction, the output MUST NOT be produced (thus the funds add to fees).&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   #### `to_local` Output&lt;br/&gt;&amp;gt; @@ -109,7 &#43;111,40 @@ If a revoked commitment transaction is published, the other party can spend this&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   #### `to_remote` Output&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -This output sends funds to the other peer and thus is a simple P2WPKH to `remotepubkey`.&lt;br/&gt;&amp;gt; &#43;This output sends funds to the other peer, thus is not encumbered by a&lt;br/&gt;&amp;gt; &#43;revocation private key.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;If `option_simplified_commitment` applies to the commitment transaction, the `to_remote` output is delayed similarly to the `to_local` output, and is to a fixed key:&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;        `to_self_delay`&lt;br/&gt;&amp;gt; &#43;        OP_CSV&lt;br/&gt;&amp;gt; &#43;        OP_DROP&lt;br/&gt;&amp;gt; &#43;        &amp;lt;remote_pubkey&amp;gt;&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;The output is spent by a transaction with `nSequence` field set to `to_self_delay` (which can only be valid after that duration has passed) and witness:&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;    &amp;lt;remote_sig&amp;gt;&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;Otherwise, this output is a simple P2WPKH to `remotepubkey`.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;#### `to_local_pushme` and `to_remote_pushme` Output (option_simplified_commitment)&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;This output can be spent by the local and remote nodes respectivey to provide incentive to mine the transaction, using child-pays-for-parent.  They are only added if the `to_local` and `to_remote` outputs exist, respectively.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;    OP_DEPTH&lt;br/&gt;&amp;gt; &#43;    OP_IF&lt;br/&gt;&amp;gt; &#43;        &amp;lt;pubkey&amp;gt; OP_CHECKSIG&lt;br/&gt;&amp;gt; &#43;    OP_ELSE&lt;br/&gt;&amp;gt; &#43;        10 OP_CSV&lt;br/&gt;&amp;gt; &#43;    OP_ENDIF&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;The `&amp;lt;pubkey&amp;gt;` is `&amp;lt;local_delayedpubkey&amp;gt;` to `to_local_pushme` and&lt;br/&gt;&amp;gt; &#43;`&amp;lt;remote_delayedpubkey&amp;gt;` for `to_remote_pushme`.  The output amount is&lt;br/&gt;&amp;gt; &#43;1000 satoshi, to encourage spending of the output.  Once the&lt;br/&gt;&amp;gt; &#43;`remote_pubkey` is revealed (by spending the `to_local` output) and&lt;br/&gt;&amp;gt; &#43;the commitment transaction is 10 blocks deep, anyone can spend it.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   #### Offered HTLC Outputs&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; @@ -294,6 &#43;329,9 @@ The fee calculation for both commitment transactions and HTLC&lt;br/&gt;&amp;gt;   transactions is based on the current `feerate_per_kw` and the&lt;br/&gt;&amp;gt;   *expected weight* of the transaction.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; &#43;Note that if `option_simplified_commitment` applies to the commitment&lt;br/&gt;&amp;gt; &#43;transaction then `feerate_per_kw` is 253.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;   The actual and expected weights vary for several reasons:&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   * Bitcoin uses DER-encoded signatures, which vary in size.&lt;br/&gt;&amp;gt; @@ -306,10 &#43;344,12 @@ Thus, a simplified formula for *expected weight* is used, which assumes:&lt;br/&gt;&amp;gt;   * Signatures are 73 bytes long (the maximum length).&lt;br/&gt;&amp;gt;   * There are a small number of outputs (thus 1 byte to count them).&lt;br/&gt;&amp;gt;   * There are always both a `to_local` output and a `to_remote` output.&lt;br/&gt;&amp;gt; &#43;* (if `option_simplified_commitment`) there are always both a `to_local_pushme` and `to_remote_pushme` output.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   This yields the following *expected weights* (details of the computation in [Appendix A](#appendix-a-expected-weights)):&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -    Commitment weight:   724 &#43; 172 * num-untrimmed-htlc-outputs&lt;br/&gt;&amp;gt; &#43;    Commitment weight (no option_simplified_commitment):   724 &#43; 172 * num-untrimmed-htlc-outputs&lt;br/&gt;&amp;gt; &#43;    Commitment weight (option_simplified_commitment:  1116 &#43; 172 * num-untrimmed-htlc-outputs&lt;br/&gt;&amp;gt;       HTLC-timeout weight: 663&lt;br/&gt;&amp;gt;       HTLC-success weight: 703&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; @@ -366,7 &#43;406,7 @@ outputs) is 7140 satoshi. The final fee may be even higher if the&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   ### Fee Payment&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -Base commitment transaction fees are extracted from the funder&amp;#39;s amount; if that amount is insufficient, the entire amount of the funder&amp;#39;s output is used.&lt;br/&gt;&amp;gt; &#43;Base commitment transaction fees and amounts for `to_local_pushme` and `to_remote_pushme` outputs are extracted from the funder&amp;#39;s amount; if that amount is insufficient, the entire amount of the funder&amp;#39;s output is used.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   Note that after the fee amount is subtracted from the to-funder output,&lt;br/&gt;&amp;gt;   that output may be below `dust_limit_satoshis`, and thus will also&lt;br/&gt;&amp;gt; @@ -390,23 &#43;430,29 @@ committed HTLCs:&lt;br/&gt;&amp;gt;   2. Calculate the base [commitment transaction fee](#fee-calculation).&lt;br/&gt;&amp;gt;   3. Subtract this base fee from the funder (either `to_local` or `to_remote`),&lt;br/&gt;&amp;gt;      with a floor of 0 (see [Fee Payment](#fee-payment)).&lt;br/&gt;&amp;gt; &#43;4. If `option_simplified_commitment` applies to the commitment transaction,&lt;br/&gt;&amp;gt; &#43;   subtract 2000 satoshis from the funder (either `to_local` or `to_remote`).&lt;br/&gt;&amp;gt;   3. For every offered HTLC, if it is not trimmed, add an&lt;br/&gt;&amp;gt;      [offered HTLC output](#offered-htlc-outputs).&lt;br/&gt;&amp;gt;   4. For every received HTLC, if it is not trimmed, add an&lt;br/&gt;&amp;gt;      [received HTLC output](#received-htlc-outputs).&lt;br/&gt;&amp;gt;   5. If the `to_local` amount is greater or equal to `dust_limit_satoshis`,&lt;br/&gt;&amp;gt;      add a [`to_local` output](#to_local-output).&lt;br/&gt;&amp;gt; &#43;6. If `option_simplified_commitment` applies to the commitment transaction,&lt;br/&gt;&amp;gt; &#43;   and `to_local` was added, add `to_local_pushme`.&lt;br/&gt;&amp;gt;   6. If the `to_remote` amount is greater or equal to `dust_limit_satoshis`,&lt;br/&gt;&amp;gt;      add a [`to_remote` output](#to_remote-output).&lt;br/&gt;&amp;gt; &#43;6. If `option_simplified_commitment` applies to the commitment transaction,&lt;br/&gt;&amp;gt; &#43;   and `to_remote` was added, add `to_remote_pushme`.&lt;br/&gt;&amp;gt;   7. Sort the outputs into [BIP 69 order](#transaction-input-and-output-ordering).&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   # Keys&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   ## Key Derivation&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -Each commitment transaction uses a unique set of keys: `localpubkey` and `remotepubkey`.&lt;br/&gt;&amp;gt; &#43;Each commitment transaction uses a unique `localpubkey`, and a `remotepubkey`.&lt;br/&gt;&amp;gt;   The HTLC-success and HTLC-timeout transactions use `local_delayedpubkey` and `revocationpubkey`.&lt;br/&gt;&amp;gt; -These are changed for every transaction based on the `per_commitment_point`.&lt;br/&gt;&amp;gt; &#43;These are changed for every transaction based on the `per_commitment_point`, with the exception of `remotepubkey` if `option_simplified_commitment` is negotiated.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   The reason for key change is so that trustless watching for revoked&lt;br/&gt;&amp;gt;   transactions can be outsourced. Such a _watcher_ should not be able to&lt;br/&gt;&amp;gt; @@ -419,8 &#43;465,9 @@ avoid storage of every commitment transaction, a _watcher_ can be given the&lt;br/&gt;&amp;gt;   the scripts required for the penalty transaction; thus, a _watcher_ need only be&lt;br/&gt;&amp;gt;   given (and store) the signatures for each penalty input.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -Changing the `localpubkey` and `remotepubkey` every time ensures that commitment&lt;br/&gt;&amp;gt; -transaction ID cannot be guessed; every commitment transaction uses an ID&lt;br/&gt;&amp;gt; &#43;Changing the `localpubkey` every time ensures that commitment&lt;br/&gt;&amp;gt; &#43;transaction ID cannot be guessed except in the trivial case where there is no&lt;br/&gt;&amp;gt; &#43;`to_local` output, as every commitment transaction uses an ID&lt;br/&gt;&amp;gt;   in its output script. Splitting the `local_delayedpubkey`, which is required for&lt;br/&gt;&amp;gt;   the penalty transaction, allows it to be shared with the _watcher_ without&lt;br/&gt;&amp;gt;   revealing `localpubkey`; even if both peers use the same _watcher_, nothing is revealed.&lt;br/&gt;&amp;gt; @@ -434,14 &#43;481,13 @@ For efficiency, keys are generated from a series of per-commitment secrets&lt;br/&gt;&amp;gt;   that are generated from a single seed, which allows the receiver to compactly&lt;br/&gt;&amp;gt;   store them (see [below](#efficient-per-commitment-secret-storage)).&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -### `localpubkey`, `remotepubkey`, `local_htlcpubkey`, `remote_htlcpubkey`, `local_delayedpubkey`, and `remote_delayedpubkey` Derivation&lt;br/&gt;&amp;gt; &#43;### `localpubkey``local_htlcpubkey`, `remote_htlcpubkey`, `local_delayedpubkey`, and `remote_delayedpubkey` Derivation&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   These pubkeys are simply generated by addition from their base points:&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   	pubkey = basepoint &#43; SHA256(per_commitment_point || basepoint) * G&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -The `localpubkey` uses the local node&amp;#39;s `payment_basepoint`; the `remotepubkey`&lt;br/&gt;&amp;gt; -uses the remote node&amp;#39;s `payment_basepoint`; the `local_delayedpubkey`&lt;br/&gt;&amp;gt; &#43;The `localpubkey` uses the local node&amp;#39;s `payment_basepoint`; the `local_delayedpubkey`&lt;br/&gt;&amp;gt;   uses the local node&amp;#39;s `delayed_payment_basepoint`; the `local_htlcpubkey` uses the&lt;br/&gt;&amp;gt;   local node&amp;#39;s `htlc_basepoint`; and the `remote_delayedpubkey` uses the remote&lt;br/&gt;&amp;gt;   node&amp;#39;s `delayed_payment_basepoint`.&lt;br/&gt;&amp;gt; @@ -451,6 &#43;497,17 @@ secrets are known (i.e. the private keys corresponding to `localpubkey`, `local_&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;       privkey = basepoint_secret &#43; SHA256(per_commitment_point || basepoint)&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; &#43;### `remotepubkey` Derivation&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;If `option_simplified_commitment` is negotiated the `remotepubkey` is simply the remote node&amp;#39;s `payment_basepoint`, otherwise it is calculated as above using the remote node&amp;#39;s `payment_basepoint`.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;The simplified derivation means that a node can spend a commitment&lt;br/&gt;&amp;gt; &#43;transaction even if it has lost data and doesn&amp;#39;t know the&lt;br/&gt;&amp;gt; &#43;corresponding `payment_basepoint`.  A watchtower could correlate&lt;br/&gt;&amp;gt; &#43;transactions given to it which only have a `to_remote` output if it&lt;br/&gt;&amp;gt; &#43;sees one of them onchain, but such transactions do not need any&lt;br/&gt;&amp;gt; &#43;enforcement and should not be handed to a watchtower.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;   ### `revocationpubkey` Derivation&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   The `revocationpubkey` is a blinded key: when the local node wishes to create a new&lt;br/&gt;&amp;gt; @@ -636,12 &#43;693,22 @@ The *expected weight* of a commitment transaction is calculated as follows:&lt;br/&gt;&amp;gt;   		- var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;   		- pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -	output_paying_to_remote: 31 bytes&lt;br/&gt;&amp;gt; &#43;	output_paying_to_remote (no option_simplified_commitment): 31 bytes&lt;br/&gt;&amp;gt;   		- value: 8 bytes&lt;br/&gt;&amp;gt;   		- var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;   		- pk_script (p2wpkh): 22 bytes&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -	 htlc_output: 43 bytes&lt;br/&gt;&amp;gt; &#43;	output_paying_to_remote (option_simplified_commitment): 43 bytes&lt;br/&gt;&amp;gt; &#43;		- value: 8 bytes&lt;br/&gt;&amp;gt; &#43;		- var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt; &#43;		- pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;	output_pushme (option_simplified_commitment): 43 bytes&lt;br/&gt;&amp;gt; &#43;		- value: 8 bytes&lt;br/&gt;&amp;gt; &#43;		- var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt; &#43;		- pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;    htlc_output: 43 bytes&lt;br/&gt;&amp;gt;   		- value: 8 bytes&lt;br/&gt;&amp;gt;   		- var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;   		- pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt; @@ -650,7 &#43;717,7 @@ The *expected weight* of a commitment transaction is calculated as follows:&lt;br/&gt;&amp;gt;   		- flag: 1 byte&lt;br/&gt;&amp;gt;   		- marker: 1 byte&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -	 commitment_transaction: 125 &#43; 43 * num-htlc-outputs bytes&lt;br/&gt;&amp;gt; &#43;	 commitment_transaction (no option_simplified_commitment): 125 &#43; 43 * num-htlc-outputs bytes&lt;br/&gt;&amp;gt;   		- version: 4 bytes&lt;br/&gt;&amp;gt;   		- witness_header &amp;lt;---- part of the witness data&lt;br/&gt;&amp;gt;   		- count_tx_in: 1 byte&lt;br/&gt;&amp;gt; @@ -663,15 &#43;730,32 @@ The *expected weight* of a commitment transaction is calculated as follows:&lt;br/&gt;&amp;gt;   			....htlc_output&amp;#39;s...&lt;br/&gt;&amp;gt;   		- lock_time: 4 bytes&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; &#43;	 commitment_transaction (option_simplified_commitment): 223 &#43; 43 * num-htlc-outputs bytes&lt;br/&gt;&amp;gt; &#43;		- version: 4 bytes&lt;br/&gt;&amp;gt; &#43;		- witness_header &amp;lt;---- part of the witness data&lt;br/&gt;&amp;gt; &#43;		- count_tx_in: 1 byte&lt;br/&gt;&amp;gt; &#43;		- tx_in: 41 bytes&lt;br/&gt;&amp;gt; &#43;			funding_input&lt;br/&gt;&amp;gt; &#43;		- count_tx_out: 1 byte&lt;br/&gt;&amp;gt; &#43;		- tx_out: 172 &#43; 43 * num-htlc-outputs bytes&lt;br/&gt;&amp;gt; &#43;			output_paying_to_remote,&lt;br/&gt;&amp;gt; &#43;			output_paying_to_local,&lt;br/&gt;&amp;gt; &#43;			output_pushme,&lt;br/&gt;&amp;gt; &#43;			output_pushme,&lt;br/&gt;&amp;gt; &#43;			....htlc_output&amp;#39;s...&lt;br/&gt;&amp;gt; &#43;		- lock_time: 4 bytes&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;   Multiplying non-witness data by 4 results in a weight of:&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -	// 500 &#43; 172 * num-htlc-outputs weight&lt;br/&gt;&amp;gt; &#43;	// 500 &#43; 172 * num-htlc-outputs weight (no option_simplified_commitment)&lt;br/&gt;&amp;gt; &#43;	// 892 &#43; 172 * num-htlc-outputs weight (option_simplified_commitment)&lt;br/&gt;&amp;gt;   	commitment_transaction_weight = 4 * commitment_transaction&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   	// 224 weight&lt;br/&gt;&amp;gt;   	witness_weight = witness_header &#43; witness&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; -	overall_weight = 500 &#43; 172 * num-htlc-outputs &#43; 224 weight&lt;br/&gt;&amp;gt; &#43;	overall_weight (no option_simplified_commitment) = 500 &#43; 172 * num-htlc-outputs &#43; 224 weight&lt;br/&gt;&amp;gt; &#43;	overall_weight (option_simplified_commitment) = 892 &#43; 172 * num-htlc-outputs &#43; 224 weight&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   ## Expected Weight of HTLC-timeout and HTLC-success Transactions&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; diff --git a/05-onchain.md b/05-onchain.md&lt;br/&gt;&amp;gt; index 231c209..c5fb5e1 100644&lt;br/&gt;&amp;gt; --- a/05-onchain.md&lt;br/&gt;&amp;gt; &#43;&#43;&#43; b/05-onchain.md&lt;br/&gt;&amp;gt; @@ -89,21 &#43;89,29 @@ trigger any action.&lt;br/&gt;&amp;gt;   # Commitment Transaction&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   The local and remote nodes each hold a *commitment transaction*. Each of these&lt;br/&gt;&amp;gt; -commitment transactions has four types of outputs:&lt;br/&gt;&amp;gt; &#43;commitment transactions has six types of outputs:&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   1. _local node&amp;#39;s main output_: Zero or one output, to pay to the *local node&amp;#39;s*&lt;br/&gt;&amp;gt; -commitment pubkey.&lt;br/&gt;&amp;gt; &#43;delayed pubkey.&lt;br/&gt;&amp;gt;   2. _remote node&amp;#39;s main output_: Zero or one output, to pay to the *remote node&amp;#39;s*&lt;br/&gt;&amp;gt; -commitment pubkey.&lt;br/&gt;&amp;gt; &#43;pubkey.&lt;br/&gt;&amp;gt; &#43;1. _local node&amp;#39;s push output_: Zero or one output, to pay to the *local node&amp;#39;s*&lt;br/&gt;&amp;gt; &#43;delayed pubkey.&lt;br/&gt;&amp;gt; &#43;2. _remote node&amp;#39;s push output_: Zero or one output, to pay to the *remote node&amp;#39;s*&lt;br/&gt;&amp;gt; &#43;pubkey.&lt;br/&gt;&amp;gt;   3. _local node&amp;#39;s offered HTLCs_: Zero or more pending payments (*HTLCs*), to pay&lt;br/&gt;&amp;gt;   the *remote node* in return for a payment preimage.&lt;br/&gt;&amp;gt;   4. _remote node&amp;#39;s offered HTLCs_: Zero or more pending payments (*HTLCs*), to&lt;br/&gt;&amp;gt;   pay the *local node* in return for a payment preimage.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   To incentivize the local and remote nodes to cooperate, an `OP_CHECKSEQUENCEVERIFY`&lt;br/&gt;&amp;gt; -relative timeout encumbers the *local node&amp;#39;s outputs* (in the *local node&amp;#39;s&lt;br/&gt;&amp;gt; &#43;relative timeout encumbers some outputs: the *local node&amp;#39;s outputs* (in the *local node&amp;#39;s&lt;br/&gt;&amp;gt;   commitment transaction*) and the *remote node&amp;#39;s outputs* (in the *remote node&amp;#39;s&lt;br/&gt;&amp;gt; -commitment transaction*). So for example, if the local node publishes its&lt;br/&gt;&amp;gt; &#43;commitment transaction*). If `option_simplified_commitment` applies&lt;br/&gt;&amp;gt; &#43;to the commitment transaction, then the *to_remote* output of each commitment is&lt;br/&gt;&amp;gt; &#43;identically encumbered, for fairness.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;Without `option_simplified_commitment`, if the local node publishes its&lt;br/&gt;&amp;gt;   commitment transaction, it will have to wait to claim its own funds,&lt;br/&gt;&amp;gt;   whereas the remote node will have immediate access to its own funds. As a&lt;br/&gt;&amp;gt;   consequence, the two commitment transactions are not identical, but they are&lt;br/&gt;&amp;gt; @@ -140,6 &#43;148,11 @@ A node:&lt;br/&gt;&amp;gt;         - otherwise:&lt;br/&gt;&amp;gt;           - MUST use the *last commitment transaction*, for which it has a&lt;br/&gt;&amp;gt;           signature, to perform a *unilateral close*.&lt;br/&gt;&amp;gt; &#43;      - MUST spend any `to_local_pushme` output, providing sufficient fees as incentive to include the commitment transaction in a block&lt;br/&gt;&amp;gt; &#43;	    - SHOULD use [replace-by-fee](&lt;a href=&#34;https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki&#34;&gt;https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki&lt;/a&gt;) or other mechanism on the spending transaction if it proves insufficient for timely inclusion in a block.&lt;br/&gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt; &#43;A node:&lt;br/&gt;&amp;gt; &#43;  - MAY monitor the blockchain for unspent `to_local_pushme` and `to_remote_pushme` outputs and try to spend them after 10 confirmations.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   ## Rationale&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; @@ -154,7 &#43;167,8 @@ need not consume resources monitoring the channel state.&lt;br/&gt;&amp;gt;   There exists a bias towards preferring mutual closes over unilateral closes,&lt;br/&gt;&amp;gt;   because outputs of the former are unencumbered by a delay and are directly&lt;br/&gt;&amp;gt;   spendable by wallets. In addition, mutual close fees tend to be less exaggerated&lt;br/&gt;&amp;gt; -than those of commitment transactions. So, the only reason not to use the&lt;br/&gt;&amp;gt; &#43;than those of commitment transactions (or in the case of `option_simplified_commitment`,&lt;br/&gt;&amp;gt; &#43;the commitment transaction may require a child transaction to cause it to be mined). So, the only reason not to use the&lt;br/&gt;&amp;gt;   signature from `closing_signed` would be if the fee offered was too small for&lt;br/&gt;&amp;gt;   it to be processed.&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; diff --git a/09-features.md b/09-features.md&lt;br/&gt;&amp;gt; index d06fcff..caea38b 100644&lt;br/&gt;&amp;gt; --- a/09-features.md&lt;br/&gt;&amp;gt; &#43;&#43;&#43; b/09-features.md&lt;br/&gt;&amp;gt; @@ -26,6 &#43;26,7 @@ These flags may only be used in the `init` message:&lt;br/&gt;&amp;gt;   | 3  | `initial_routing_sync` | Indicates that the sending node needs a complete routing information dump | [BOLT #7](07-routing-gossip.md#initial-sync) |&lt;br/&gt;&amp;gt;   | 4/5  | `option_upfront_shutdown_script` | Commits to a shutdown scriptpubkey when opening channel | [BOLT #2](02-peer-protocol.md#the-open_channel-message) |&lt;br/&gt;&amp;gt;   | 6/7  | `gossip_queries`           | More sophisticated gossip control | [BOLT #7](07-routing-gossip.md#query-messages) |&lt;br/&gt;&amp;gt; &#43;| 8/9  | `option_simplified_commitment`           | Simplified commitment transactions | [BOLT #3](03-transactions.md) |&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt;   ## Assigned `globalfeatures` flags&lt;br/&gt;&amp;gt;   &lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:53:00Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsrav8c4k76p0evq9v4dyukg4dvexmenpjed487rt4yf79ej7pj9agzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5qza2m5</id>
    
      <title type="html">📅 Original date posted:2018-11-21 📝 Original message: Oh, ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsrav8c4k76p0evq9v4dyukg4dvexmenpjed487rt4yf79ej7pj9agzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5qza2m5" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsxasg3eq9j6yx03jeg02e7mdy3z59n45gsphrljzyczzl6m7tazlqt2eh5l&#39;&gt;nevent1q…eh5l&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-11-21&lt;br/&gt;📝 Original message:&lt;br/&gt;Oh, also, obviously, the HTLC transactions need a pushme output, though &lt;br/&gt;luckily only one for the side we expect to be broadcasting the transaction.&lt;br/&gt;&lt;br/&gt;On 11/21/18 2:54 AM, Matt Corallo wrote:&lt;br/&gt;&amp;gt; Not sure if others already realized this, but in thinking about our RBF &lt;br/&gt;&amp;gt; policy hack from Adelaide a bit more, to allow the carve-out exception &lt;br/&gt;&amp;gt; of &amp;#34;last tx in a package, which has only one unconfirmed ancestor&amp;#34; to &lt;br/&gt;&amp;gt; always be available for the &amp;#34;honest party&amp;#34; when broadcasting a &lt;br/&gt;&amp;gt; commitment transaction, we also need at least a CSV delay of 1 block on &lt;br/&gt;&amp;gt; the HTLC transaction outputs (as otherwise those transactions could &lt;br/&gt;&amp;gt; count as the carve-out tx).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Matt&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On 11/21/18 2:17 AM, Rusty Russell wrote:&lt;br/&gt;&amp;gt;&amp;gt; I&amp;#39;m also starting to implement this, to see what I missed!&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Original at &lt;a href=&#34;https://github.com/lightningnetwork/lightning-rfc/pull/513&#34;&gt;https://github.com/lightningnetwork/lightning-rfc/pull/513&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Pasted here for your reading convenience:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; - Option is sticky; it set at open time, it stays with channel&lt;br/&gt;&amp;gt;&amp;gt;    - I didn&amp;#39;t want to have to handle penalty txs on channels which switch&lt;br/&gt;&amp;gt;&amp;gt;    - We could, however, upgrade on splice.&lt;br/&gt;&amp;gt;&amp;gt; - Feerate is fixed at 253&lt;br/&gt;&amp;gt;&amp;gt;    - `feerate_per_kw` is still in open /accept (just ignored): &lt;br/&gt;&amp;gt;&amp;gt; multifund may want it.&lt;br/&gt;&amp;gt;&amp;gt; - closing tx negotiates *upwards* not *downwards*&lt;br/&gt;&amp;gt;&amp;gt;    - Starting from base fee of commitment tx = 282 satoshi.&lt;br/&gt;&amp;gt;&amp;gt; - to_remote output is always CSV delayed.&lt;br/&gt;&amp;gt;&amp;gt; - pushme outputs are paid for by funder, but only exist if the matching&lt;br/&gt;&amp;gt;&amp;gt;    to_local/remote output exists.&lt;br/&gt;&amp;gt;&amp;gt; - After 10 blocks, they become anyone-can-spend (they need to see the&lt;br/&gt;&amp;gt;&amp;gt;    to-local/remote witness script though).&lt;br/&gt;&amp;gt;&amp;gt; - remotepubkey is not rotated.&lt;br/&gt;&amp;gt;&amp;gt; - You must spend your pushme output; you may sweep for others.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Signed-off-by: Rusty Russell &amp;lt;rusty at rustcorp.com.au&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; diff --git a/02-peer-protocol.md b/02-peer-protocol.md&lt;br/&gt;&amp;gt;&amp;gt; index 7cf9ebf..6ec1155 100644&lt;br/&gt;&amp;gt;&amp;gt; --- a/02-peer-protocol.md&lt;br/&gt;&amp;gt;&amp;gt; &#43;&#43;&#43; b/02-peer-protocol.md&lt;br/&gt;&amp;gt;&amp;gt; @@ -133,7 &#43;133,9 @@ node can offer.&lt;br/&gt;&amp;gt;&amp;gt;   (i.e. 1/4 the more normally-used &amp;#39;satoshi per 1000 vbytes&amp;#39;) that this&lt;br/&gt;&amp;gt;&amp;gt;   side will pay for commitment and HTLC transactions, as described in&lt;br/&gt;&amp;gt;&amp;gt;   [BOLT #3](03-transactions.md#fee-calculation) (this can be adjusted&lt;br/&gt;&amp;gt;&amp;gt; -later with an `update_fee` message).&lt;br/&gt;&amp;gt;&amp;gt; &#43;later with an `update_fee` message).  Note that if&lt;br/&gt;&amp;gt;&amp;gt; &#43;`option_simplified_commitment` is negotiated, this `feerate_per_kw`&lt;br/&gt;&amp;gt;&amp;gt; &#43;is treated as 253 for all transactions.&lt;br/&gt;&amp;gt;&amp;gt;   `to_self_delay` is the number of blocks that the other node&amp;#39;s to-self&lt;br/&gt;&amp;gt;&amp;gt;   outputs must be delayed, using `OP_CHECKSEQUENCEVERIFY` delays; this&lt;br/&gt;&amp;gt;&amp;gt; @@ -208,7 &#43;210,8 @@ The receiving node MUST fail the channel if:&lt;br/&gt;&amp;gt;&amp;gt;     - `push_msat` is greater than `funding_satoshis` * 1000.&lt;br/&gt;&amp;gt;&amp;gt;     - `to_self_delay` is unreasonably large.&lt;br/&gt;&amp;gt;&amp;gt;     - `max_accepted_htlcs` is greater than 483.&lt;br/&gt;&amp;gt;&amp;gt; -  - it considers `feerate_per_kw` too small for timely processing or &lt;br/&gt;&amp;gt;&amp;gt; unreasonably large.&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - if `option_simplified_commitment` is not negotiated:&lt;br/&gt;&amp;gt;&amp;gt; &#43;    - it considers `feerate_per_kw` too small for timely processing &lt;br/&gt;&amp;gt;&amp;gt; or unreasonably large.&lt;br/&gt;&amp;gt;&amp;gt;     - `funding_pubkey`, `revocation_basepoint`, `htlc_basepoint`, &lt;br/&gt;&amp;gt;&amp;gt; `payment_basepoint`, or `delayed_payment_basepoint`&lt;br/&gt;&amp;gt;&amp;gt;   are not valid DER-encoded compressed secp256k1 pubkeys.&lt;br/&gt;&amp;gt;&amp;gt;     - `dust_limit_satoshis` is greater than `channel_reserve_satoshis`.&lt;br/&gt;&amp;gt;&amp;gt; @@ -228,7 &#43;231,7 @@ The *channel reserve* is specified by the peer&amp;#39;s &lt;br/&gt;&amp;gt;&amp;gt; `channel_reserve_satoshis`: 1%&lt;br/&gt;&amp;gt;&amp;gt;   The sender can unconditionally give initial funds to the receiver &lt;br/&gt;&amp;gt;&amp;gt; using a non-zero `push_msat`, but even in this case we ensure that the &lt;br/&gt;&amp;gt;&amp;gt; funder has sufficient remaining funds to pay fees and that one side &lt;br/&gt;&amp;gt;&amp;gt; has some amount it can spend (which also implies there is at least one &lt;br/&gt;&amp;gt;&amp;gt; non-dust output). Note that, like any other on-chain transaction, this &lt;br/&gt;&amp;gt;&amp;gt; payment is not certain until the funding transaction has been &lt;br/&gt;&amp;gt;&amp;gt; confirmed sufficiently (with a danger of double-spend until this &lt;br/&gt;&amp;gt;&amp;gt; occurs) and may require a separate method to prove payment via &lt;br/&gt;&amp;gt;&amp;gt; on-chain confirmation.&lt;br/&gt;&amp;gt;&amp;gt; -The `feerate_per_kw` is generally only of concern to the sender (who &lt;br/&gt;&amp;gt;&amp;gt; pays the fees), but there is also the fee rate paid by HTLC &lt;br/&gt;&amp;gt;&amp;gt; transactions; thus, unreasonably large fee rates can also penalize the &lt;br/&gt;&amp;gt;&amp;gt; recipient.&lt;br/&gt;&amp;gt;&amp;gt; &#43;The `feerate_per_kw` is generally only of concern to the sender (who &lt;br/&gt;&amp;gt;&amp;gt; pays the fees), but there is also the fee rate paid by HTLC &lt;br/&gt;&amp;gt;&amp;gt; transactions; thus, unreasonably large fee rates can also penalize the &lt;br/&gt;&amp;gt;&amp;gt; recipient.  It is ignored for `option_simplified_commitment`.&lt;br/&gt;&amp;gt;&amp;gt;   Separating the `htlc_basepoint` from the `payment_basepoint` &lt;br/&gt;&amp;gt;&amp;gt; improves security: a node needs the secret associated with the &lt;br/&gt;&amp;gt;&amp;gt; `htlc_basepoint` to produce HTLC signatures for the protocol, but the &lt;br/&gt;&amp;gt;&amp;gt; secret for the `payment_basepoint` can be in cold storage.&lt;br/&gt;&amp;gt;&amp;gt; @@ -340,6 &#43;343,12 @@ This message introduces the `channel_id` to &lt;br/&gt;&amp;gt;&amp;gt; identify the channel. It&amp;#39;s derived f&lt;br/&gt;&amp;gt;&amp;gt;   #### Requirements&lt;br/&gt;&amp;gt;&amp;gt; &#43;Both peers:&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - if `option_simplified_commitment` was negotiated:&lt;br/&gt;&amp;gt;&amp;gt; &#43;    - `option_simplified_commitment` applies to all commitment and &lt;br/&gt;&amp;gt;&amp;gt; HTLC transactions&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - otherwise:&lt;br/&gt;&amp;gt;&amp;gt; &#43;    - `option_simplified_commitment` does not apply to any commitment &lt;br/&gt;&amp;gt;&amp;gt; or HTLC transactions&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;   The sender MUST set:&lt;br/&gt;&amp;gt;&amp;gt;     - `channel_id` by exclusive-OR of the `funding_txid` and the &lt;br/&gt;&amp;gt;&amp;gt; `funding_output_index` from the `funding_created` message.&lt;br/&gt;&amp;gt;&amp;gt;     - `signature` to the valid signature, using its `funding_pubkey` &lt;br/&gt;&amp;gt;&amp;gt; for the initial commitment transaction, as defined in [BOLT &lt;br/&gt;&amp;gt;&amp;gt; #3](03-transactions.md#commitment-transaction).&lt;br/&gt;&amp;gt;&amp;gt; @@ -351,6 &#43;360,12 @@ The recipient:&lt;br/&gt;&amp;gt;&amp;gt;     - on receipt of a valid `funding_signed`:&lt;br/&gt;&amp;gt;&amp;gt;       - SHOULD broadcast the funding transaction.&lt;br/&gt;&amp;gt;&amp;gt; &#43;#### Rationale&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;We decide on `option_simplified_commitment` at this point when we &lt;br/&gt;&amp;gt;&amp;gt; first have to generate the commitment&lt;br/&gt;&amp;gt;&amp;gt; &#43;transaction.  Even if a later reconnection does not negotiate this &lt;br/&gt;&amp;gt;&amp;gt; parameter, this channel will honor it.&lt;br/&gt;&amp;gt;&amp;gt; &#43;This simplifies channel state, particularly penalty transaction &lt;br/&gt;&amp;gt;&amp;gt; handling.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;   ### The `funding_locked` Message&lt;br/&gt;&amp;gt;&amp;gt;   This message indicates that the funding transaction has reached the &lt;br/&gt;&amp;gt;&amp;gt; `minimum_depth` asked for in `accept_channel`. Once both nodes have &lt;br/&gt;&amp;gt;&amp;gt; sent this, the channel enters normal operating mode.&lt;br/&gt;&amp;gt;&amp;gt; @@ -508,8 &#43;523,11 @@ The funding node:&lt;br/&gt;&amp;gt;&amp;gt;       - SHOULD send a `closing_signed` message.&lt;br/&gt;&amp;gt;&amp;gt;   The sending node:&lt;br/&gt;&amp;gt;&amp;gt; -  - MUST set `fee_satoshis` less than or equal to the&lt;br/&gt;&amp;gt;&amp;gt; - base fee of the final commitment transaction, as calculated in [BOLT &lt;br/&gt;&amp;gt;&amp;gt; #3](03-transactions.md#fee-calculation).&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - if `option_upfront_shutdown_script` applies to the final &lt;br/&gt;&amp;gt;&amp;gt; commitment transaction:&lt;br/&gt;&amp;gt;&amp;gt; &#43;    - MUST set `fee_satoshis` greater than or equal to 282.&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - otherwise:&lt;br/&gt;&amp;gt;&amp;gt; &#43;    - MUST set `fee_satoshis` less than or equal to the&lt;br/&gt;&amp;gt;&amp;gt; &#43;      base fee of the final commitment transaction, as calculated in &lt;br/&gt;&amp;gt;&amp;gt; [BOLT #3](03-transactions.md#fee-calculation).&lt;br/&gt;&amp;gt;&amp;gt;     - SHOULD set the initial `fee_satoshis` according to its&lt;br/&gt;&amp;gt;&amp;gt;    estimate of cost of inclusion in a block.&lt;br/&gt;&amp;gt;&amp;gt;     - MUST set `signature` to the Bitcoin signature of the close&lt;br/&gt;&amp;gt;&amp;gt; @@ -543,9 &#43;561,18 @@ progress is made, even if only by a single &lt;br/&gt;&amp;gt;&amp;gt; satoshi at a time. To avoid&lt;br/&gt;&amp;gt;&amp;gt;   keeping state and to handle the corner case, where fees have shifted&lt;br/&gt;&amp;gt;&amp;gt;   between disconnection and reconnection, negotiation restarts on &lt;br/&gt;&amp;gt;&amp;gt; reconnection.&lt;br/&gt;&amp;gt;&amp;gt; -Note there is limited risk if the closing transaction is&lt;br/&gt;&amp;gt;&amp;gt; -delayed, but it will be broadcast very soon; so there is usually no&lt;br/&gt;&amp;gt;&amp;gt; -reason to pay a premium for rapid processing.&lt;br/&gt;&amp;gt;&amp;gt; &#43;In the `option_simplified_commitment` case, the fees on the commitment&lt;br/&gt;&amp;gt;&amp;gt; &#43;transaction itself are minimal (it is assumed that a child &lt;br/&gt;&amp;gt;&amp;gt; transaction will&lt;br/&gt;&amp;gt;&amp;gt; &#43;supply additional fee incentive), so that forms a floor for negotiation.&lt;br/&gt;&amp;gt;&amp;gt; &#43;[BOLT #3](03-transactions.md#fee-calculation), gives 282 satoshis (1116&lt;br/&gt;&amp;gt;&amp;gt; &#43;weight, 254 `feerate_per_kw`).&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;Otherwise, the commitment transaction usually pays a premium fee, so &lt;br/&gt;&amp;gt;&amp;gt; that&lt;br/&gt;&amp;gt;&amp;gt; &#43;forms a ceiling.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;Note there is limited risk if the closing transaction is delayed, but &lt;br/&gt;&amp;gt;&amp;gt; it will&lt;br/&gt;&amp;gt;&amp;gt; &#43;be broadcast very soon; so there is usually no reason to pay a &lt;br/&gt;&amp;gt;&amp;gt; premium for&lt;br/&gt;&amp;gt;&amp;gt; &#43;rapid processing.&lt;br/&gt;&amp;gt;&amp;gt;   ## Normal Operation&lt;br/&gt;&amp;gt;&amp;gt; @@ -763,7 &#43;790,10 @@ is destined, is described in [BOLT &lt;br/&gt;&amp;gt;&amp;gt; #4](04-onion-routing.md).&lt;br/&gt;&amp;gt;&amp;gt;   A sending node:&lt;br/&gt;&amp;gt;&amp;gt;     - MUST NOT offer `amount_msat` it cannot pay for in the&lt;br/&gt;&amp;gt;&amp;gt;   remote commitment transaction at the current `feerate_per_kw` (see &lt;br/&gt;&amp;gt;&amp;gt; &amp;#34;Updating&lt;br/&gt;&amp;gt;&amp;gt; -Fees&amp;#34;) while maintaining its channel reserve.&lt;br/&gt;&amp;gt;&amp;gt; &#43;Fees&amp;#34;) while maintaining its channel reserve&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - if `option_simplified_commitment` applies to this commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction and the sending&lt;br/&gt;&amp;gt;&amp;gt; &#43;    node is the funder:&lt;br/&gt;&amp;gt;&amp;gt; &#43;    - MUST be able to additionally pay for `to_local_pushme` and &lt;br/&gt;&amp;gt;&amp;gt; `to_remote_pushme` above its reserve.&lt;br/&gt;&amp;gt;&amp;gt;     - MUST offer `amount_msat` greater than 0.&lt;br/&gt;&amp;gt;&amp;gt;     - MUST NOT offer `amount_msat` below the receiving node&amp;#39;s &lt;br/&gt;&amp;gt;&amp;gt; `htlc_minimum_msat`&lt;br/&gt;&amp;gt;&amp;gt;     - MUST set `cltv_expiry` less than 500000000.&lt;br/&gt;&amp;gt;&amp;gt; @@ -782,7 &#43;812,7 @@ Fees&amp;#34;) while maintaining its channel reserve.&lt;br/&gt;&amp;gt;&amp;gt;   A receiving node:&lt;br/&gt;&amp;gt;&amp;gt;     - receiving an `amount_msat` equal to 0, OR less than its own &lt;br/&gt;&amp;gt;&amp;gt; `htlc_minimum_msat`:&lt;br/&gt;&amp;gt;&amp;gt;       - SHOULD fail the channel.&lt;br/&gt;&amp;gt;&amp;gt; -  - receiving an `amount_msat` that the sending node cannot afford at &lt;br/&gt;&amp;gt;&amp;gt; the current `feerate_per_kw` (while maintaining its channel reserve):&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - receiving an `amount_msat` that the sending node cannot afford at &lt;br/&gt;&amp;gt;&amp;gt; the current `feerate_per_kw` (while maintaining its channel reserve &lt;br/&gt;&amp;gt;&amp;gt; and any `to_local_pushme` and `to_remote_pushme` fees):&lt;br/&gt;&amp;gt;&amp;gt;       - SHOULD fail the channel.&lt;br/&gt;&amp;gt;&amp;gt;     - if a sending node adds more than its `max_accepted_htlcs` HTLCs to&lt;br/&gt;&amp;gt;&amp;gt;       its local commitment transaction, OR adds more than its &lt;br/&gt;&amp;gt;&amp;gt; `max_htlc_value_in_flight_msat` worth of offered HTLCs to its local &lt;br/&gt;&amp;gt;&amp;gt; commitment transaction:&lt;br/&gt;&amp;gt;&amp;gt; @@ -997,6 &#43;1027,11 @@ A node:&lt;br/&gt;&amp;gt;&amp;gt;   ### Updating Fees: `update_fee`&lt;br/&gt;&amp;gt;&amp;gt; &#43;If `option_simplified_commitment` applies to the commitment transaction,&lt;br/&gt;&amp;gt;&amp;gt; &#43;`update_fee` is never used: the `feerate_per_kw` is always considered &lt;br/&gt;&amp;gt;&amp;gt; 253, but&lt;br/&gt;&amp;gt;&amp;gt; &#43;the funder also pays 2000 satoshi for the `to_local_pushme` and&lt;br/&gt;&amp;gt;&amp;gt; &#43;`to_remote_pushme` outputs.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;   An `update_fee` message is sent by the node which is paying the&lt;br/&gt;&amp;gt;&amp;gt;   Bitcoin fee. Like any update, it&amp;#39;s first committed to the receiver&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt;   commitment transaction and then (once acknowledged) committed to the&lt;br/&gt;&amp;gt;&amp;gt; @@ -1020,13 &#43;1055,19 @@ given in [BOLT &lt;br/&gt;&amp;gt;&amp;gt; #3](03-transactions.md#fee-calculation).&lt;br/&gt;&amp;gt;&amp;gt;   #### Requirements&lt;br/&gt;&amp;gt;&amp;gt;   The node _responsible_ for paying the Bitcoin fee:&lt;br/&gt;&amp;gt;&amp;gt; -  - SHOULD send `update_fee` to ensure the current fee rate is &lt;br/&gt;&amp;gt;&amp;gt; sufficient (by a&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - if `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction:&lt;br/&gt;&amp;gt;&amp;gt; &#43;    - MUST NOT send `update_fee`.&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - otherwise:&lt;br/&gt;&amp;gt;&amp;gt; &#43;    - SHOULD send `update_fee` to ensure the current fee rate is &lt;br/&gt;&amp;gt;&amp;gt; sufficient (by a&lt;br/&gt;&amp;gt;&amp;gt;         significant margin) for timely processing of the commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction.&lt;br/&gt;&amp;gt;&amp;gt;   The node _not responsible_ for paying the Bitcoin fee:&lt;br/&gt;&amp;gt;&amp;gt;     - MUST NOT send `update_fee`.&lt;br/&gt;&amp;gt;&amp;gt;   A receiving node:&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - if `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction:&lt;br/&gt;&amp;gt;&amp;gt; &#43;    - SHOULD fail the channel.&lt;br/&gt;&amp;gt;&amp;gt; &#43;    - MUST NOT update the `feerate_per_kw`.&lt;br/&gt;&amp;gt;&amp;gt;     - if the `update_fee` is too low for timely processing, OR is &lt;br/&gt;&amp;gt;&amp;gt; unreasonably large:&lt;br/&gt;&amp;gt;&amp;gt;       - SHOULD fail the channel.&lt;br/&gt;&amp;gt;&amp;gt;     - if the sender is not responsible for paying the Bitcoin fee:&lt;br/&gt;&amp;gt;&amp;gt; @@ -1038,7 &#43;1079,12 @@ A receiving node:&lt;br/&gt;&amp;gt;&amp;gt;   #### Rationale&lt;br/&gt;&amp;gt;&amp;gt; -Bitcoin fees are required for unilateral closes to be effective —&lt;br/&gt;&amp;gt;&amp;gt; &#43;Fee adjustments are unnecessary for `option_simplified_commitment` which&lt;br/&gt;&amp;gt;&amp;gt; &#43;relies on &amp;#34;pushme&amp;#34; outputs and a child transaction which will provide&lt;br/&gt;&amp;gt;&amp;gt; &#43;additional fee incentive which can be calculated at the time it is &lt;br/&gt;&amp;gt;&amp;gt; spent, and&lt;br/&gt;&amp;gt;&amp;gt; &#43;replaced by higher-fee children if required.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;Without this option, bitcoin fees are required for unilateral closes &lt;br/&gt;&amp;gt;&amp;gt; to be effective —&lt;br/&gt;&amp;gt;&amp;gt;   particularly since there is no general method for the broadcasting &lt;br/&gt;&amp;gt;&amp;gt; node to use&lt;br/&gt;&amp;gt;&amp;gt;   child-pays-for-parent to increase its effective fee.&lt;br/&gt;&amp;gt;&amp;gt; diff --git a/03-transactions.md b/03-transactions.md&lt;br/&gt;&amp;gt;&amp;gt; index e769961..440bd0d 100644&lt;br/&gt;&amp;gt;&amp;gt; --- a/03-transactions.md&lt;br/&gt;&amp;gt;&amp;gt; &#43;&#43;&#43; b/03-transactions.md&lt;br/&gt;&amp;gt;&amp;gt; @@ -82,6 &#43;82,8 @@ To allow an opportunity for penalty transactions, in &lt;br/&gt;&amp;gt;&amp;gt; case of a revoked commitmen&lt;br/&gt;&amp;gt;&amp;gt;   The reason for the separate transaction stage for HTLC outputs is so &lt;br/&gt;&amp;gt;&amp;gt; that HTLCs can timeout or be fulfilled even though they are within the &lt;br/&gt;&amp;gt;&amp;gt; `to_self_delay` delay.&lt;br/&gt;&amp;gt;&amp;gt;   Otherwise, the required minimum timeout on HTLCs is lengthened by &lt;br/&gt;&amp;gt;&amp;gt; this delay, causing longer timeouts for HTLCs traversing the network.&lt;br/&gt;&amp;gt;&amp;gt; &#43;If `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction, then the `to_self_delay` used for all transactions is the &lt;br/&gt;&amp;gt;&amp;gt; greater of the `to_self_delay` sent by each peer.  Otherwise, each &lt;br/&gt;&amp;gt;&amp;gt; peer sends the `to_self_delay` to be used for the other peer&amp;#39;s &lt;br/&gt;&amp;gt;&amp;gt; commitment amd HTLC transactions.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;   The amounts for each output MUST be rounded down to whole satoshis. &lt;br/&gt;&amp;gt;&amp;gt; If this amount, minus the fees for the HTLC transaction, is less than &lt;br/&gt;&amp;gt;&amp;gt; the `dust_limit_satoshis` set by the owner of the commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction, the output MUST NOT be produced (thus the funds add to &lt;br/&gt;&amp;gt;&amp;gt; fees).&lt;br/&gt;&amp;gt;&amp;gt;   #### `to_local` Output&lt;br/&gt;&amp;gt;&amp;gt; @@ -109,7 &#43;111,40 @@ If a revoked commitment transaction is published, &lt;br/&gt;&amp;gt;&amp;gt; the other party can spend this&lt;br/&gt;&amp;gt;&amp;gt;   #### `to_remote` Output&lt;br/&gt;&amp;gt;&amp;gt; -This output sends funds to the other peer and thus is a simple P2WPKH &lt;br/&gt;&amp;gt;&amp;gt; to `remotepubkey`.&lt;br/&gt;&amp;gt;&amp;gt; &#43;This output sends funds to the other peer, thus is not encumbered by a&lt;br/&gt;&amp;gt;&amp;gt; &#43;revocation private key.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;If `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction, the `to_remote` output is delayed similarly to the &lt;br/&gt;&amp;gt;&amp;gt; `to_local` output, and is to a fixed key:&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;        `to_self_delay`&lt;br/&gt;&amp;gt;&amp;gt; &#43;        OP_CSV&lt;br/&gt;&amp;gt;&amp;gt; &#43;        OP_DROP&lt;br/&gt;&amp;gt;&amp;gt; &#43;        &amp;lt;remote_pubkey&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;The output is spent by a transaction with `nSequence` field set to &lt;br/&gt;&amp;gt;&amp;gt; `to_self_delay` (which can only be valid after that duration has &lt;br/&gt;&amp;gt;&amp;gt; passed) and witness:&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;    &amp;lt;remote_sig&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;Otherwise, this output is a simple P2WPKH to `remotepubkey`.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;#### `to_local_pushme` and `to_remote_pushme` Output &lt;br/&gt;&amp;gt;&amp;gt; (option_simplified_commitment)&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;This output can be spent by the local and remote nodes respectivey to &lt;br/&gt;&amp;gt;&amp;gt; provide incentive to mine the transaction, using &lt;br/&gt;&amp;gt;&amp;gt; child-pays-for-parent.  They are only added if the `to_local` and &lt;br/&gt;&amp;gt;&amp;gt; `to_remote` outputs exist, respectively.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;    OP_DEPTH&lt;br/&gt;&amp;gt;&amp;gt; &#43;    OP_IF&lt;br/&gt;&amp;gt;&amp;gt; &#43;        &amp;lt;pubkey&amp;gt; OP_CHECKSIG&lt;br/&gt;&amp;gt;&amp;gt; &#43;    OP_ELSE&lt;br/&gt;&amp;gt;&amp;gt; &#43;        10 OP_CSV&lt;br/&gt;&amp;gt;&amp;gt; &#43;    OP_ENDIF&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;The `&amp;lt;pubkey&amp;gt;` is `&amp;lt;local_delayedpubkey&amp;gt;` to `to_local_pushme` and&lt;br/&gt;&amp;gt;&amp;gt; &#43;`&amp;lt;remote_delayedpubkey&amp;gt;` for `to_remote_pushme`.  The output amount is&lt;br/&gt;&amp;gt;&amp;gt; &#43;1000 satoshi, to encourage spending of the output.  Once the&lt;br/&gt;&amp;gt;&amp;gt; &#43;`remote_pubkey` is revealed (by spending the `to_local` output) and&lt;br/&gt;&amp;gt;&amp;gt; &#43;the commitment transaction is 10 blocks deep, anyone can spend it.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;   #### Offered HTLC Outputs&lt;br/&gt;&amp;gt;&amp;gt; @@ -294,6 &#43;329,9 @@ The fee calculation for both commitment &lt;br/&gt;&amp;gt;&amp;gt; transactions and HTLC&lt;br/&gt;&amp;gt;&amp;gt;   transactions is based on the current `feerate_per_kw` and the&lt;br/&gt;&amp;gt;&amp;gt;   *expected weight* of the transaction.&lt;br/&gt;&amp;gt;&amp;gt; &#43;Note that if `option_simplified_commitment` applies to the commitment&lt;br/&gt;&amp;gt;&amp;gt; &#43;transaction then `feerate_per_kw` is 253.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;   The actual and expected weights vary for several reasons:&lt;br/&gt;&amp;gt;&amp;gt;   * Bitcoin uses DER-encoded signatures, which vary in size.&lt;br/&gt;&amp;gt;&amp;gt; @@ -306,10 &#43;344,12 @@ Thus, a simplified formula for *expected weight* &lt;br/&gt;&amp;gt;&amp;gt; is used, which assumes:&lt;br/&gt;&amp;gt;&amp;gt;   * Signatures are 73 bytes long (the maximum length).&lt;br/&gt;&amp;gt;&amp;gt;   * There are a small number of outputs (thus 1 byte to count them).&lt;br/&gt;&amp;gt;&amp;gt;   * There are always both a `to_local` output and a `to_remote` output.&lt;br/&gt;&amp;gt;&amp;gt; &#43;* (if `option_simplified_commitment`) there are always both a &lt;br/&gt;&amp;gt;&amp;gt; `to_local_pushme` and `to_remote_pushme` output.&lt;br/&gt;&amp;gt;&amp;gt;   This yields the following *expected weights* (details of the &lt;br/&gt;&amp;gt;&amp;gt; computation in [Appendix A](#appendix-a-expected-weights)):&lt;br/&gt;&amp;gt;&amp;gt; -    Commitment weight:   724 &#43; 172 * num-untrimmed-htlc-outputs&lt;br/&gt;&amp;gt;&amp;gt; &#43;    Commitment weight (no option_simplified_commitment):   724 &#43; 172 &lt;br/&gt;&amp;gt;&amp;gt; * num-untrimmed-htlc-outputs&lt;br/&gt;&amp;gt;&amp;gt; &#43;    Commitment weight (option_simplified_commitment:  1116 &#43; 172 * &lt;br/&gt;&amp;gt;&amp;gt; num-untrimmed-htlc-outputs&lt;br/&gt;&amp;gt;&amp;gt;       HTLC-timeout weight: 663&lt;br/&gt;&amp;gt;&amp;gt;       HTLC-success weight: 703&lt;br/&gt;&amp;gt;&amp;gt; @@ -366,7 &#43;406,7 @@ outputs) is 7140 satoshi. The final fee may be &lt;br/&gt;&amp;gt;&amp;gt; even higher if the&lt;br/&gt;&amp;gt;&amp;gt;   ### Fee Payment&lt;br/&gt;&amp;gt;&amp;gt; -Base commitment transaction fees are extracted from the funder&amp;#39;s &lt;br/&gt;&amp;gt;&amp;gt; amount; if that amount is insufficient, the entire amount of the &lt;br/&gt;&amp;gt;&amp;gt; funder&amp;#39;s output is used.&lt;br/&gt;&amp;gt;&amp;gt; &#43;Base commitment transaction fees and amounts for `to_local_pushme` &lt;br/&gt;&amp;gt;&amp;gt; and `to_remote_pushme` outputs are extracted from the funder&amp;#39;s amount; &lt;br/&gt;&amp;gt;&amp;gt; if that amount is insufficient, the entire amount of the funder&amp;#39;s &lt;br/&gt;&amp;gt;&amp;gt; output is used.&lt;br/&gt;&amp;gt;&amp;gt;   Note that after the fee amount is subtracted from the to-funder output,&lt;br/&gt;&amp;gt;&amp;gt;   that output may be below `dust_limit_satoshis`, and thus will also&lt;br/&gt;&amp;gt;&amp;gt; @@ -390,23 &#43;430,29 @@ committed HTLCs:&lt;br/&gt;&amp;gt;&amp;gt;   2. Calculate the base [commitment transaction fee](#fee-calculation).&lt;br/&gt;&amp;gt;&amp;gt;   3. Subtract this base fee from the funder (either `to_local` or &lt;br/&gt;&amp;gt;&amp;gt; `to_remote`),&lt;br/&gt;&amp;gt;&amp;gt;      with a floor of 0 (see [Fee Payment](#fee-payment)).&lt;br/&gt;&amp;gt;&amp;gt; &#43;4. If `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction,&lt;br/&gt;&amp;gt;&amp;gt; &#43;   subtract 2000 satoshis from the funder (either `to_local` or &lt;br/&gt;&amp;gt;&amp;gt; `to_remote`).&lt;br/&gt;&amp;gt;&amp;gt;   3. For every offered HTLC, if it is not trimmed, add an&lt;br/&gt;&amp;gt;&amp;gt;      [offered HTLC output](#offered-htlc-outputs).&lt;br/&gt;&amp;gt;&amp;gt;   4. For every received HTLC, if it is not trimmed, add an&lt;br/&gt;&amp;gt;&amp;gt;      [received HTLC output](#received-htlc-outputs).&lt;br/&gt;&amp;gt;&amp;gt;   5. If the `to_local` amount is greater or equal to &lt;br/&gt;&amp;gt;&amp;gt; `dust_limit_satoshis`,&lt;br/&gt;&amp;gt;&amp;gt;      add a [`to_local` output](#to_local-output).&lt;br/&gt;&amp;gt;&amp;gt; &#43;6. If `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction,&lt;br/&gt;&amp;gt;&amp;gt; &#43;   and `to_local` was added, add `to_local_pushme`.&lt;br/&gt;&amp;gt;&amp;gt;   6. If the `to_remote` amount is greater or equal to &lt;br/&gt;&amp;gt;&amp;gt; `dust_limit_satoshis`,&lt;br/&gt;&amp;gt;&amp;gt;      add a [`to_remote` output](#to_remote-output).&lt;br/&gt;&amp;gt;&amp;gt; &#43;6. If `option_simplified_commitment` applies to the commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction,&lt;br/&gt;&amp;gt;&amp;gt; &#43;   and `to_remote` was added, add `to_remote_pushme`.&lt;br/&gt;&amp;gt;&amp;gt;   7. Sort the outputs into [BIP 69 &lt;br/&gt;&amp;gt;&amp;gt; order](#transaction-input-and-output-ordering).&lt;br/&gt;&amp;gt;&amp;gt;   # Keys&lt;br/&gt;&amp;gt;&amp;gt;   ## Key Derivation&lt;br/&gt;&amp;gt;&amp;gt; -Each commitment transaction uses a unique set of keys: `localpubkey` &lt;br/&gt;&amp;gt;&amp;gt; and `remotepubkey`.&lt;br/&gt;&amp;gt;&amp;gt; &#43;Each commitment transaction uses a unique `localpubkey`, and a &lt;br/&gt;&amp;gt;&amp;gt; `remotepubkey`.&lt;br/&gt;&amp;gt;&amp;gt;   The HTLC-success and HTLC-timeout transactions use &lt;br/&gt;&amp;gt;&amp;gt; `local_delayedpubkey` and `revocationpubkey`.&lt;br/&gt;&amp;gt;&amp;gt; -These are changed for every transaction based on the &lt;br/&gt;&amp;gt;&amp;gt; `per_commitment_point`.&lt;br/&gt;&amp;gt;&amp;gt; &#43;These are changed for every transaction based on the &lt;br/&gt;&amp;gt;&amp;gt; `per_commitment_point`, with the exception of `remotepubkey` if &lt;br/&gt;&amp;gt;&amp;gt; `option_simplified_commitment` is negotiated.&lt;br/&gt;&amp;gt;&amp;gt;   The reason for key change is so that trustless watching for revoked&lt;br/&gt;&amp;gt;&amp;gt;   transactions can be outsourced. Such a _watcher_ should not be able to&lt;br/&gt;&amp;gt;&amp;gt; @@ -419,8 &#43;465,9 @@ avoid storage of every commitment transaction, a &lt;br/&gt;&amp;gt;&amp;gt; _watcher_ can be given the&lt;br/&gt;&amp;gt;&amp;gt;   the scripts required for the penalty transaction; thus, a _watcher_ &lt;br/&gt;&amp;gt;&amp;gt; need only be&lt;br/&gt;&amp;gt;&amp;gt;   given (and store) the signatures for each penalty input.&lt;br/&gt;&amp;gt;&amp;gt; -Changing the `localpubkey` and `remotepubkey` every time ensures that &lt;br/&gt;&amp;gt;&amp;gt; commitment&lt;br/&gt;&amp;gt;&amp;gt; -transaction ID cannot be guessed; every commitment transaction uses &lt;br/&gt;&amp;gt;&amp;gt; an ID&lt;br/&gt;&amp;gt;&amp;gt; &#43;Changing the `localpubkey` every time ensures that commitment&lt;br/&gt;&amp;gt;&amp;gt; &#43;transaction ID cannot be guessed except in the trivial case where &lt;br/&gt;&amp;gt;&amp;gt; there is no&lt;br/&gt;&amp;gt;&amp;gt; &#43;`to_local` output, as every commitment transaction uses an ID&lt;br/&gt;&amp;gt;&amp;gt;   in its output script. Splitting the `local_delayedpubkey`, which is &lt;br/&gt;&amp;gt;&amp;gt; required for&lt;br/&gt;&amp;gt;&amp;gt;   the penalty transaction, allows it to be shared with the _watcher_ &lt;br/&gt;&amp;gt;&amp;gt; without&lt;br/&gt;&amp;gt;&amp;gt;   revealing `localpubkey`; even if both peers use the same _watcher_, &lt;br/&gt;&amp;gt;&amp;gt; nothing is revealed.&lt;br/&gt;&amp;gt;&amp;gt; @@ -434,14 &#43;481,13 @@ For efficiency, keys are generated from a series &lt;br/&gt;&amp;gt;&amp;gt; of per-commitment secrets&lt;br/&gt;&amp;gt;&amp;gt;   that are generated from a single seed, which allows the receiver to &lt;br/&gt;&amp;gt;&amp;gt; compactly&lt;br/&gt;&amp;gt;&amp;gt;   store them (see [below](#efficient-per-commitment-secret-storage)).&lt;br/&gt;&amp;gt;&amp;gt; -### `localpubkey`, `remotepubkey`, `local_htlcpubkey`, &lt;br/&gt;&amp;gt;&amp;gt; `remote_htlcpubkey`, `local_delayedpubkey`, and `remote_delayedpubkey` &lt;br/&gt;&amp;gt;&amp;gt; Derivation&lt;br/&gt;&amp;gt;&amp;gt; &#43;### `localpubkey``local_htlcpubkey`, `remote_htlcpubkey`, &lt;br/&gt;&amp;gt;&amp;gt; `local_delayedpubkey`, and `remote_delayedpubkey` Derivation&lt;br/&gt;&amp;gt;&amp;gt;   These pubkeys are simply generated by addition from their base points:&lt;br/&gt;&amp;gt;&amp;gt;       pubkey = basepoint &#43; SHA256(per_commitment_point || basepoint) * G&lt;br/&gt;&amp;gt;&amp;gt; -The `localpubkey` uses the local node&amp;#39;s `payment_basepoint`; the &lt;br/&gt;&amp;gt;&amp;gt; `remotepubkey`&lt;br/&gt;&amp;gt;&amp;gt; -uses the remote node&amp;#39;s `payment_basepoint`; the `local_delayedpubkey`&lt;br/&gt;&amp;gt;&amp;gt; &#43;The `localpubkey` uses the local node&amp;#39;s `payment_basepoint`; the &lt;br/&gt;&amp;gt;&amp;gt; `local_delayedpubkey`&lt;br/&gt;&amp;gt;&amp;gt;   uses the local node&amp;#39;s `delayed_payment_basepoint`; the &lt;br/&gt;&amp;gt;&amp;gt; `local_htlcpubkey` uses the&lt;br/&gt;&amp;gt;&amp;gt;   local node&amp;#39;s `htlc_basepoint`; and the `remote_delayedpubkey` uses &lt;br/&gt;&amp;gt;&amp;gt; the remote&lt;br/&gt;&amp;gt;&amp;gt;   node&amp;#39;s `delayed_payment_basepoint`.&lt;br/&gt;&amp;gt;&amp;gt; @@ -451,6 &#43;497,17 @@ secrets are known (i.e. the private keys &lt;br/&gt;&amp;gt;&amp;gt; corresponding to `localpubkey`, `local_&lt;br/&gt;&amp;gt;&amp;gt;       privkey = basepoint_secret &#43; SHA256(per_commitment_point || &lt;br/&gt;&amp;gt;&amp;gt; basepoint)&lt;br/&gt;&amp;gt;&amp;gt; &#43;### `remotepubkey` Derivation&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;If `option_simplified_commitment` is negotiated the `remotepubkey` is &lt;br/&gt;&amp;gt;&amp;gt; simply the remote node&amp;#39;s `payment_basepoint`, otherwise it is &lt;br/&gt;&amp;gt;&amp;gt; calculated as above using the remote node&amp;#39;s `payment_basepoint`.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;The simplified derivation means that a node can spend a commitment&lt;br/&gt;&amp;gt;&amp;gt; &#43;transaction even if it has lost data and doesn&amp;#39;t know the&lt;br/&gt;&amp;gt;&amp;gt; &#43;corresponding `payment_basepoint`.  A watchtower could correlate&lt;br/&gt;&amp;gt;&amp;gt; &#43;transactions given to it which only have a `to_remote` output if it&lt;br/&gt;&amp;gt;&amp;gt; &#43;sees one of them onchain, but such transactions do not need any&lt;br/&gt;&amp;gt;&amp;gt; &#43;enforcement and should not be handed to a watchtower.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;   ### `revocationpubkey` Derivation&lt;br/&gt;&amp;gt;&amp;gt;   The `revocationpubkey` is a blinded key: when the local node wishes &lt;br/&gt;&amp;gt;&amp;gt; to create a new&lt;br/&gt;&amp;gt;&amp;gt; @@ -636,12 &#43;693,22 @@ The *expected weight* of a commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction is calculated as follows:&lt;br/&gt;&amp;gt;&amp;gt;           - var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;&amp;gt;           - pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt;&amp;gt; -    output_paying_to_remote: 31 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;    output_paying_to_remote (no option_simplified_commitment): 31 bytes&lt;br/&gt;&amp;gt;&amp;gt;           - value: 8 bytes&lt;br/&gt;&amp;gt;&amp;gt;           - var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;&amp;gt;           - pk_script (p2wpkh): 22 bytes&lt;br/&gt;&amp;gt;&amp;gt; -     htlc_output: 43 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;    output_paying_to_remote (option_simplified_commitment): 43 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - value: 8 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;    output_pushme (option_simplified_commitment): 43 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - value: 8 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;    htlc_output: 43 bytes&lt;br/&gt;&amp;gt;&amp;gt;           - value: 8 bytes&lt;br/&gt;&amp;gt;&amp;gt;           - var_int: 1 byte (pk_script length)&lt;br/&gt;&amp;gt;&amp;gt;           - pk_script (p2wsh): 34 bytes&lt;br/&gt;&amp;gt;&amp;gt; @@ -650,7 &#43;717,7 @@ The *expected weight* of a commitment transaction &lt;br/&gt;&amp;gt;&amp;gt; is calculated as follows:&lt;br/&gt;&amp;gt;&amp;gt;           - flag: 1 byte&lt;br/&gt;&amp;gt;&amp;gt;           - marker: 1 byte&lt;br/&gt;&amp;gt;&amp;gt; -     commitment_transaction: 125 &#43; 43 * num-htlc-outputs bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;     commitment_transaction (no option_simplified_commitment): 125 &#43; &lt;br/&gt;&amp;gt;&amp;gt; 43 * num-htlc-outputs bytes&lt;br/&gt;&amp;gt;&amp;gt;           - version: 4 bytes&lt;br/&gt;&amp;gt;&amp;gt;           - witness_header &amp;lt;---- part of the witness data&lt;br/&gt;&amp;gt;&amp;gt;           - count_tx_in: 1 byte&lt;br/&gt;&amp;gt;&amp;gt; @@ -663,15 &#43;730,32 @@ The *expected weight* of a commitment &lt;br/&gt;&amp;gt;&amp;gt; transaction is calculated as follows:&lt;br/&gt;&amp;gt;&amp;gt;               ....htlc_output&amp;#39;s...&lt;br/&gt;&amp;gt;&amp;gt;           - lock_time: 4 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;     commitment_transaction (option_simplified_commitment): 223 &#43; 43 &lt;br/&gt;&amp;gt;&amp;gt; * num-htlc-outputs bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - version: 4 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - witness_header &amp;lt;---- part of the witness data&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - count_tx_in: 1 byte&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - tx_in: 41 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;            funding_input&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - count_tx_out: 1 byte&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - tx_out: 172 &#43; 43 * num-htlc-outputs bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;            output_paying_to_remote,&lt;br/&gt;&amp;gt;&amp;gt; &#43;            output_paying_to_local,&lt;br/&gt;&amp;gt;&amp;gt; &#43;            output_pushme,&lt;br/&gt;&amp;gt;&amp;gt; &#43;            output_pushme,&lt;br/&gt;&amp;gt;&amp;gt; &#43;            ....htlc_output&amp;#39;s...&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - lock_time: 4 bytes&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt;   Multiplying non-witness data by 4 results in a weight of:&lt;br/&gt;&amp;gt;&amp;gt; -    // 500 &#43; 172 * num-htlc-outputs weight&lt;br/&gt;&amp;gt;&amp;gt; &#43;    // 500 &#43; 172 * num-htlc-outputs weight (no &lt;br/&gt;&amp;gt;&amp;gt; option_simplified_commitment)&lt;br/&gt;&amp;gt;&amp;gt; &#43;    // 892 &#43; 172 * num-htlc-outputs weight &lt;br/&gt;&amp;gt;&amp;gt; (option_simplified_commitment)&lt;br/&gt;&amp;gt;&amp;gt;       commitment_transaction_weight = 4 * commitment_transaction&lt;br/&gt;&amp;gt;&amp;gt;       // 224 weight&lt;br/&gt;&amp;gt;&amp;gt;       witness_weight = witness_header &#43; witness&lt;br/&gt;&amp;gt;&amp;gt; -    overall_weight = 500 &#43; 172 * num-htlc-outputs &#43; 224 weight&lt;br/&gt;&amp;gt;&amp;gt; &#43;    overall_weight (no option_simplified_commitment) = 500 &#43; 172 * &lt;br/&gt;&amp;gt;&amp;gt; num-htlc-outputs &#43; 224 weight&lt;br/&gt;&amp;gt;&amp;gt; &#43;    overall_weight (option_simplified_commitment) = 892 &#43; 172 * &lt;br/&gt;&amp;gt;&amp;gt; num-htlc-outputs &#43; 224 weight&lt;br/&gt;&amp;gt;&amp;gt;   ## Expected Weight of HTLC-timeout and HTLC-success Transactions&lt;br/&gt;&amp;gt;&amp;gt; diff --git a/05-onchain.md b/05-onchain.md&lt;br/&gt;&amp;gt;&amp;gt; index 231c209..c5fb5e1 100644&lt;br/&gt;&amp;gt;&amp;gt; --- a/05-onchain.md&lt;br/&gt;&amp;gt;&amp;gt; &#43;&#43;&#43; b/05-onchain.md&lt;br/&gt;&amp;gt;&amp;gt; @@ -89,21 &#43;89,29 @@ trigger any action.&lt;br/&gt;&amp;gt;&amp;gt;   # Commitment Transaction&lt;br/&gt;&amp;gt;&amp;gt;   The local and remote nodes each hold a *commitment transaction*. &lt;br/&gt;&amp;gt;&amp;gt; Each of these&lt;br/&gt;&amp;gt;&amp;gt; -commitment transactions has four types of outputs:&lt;br/&gt;&amp;gt;&amp;gt; &#43;commitment transactions has six types of outputs:&lt;br/&gt;&amp;gt;&amp;gt;   1. _local node&amp;#39;s main output_: Zero or one output, to pay to the &lt;br/&gt;&amp;gt;&amp;gt; *local node&amp;#39;s*&lt;br/&gt;&amp;gt;&amp;gt; -commitment pubkey.&lt;br/&gt;&amp;gt;&amp;gt; &#43;delayed pubkey.&lt;br/&gt;&amp;gt;&amp;gt;   2. _remote node&amp;#39;s main output_: Zero or one output, to pay to the &lt;br/&gt;&amp;gt;&amp;gt; *remote node&amp;#39;s*&lt;br/&gt;&amp;gt;&amp;gt; -commitment pubkey.&lt;br/&gt;&amp;gt;&amp;gt; &#43;pubkey.&lt;br/&gt;&amp;gt;&amp;gt; &#43;1. _local node&amp;#39;s push output_: Zero or one output, to pay to the &lt;br/&gt;&amp;gt;&amp;gt; *local node&amp;#39;s*&lt;br/&gt;&amp;gt;&amp;gt; &#43;delayed pubkey.&lt;br/&gt;&amp;gt;&amp;gt; &#43;2. _remote node&amp;#39;s push output_: Zero or one output, to pay to the &lt;br/&gt;&amp;gt;&amp;gt; *remote node&amp;#39;s*&lt;br/&gt;&amp;gt;&amp;gt; &#43;pubkey.&lt;br/&gt;&amp;gt;&amp;gt;   3. _local node&amp;#39;s offered HTLCs_: Zero or more pending payments &lt;br/&gt;&amp;gt;&amp;gt; (*HTLCs*), to pay&lt;br/&gt;&amp;gt;&amp;gt;   the *remote node* in return for a payment preimage.&lt;br/&gt;&amp;gt;&amp;gt;   4. _remote node&amp;#39;s offered HTLCs_: Zero or more pending payments &lt;br/&gt;&amp;gt;&amp;gt; (*HTLCs*), to&lt;br/&gt;&amp;gt;&amp;gt;   pay the *local node* in return for a payment preimage.&lt;br/&gt;&amp;gt;&amp;gt;   To incentivize the local and remote nodes to cooperate, an &lt;br/&gt;&amp;gt;&amp;gt; `OP_CHECKSEQUENCEVERIFY`&lt;br/&gt;&amp;gt;&amp;gt; -relative timeout encumbers the *local node&amp;#39;s outputs* (in the *local &lt;br/&gt;&amp;gt;&amp;gt; node&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt; &#43;relative timeout encumbers some outputs: the *local node&amp;#39;s outputs* &lt;br/&gt;&amp;gt;&amp;gt; (in the *local node&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt;   commitment transaction*) and the *remote node&amp;#39;s outputs* (in the &lt;br/&gt;&amp;gt;&amp;gt; *remote node&amp;#39;s&lt;br/&gt;&amp;gt;&amp;gt; -commitment transaction*). So for example, if the local node publishes &lt;br/&gt;&amp;gt;&amp;gt; its&lt;br/&gt;&amp;gt;&amp;gt; &#43;commitment transaction*). If `option_simplified_commitment` applies&lt;br/&gt;&amp;gt;&amp;gt; &#43;to the commitment transaction, then the *to_remote* output of each &lt;br/&gt;&amp;gt;&amp;gt; commitment is&lt;br/&gt;&amp;gt;&amp;gt; &#43;identically encumbered, for fairness.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;Without `option_simplified_commitment`, if the local node publishes its&lt;br/&gt;&amp;gt;&amp;gt;   commitment transaction, it will have to wait to claim its own funds,&lt;br/&gt;&amp;gt;&amp;gt;   whereas the remote node will have immediate access to its own funds. &lt;br/&gt;&amp;gt;&amp;gt; As a&lt;br/&gt;&amp;gt;&amp;gt;   consequence, the two commitment transactions are not identical, but &lt;br/&gt;&amp;gt;&amp;gt; they are&lt;br/&gt;&amp;gt;&amp;gt; @@ -140,6 &#43;148,11 @@ A node:&lt;br/&gt;&amp;gt;&amp;gt;         - otherwise:&lt;br/&gt;&amp;gt;&amp;gt;           - MUST use the *last commitment transaction*, for which it &lt;br/&gt;&amp;gt;&amp;gt; has a&lt;br/&gt;&amp;gt;&amp;gt;           signature, to perform a *unilateral close*.&lt;br/&gt;&amp;gt;&amp;gt; &#43;      - MUST spend any `to_local_pushme` output, providing sufficient &lt;br/&gt;&amp;gt;&amp;gt; fees as incentive to include the commitment transaction in a block&lt;br/&gt;&amp;gt;&amp;gt; &#43;        - SHOULD use &lt;br/&gt;&amp;gt;&amp;gt; [replace-by-fee](&lt;a href=&#34;https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki&#34;&gt;https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki&lt;/a&gt;) &lt;br/&gt;&amp;gt;&amp;gt; or other mechanism on the spending transaction if it proves &lt;br/&gt;&amp;gt;&amp;gt; insufficient for timely inclusion in a block.&lt;br/&gt;&amp;gt;&amp;gt; &#43;&lt;br/&gt;&amp;gt;&amp;gt; &#43;A node:&lt;br/&gt;&amp;gt;&amp;gt; &#43;  - MAY monitor the blockchain for unspent `to_local_pushme` and &lt;br/&gt;&amp;gt;&amp;gt; `to_remote_pushme` outputs and try to spend them after 10 confirmations.&lt;br/&gt;&amp;gt;&amp;gt;   ## Rationale&lt;br/&gt;&amp;gt;&amp;gt; @@ -154,7 &#43;167,8 @@ need not consume resources monitoring the channel &lt;br/&gt;&amp;gt;&amp;gt; state.&lt;br/&gt;&amp;gt;&amp;gt;   There exists a bias towards preferring mutual closes over unilateral &lt;br/&gt;&amp;gt;&amp;gt; closes,&lt;br/&gt;&amp;gt;&amp;gt;   because outputs of the former are unencumbered by a delay and are &lt;br/&gt;&amp;gt;&amp;gt; directly&lt;br/&gt;&amp;gt;&amp;gt;   spendable by wallets. In addition, mutual close fees tend to be less &lt;br/&gt;&amp;gt;&amp;gt; exaggerated&lt;br/&gt;&amp;gt;&amp;gt; -than those of commitment transactions. So, the only reason not to use &lt;br/&gt;&amp;gt;&amp;gt; the&lt;br/&gt;&amp;gt;&amp;gt; &#43;than those of commitment transactions (or in the case of &lt;br/&gt;&amp;gt;&amp;gt; `option_simplified_commitment`,&lt;br/&gt;&amp;gt;&amp;gt; &#43;the commitment transaction may require a child transaction to cause &lt;br/&gt;&amp;gt;&amp;gt; it to be mined). So, the only reason not to use the&lt;br/&gt;&amp;gt;&amp;gt;   signature from `closing_signed` would be if the fee offered was too &lt;br/&gt;&amp;gt;&amp;gt; small for&lt;br/&gt;&amp;gt;&amp;gt;   it to be processed.&lt;br/&gt;&amp;gt;&amp;gt; diff --git a/09-features.md b/09-features.md&lt;br/&gt;&amp;gt;&amp;gt; index d06fcff..caea38b 100644&lt;br/&gt;&amp;gt;&amp;gt; --- a/09-features.md&lt;br/&gt;&amp;gt;&amp;gt; &#43;&#43;&#43; b/09-features.md&lt;br/&gt;&amp;gt;&amp;gt; @@ -26,6 &#43;26,7 @@ These flags may only be used in the `init` message:&lt;br/&gt;&amp;gt;&amp;gt;   | 3  | `initial_routing_sync` | Indicates that the sending node &lt;br/&gt;&amp;gt;&amp;gt; needs a complete routing information dump | [BOLT &lt;br/&gt;&amp;gt;&amp;gt; #7](07-routing-gossip.md#initial-sync) |&lt;br/&gt;&amp;gt;&amp;gt;   | 4/5  | `option_upfront_shutdown_script` | Commits to a shutdown &lt;br/&gt;&amp;gt;&amp;gt; scriptpubkey when opening channel | [BOLT &lt;br/&gt;&amp;gt;&amp;gt; #2](02-peer-protocol.md#the-open_channel-message) |&lt;br/&gt;&amp;gt;&amp;gt;   | 6/7  | `gossip_queries`           | More sophisticated gossip &lt;br/&gt;&amp;gt;&amp;gt; control | [BOLT #7](07-routing-gossip.md#query-messages) |&lt;br/&gt;&amp;gt;&amp;gt; &#43;| 8/9  | `option_simplified_commitment`           | Simplified &lt;br/&gt;&amp;gt;&amp;gt; commitment transactions | [BOLT #3](03-transactions.md) |&lt;br/&gt;&amp;gt;&amp;gt;   ## Assigned `globalfeatures` flags&lt;br/&gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;
    </content>
    <updated>2023-06-09T12:53:00Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs0quez7xn8pw8jlzy2hvl2xtskh6a3u6gcjjpmjeyhvefntjyx98qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm546sk7v</id>
    
      <title type="html">📅 Original date posted:2018-01-15 📝 Original message: I ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs0quez7xn8pw8jlzy2hvl2xtskh6a3u6gcjjpmjeyhvefntjyx98qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm546sk7v" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2a070hsu7se3jvuksjd38pndyslyxmswaysms62gajw0jsd887vg7hafm5&#39;&gt;nevent1q…afm5&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-01-15&lt;br/&gt;📝 Original message:&lt;br/&gt;I can&amp;#39;t imagine the constants add up that fast... Allow 25 channels per peer and limit your peers reasonably and the cost should be low enough. Really not sure why something like a 25 channel limit should limit any usage or reasonably burden a node, what am I missing?&lt;br/&gt;&lt;br/&gt;On January 15, 2018 2:14:57 AM UTC, ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;Good morning Matt,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Sent with [ProtonMail](&lt;a href=&#34;https://protonmail.com&#34;&gt;https://protonmail.com&lt;/a&gt;) Secure Email.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; -------- Original Message --------&lt;br/&gt;&amp;gt;&amp;gt; Subject: Re: [Lightning-dev] [1.1] Proposed `funding_cancelled`&lt;br/&gt;&amp;gt;message&lt;br/&gt;&amp;gt;&amp;gt; Local Time: January 15, 2018 9:00 AM&lt;br/&gt;&amp;gt;&amp;gt; UTC Time: January 15, 2018 1:00 AM&lt;br/&gt;&amp;gt;&amp;gt; From: lf-lists at mattcorallo.com&lt;br/&gt;&amp;gt;&amp;gt; To: ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; lightning-dev\\\\@lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;lt;lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Sounds to me like the lack of a protocol-required minimum timeout is&lt;br/&gt;&amp;gt;the issue. Because the cost of tracking an unopened channel is&lt;br/&gt;&amp;gt;relatively trivial, I see limited reason to bother notifying the peer&lt;br/&gt;&amp;gt;that a channel has timed out. However, due to potentially radically&lt;br/&gt;&amp;gt;different concepts for what is and isn&amp;#39;t an acceptable wait time, it&amp;#39;s&lt;br/&gt;&amp;gt;likely useful to have something like &amp;#34;a receiving node MUST keep a&lt;br/&gt;&amp;gt;channel ready to be used for at least a week prior to funding&lt;br/&gt;&amp;gt;transaction confirmation. Thus, a node creating a funding transaction&lt;br/&gt;&amp;gt;SHOULD double-spend and make unconfirmable a funding transaction which&lt;br/&gt;&amp;gt;has not confirmed prior to a week.&amp;#34;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Though the cost may be trivial for single channels, the cost can be&lt;br/&gt;&amp;gt;made arbitrarily high by a malicious node that just keeps sending&lt;br/&gt;&amp;gt;`open_channel` -&amp;gt; `funding_created` with random numbers for transaction&lt;br/&gt;&amp;gt;ID.  It seems sensible for a node implementation to allow limiting the&lt;br/&gt;&amp;gt;number of pending channel opens for each peer to avoid this (e.g.&lt;br/&gt;&amp;gt;c-lightning currently limits one-channel-one-peer, even at opening). &lt;br/&gt;&amp;gt;The intent of `funding_cancelled` is: an honest party can free up the&lt;br/&gt;&amp;gt;limited resource &amp;#34;number of pending channel opens&amp;#34; by using this&lt;br/&gt;&amp;gt;message, without having to wait for the timeout, whatever the timeout&lt;br/&gt;&amp;gt;is defined to be.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Regards,&lt;br/&gt;&amp;gt;ZmnSCPxj&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/lightning-dev/attachments/20180115/d84388d9/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20180115/d84388d9/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T12:48:27Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsg55fdxgenq7694v0jeg87hcj94xf9kx4hnxxe67zvulxj0l3qrrczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ahhwaq</id>
    
      <title type="html">📅 Original date posted:2017-01-16 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsg55fdxgenq7694v0jeg87hcj94xf9kx4hnxxe67zvulxj0l3qrrczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ahhwaq" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsvhgm0em7sfqjrxa0zyjel07jv52kp2n7f3dktek99u3mp6pgdtlcctm4p8&#39;&gt;nevent1q…m4p8&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-01-16&lt;br/&gt;📝 Original message:&lt;br/&gt;On January 15, 2017 9:30:48 PM EST, Rusty Russell &amp;lt;rusty at rustcorp.com.au&amp;gt; wrote:&lt;br/&gt;&amp;gt;If segwit doesn&amp;#39;t activate, something is badly broken in Bitcoin.  This&lt;br/&gt;&amp;gt;is not really a lightning issue; there&amp;#39;s been no significant technical&lt;br/&gt;&amp;gt;objection to segwit, and it really does make Bitcoin work better.&lt;br/&gt;&lt;br/&gt;Depends on your point of view.... If you want a digital gold and don&amp;#39;t care too much about payments, segwit not activating may be a good thing. It is a strong indication of how hard it is to change Bitcoin, and may even be an indication Bitcoin will never change in a major way again - a strong confirmation of exactly what you&amp;#39;d want from Bitcoin.
    </content>
    <updated>2023-06-09T12:46:57Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsxk7d0mu2h40rp74d4kfle352unjlxtymens7m8yrawemmznhlruczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zk0tuh</id>
    
      <title type="html">📅 Original date posted:2015-11-19 📝 Original message: Its ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsxk7d0mu2h40rp74d4kfle352unjlxtymens7m8yrawemmznhlruczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zk0tuh" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs0874c0qs32q2mcvv99d8pjgfn3uvr99x7344xgld78p5waf0cdtq8r07le&#39;&gt;nevent1q…07le&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2015-11-19&lt;br/&gt;📝 Original message:&lt;br/&gt;Its still a huge code change that hasnt been significantly discussed &lt;br/&gt;publicly, so I think opinions on what to do have yet to solidify, but &lt;br/&gt;(at the risk of putting words in other people&amp;#39;s mouths) I think a part &lt;br/&gt;of retracting BIP62 is because Pieter wants to push this forward.&lt;br/&gt;&lt;br/&gt;On 11/19/15 19:40, Tadge Dryja wrote:&lt;br/&gt;&amp;gt; Cool, I had not seen that, I&amp;#39;ll take a look.  I&amp;#39;m all for anything that&lt;br/&gt;&amp;gt; allows reliable spends from unconfirmed txs.  If SW can get in easier,&lt;br/&gt;&amp;gt; sounds good.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; -Tadge&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On Thu, Nov 19, 2015 at 11:38 AM, Matt Corallo &amp;lt;lf-lists at mattcorallo.com&lt;br/&gt;&amp;gt; &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;     Nope, Luke came up with a way to do it in a soft-fork.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;     On 11/19/15 19:12, Tadge Dryja wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         I&amp;#39;ve joked that BIP62 is the &amp;#34;whack-a-mole&amp;#34; BIP in that it addresses&lt;br/&gt;&amp;gt;         many vectors for txid malleability, but maybe there are more.&lt;br/&gt;&amp;gt;         And more&lt;br/&gt;&amp;gt;         importantly, it addresses 3rd party malleability.  It&amp;#39;s not&lt;br/&gt;&amp;gt;         helpful in&lt;br/&gt;&amp;gt;         the context of lightning channel creation because ECDSA sigs are&lt;br/&gt;&amp;gt;         inherently malleable.  You can always re-sign the same message&lt;br/&gt;&amp;gt;         with a&lt;br/&gt;&amp;gt;         different k-value and get a different signature.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         The functionality that&amp;#39;s needed is to be able to reliably spend from&lt;br/&gt;&amp;gt;         unconfirmed transactions.  Segregated witness can accomplish&lt;br/&gt;&amp;gt;         that, but&lt;br/&gt;&amp;gt;         it quite a large hard-fork change.  sighash_noinput can also&lt;br/&gt;&amp;gt;         accomplish&lt;br/&gt;&amp;gt;         that: as input txids are not signed, if they change, the spending&lt;br/&gt;&amp;gt;         transaction can be modified while leaving counterparty&lt;br/&gt;&amp;gt;         signatures intact.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         I&amp;#39;m hoping to start a new &amp;#34;testnet-L&amp;#34; similar to testnet3, with this&lt;br/&gt;&amp;gt;         sighash type so that we can test malleability mitigation out.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         (Oh also, hi mailing list, sorry I have not posted till now!&lt;br/&gt;&amp;gt;         But I will&lt;br/&gt;&amp;gt;         start posting!)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         -Tadge&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         On Thu, Nov 19, 2015 at 9:56 AM, Mark Friedenbach&lt;br/&gt;&amp;gt;         &amp;lt;mark at friedenbach.org &amp;lt;mailto:mark at friedenbach.org&amp;gt;&lt;br/&gt;&amp;gt;         &amp;lt;mailto:mark at friedenbach.org &amp;lt;mailto:mark at friedenbach.org&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;              The basic idea of the soft-fork plan is very simple ---&lt;br/&gt;&amp;gt;         have the&lt;br/&gt;&amp;gt;              scriptPubKey be just the 20-byte hash of the redeem script. The&lt;br/&gt;&amp;gt;              scriptSig of the spending input is empty. The actual&lt;br/&gt;&amp;gt;         scriptSig, with&lt;br/&gt;&amp;gt;              the redeem script and signatures, is contained in a&lt;br/&gt;&amp;gt;         separate Merkle&lt;br/&gt;&amp;gt;              tree committed to elsewhere in the block (e.g. in the last&lt;br/&gt;&amp;gt;         output of&lt;br/&gt;&amp;gt;              the coinbase, or the last output of the last transaction).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;              On Thu, Nov 19, 2015 at 7:31 AM, Greg Sanders&lt;br/&gt;&amp;gt;         &amp;lt;gsanders87 at gmail.com &amp;lt;mailto:gsanders87 at gmail.com&amp;gt;&lt;br/&gt;&amp;gt;              &amp;lt;mailto:gsanders87 at gmail.com&lt;br/&gt;&amp;gt;         &amp;lt;mailto:gsanders87 at gmail.com&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                  The hardfork variant is quite simple, if I understood it&lt;br/&gt;&amp;gt;                  correctly. You just stick the signatures in another&lt;br/&gt;&amp;gt;         parallel&lt;br/&gt;&amp;gt;                  merkle tree. So if you don&amp;#39;t want to validate&lt;br/&gt;&amp;gt;         signatures, just&lt;br/&gt;&amp;gt;                  don&amp;#39;t download them, and validate everything else.&lt;br/&gt;&amp;gt;         TXIDs don&amp;#39;t&lt;br/&gt;&amp;gt;                  use the signature at all. Nothing to malleate, AFAIK.&lt;br/&gt;&amp;gt;         Not sure&lt;br/&gt;&amp;gt;                  what the softfork plan is, but it will be a talk at Scaling&lt;br/&gt;&amp;gt;                  Bitcoin HK.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                  On Thu, Nov 19, 2015 at 10:28 AM, Glenn Tarbox, PhD&lt;br/&gt;&amp;gt;                  &amp;lt;glenn at tarbox.org &amp;lt;mailto:glenn at tarbox.org&amp;gt;&lt;br/&gt;&amp;gt;         &amp;lt;mailto:glenn at tarbox.org &amp;lt;mailto:glenn at tarbox.org&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                      On Thu, Nov 19, 2015 at 4:33 AM, sickpig at gmail.com&lt;br/&gt;&amp;gt;         &amp;lt;mailto:sickpig at gmail.com&amp;gt;&lt;br/&gt;&amp;gt;                      &amp;lt;mailto:sickpig at gmail.com&lt;br/&gt;&amp;gt;         &amp;lt;mailto:sickpig at gmail.com&amp;gt;&amp;gt; &amp;lt;sickpig at gmail.com&lt;br/&gt;&amp;gt;         &amp;lt;mailto:sickpig at gmail.com&amp;gt;&lt;br/&gt;&amp;gt;                      &amp;lt;mailto:sickpig at gmail.com&lt;br/&gt;&amp;gt;         &amp;lt;mailto:sickpig at gmail.com&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                          Hi Pierre&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                          you could start here&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://github.com/ElementsProject/elementsproject.github.io#segregated-witness&#34;&gt;https://github.com/ElementsProject/elementsproject.github.io#segregated-witness&lt;/a&gt;&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://people.xiph.org/~greg/blockstream.gmaxwell.elements.talk.060815.pdf&#34;&gt;https://people.xiph.org/~greg/blockstream.gmaxwell.elements.talk.060815.pdf&lt;/a&gt;&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://github.com/ElementsProject/elements&#34;&gt;https://github.com/ElementsProject/elements&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                      There was a brief blip on Reddit:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://www.reddit.com/r/Bitcoin/comments/3ngtx5/could_the_segregated_witness_part_of_the/cwnthlh&#34;&gt;https://www.reddit.com/r/Bitcoin/comments/3ngtx5/could_the_segregated_witness_part_of_the/cwnthlh&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                      Its weird how little information there is on Segregated&lt;br/&gt;&amp;gt;                      Witness.  I&amp;#39;m guessing its a simple concept and those&lt;br/&gt;&amp;gt;                      working on it (sipa / gmaxwell) haven&amp;#39;t felt the&lt;br/&gt;&amp;gt;         need to&lt;br/&gt;&amp;gt;                      write it up.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                      That it &amp;#34;apparently&amp;#34; can be done with a soft fork&lt;br/&gt;&amp;gt;         similar to&lt;br/&gt;&amp;gt;                      P2SH is good news... I guess...&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                      --&lt;br/&gt;&amp;gt;                      Glenn H. Tarbox, PhD&lt;br/&gt;&amp;gt;                        =]|[=&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                      _______________________________________________&lt;br/&gt;&amp;gt;                      Lightning-dev mailing list&lt;br/&gt;&amp;gt;         Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;         &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;                      &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;         &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                  _______________________________________________&lt;br/&gt;&amp;gt;                  Lightning-dev mailing list&lt;br/&gt;&amp;gt;         Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;         &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;                  &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;         &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;              _______________________________________________&lt;br/&gt;&amp;gt;              Lightning-dev mailing list&lt;br/&gt;&amp;gt;         Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;         &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;              &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;         &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         _______________________________________________&lt;br/&gt;&amp;gt;         Lightning-dev mailing list&lt;br/&gt;&amp;gt;         Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;         &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:45:10Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqstz9qj5820cuc622fu92euy30cacsq0aqyp68gpncerkhv3rel7tczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ltl6uz</id>
    
      <title type="html">📅 Original date posted:2015-11-19 📝 Original message: Nope, ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqstz9qj5820cuc622fu92euy30cacsq0aqyp68gpncerkhv3rel7tczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ltl6uz" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqszgkynfslv0pfm2c40q68tha732z7stqua2qnmgv95gzkght3yqtgesar37&#39;&gt;nevent1q…ar37&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2015-11-19&lt;br/&gt;📝 Original message:&lt;br/&gt;Nope, Luke came up with a way to do it in a soft-fork.&lt;br/&gt;&lt;br/&gt;On 11/19/15 19:12, Tadge Dryja wrote:&lt;br/&gt;&amp;gt; I&amp;#39;ve joked that BIP62 is the &amp;#34;whack-a-mole&amp;#34; BIP in that it addresses&lt;br/&gt;&amp;gt; many vectors for txid malleability, but maybe there are more.  And more&lt;br/&gt;&amp;gt; importantly, it addresses 3rd party malleability.  It&amp;#39;s not helpful in&lt;br/&gt;&amp;gt; the context of lightning channel creation because ECDSA sigs are&lt;br/&gt;&amp;gt; inherently malleable.  You can always re-sign the same message with a&lt;br/&gt;&amp;gt; different k-value and get a different signature.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; The functionality that&amp;#39;s needed is to be able to reliably spend from&lt;br/&gt;&amp;gt; unconfirmed transactions.  Segregated witness can accomplish that, but&lt;br/&gt;&amp;gt; it quite a large hard-fork change.  sighash_noinput can also accomplish&lt;br/&gt;&amp;gt; that: as input txids are not signed, if they change, the spending&lt;br/&gt;&amp;gt; transaction can be modified while leaving counterparty signatures intact.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I&amp;#39;m hoping to start a new &amp;#34;testnet-L&amp;#34; similar to testnet3, with this&lt;br/&gt;&amp;gt; sighash type so that we can test malleability mitigation out.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; (Oh also, hi mailing list, sorry I have not posted till now!  But I will&lt;br/&gt;&amp;gt; start posting!)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; -Tadge&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On Thu, Nov 19, 2015 at 9:56 AM, Mark Friedenbach &amp;lt;mark at friedenbach.org&lt;br/&gt;&amp;gt; &amp;lt;mailto:mark at friedenbach.org&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;     The basic idea of the soft-fork plan is very simple --- have the&lt;br/&gt;&amp;gt;     scriptPubKey be just the 20-byte hash of the redeem script. The&lt;br/&gt;&amp;gt;     scriptSig of the spending input is empty. The actual scriptSig, with&lt;br/&gt;&amp;gt;     the redeem script and signatures, is contained in a separate Merkle&lt;br/&gt;&amp;gt;     tree committed to elsewhere in the block (e.g. in the last output of&lt;br/&gt;&amp;gt;     the coinbase, or the last output of the last transaction).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;     On Thu, Nov 19, 2015 at 7:31 AM, Greg Sanders &amp;lt;gsanders87 at gmail.com&lt;br/&gt;&amp;gt;     &amp;lt;mailto:gsanders87 at gmail.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         The hardfork variant is quite simple, if I understood it&lt;br/&gt;&amp;gt;         correctly. You just stick the signatures in another parallel&lt;br/&gt;&amp;gt;         merkle tree. So if you don&amp;#39;t want to validate signatures, just&lt;br/&gt;&amp;gt;         don&amp;#39;t download them, and validate everything else. TXIDs don&amp;#39;t&lt;br/&gt;&amp;gt;         use the signature at all. Nothing to malleate, AFAIK. Not sure&lt;br/&gt;&amp;gt;         what the softfork plan is, but it will be a talk at Scaling&lt;br/&gt;&amp;gt;         Bitcoin HK.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         On Thu, Nov 19, 2015 at 10:28 AM, Glenn Tarbox, PhD&lt;br/&gt;&amp;gt;         &amp;lt;glenn at tarbox.org &amp;lt;mailto:glenn at tarbox.org&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;             On Thu, Nov 19, 2015 at 4:33 AM, sickpig at gmail.com&lt;br/&gt;&amp;gt;             &amp;lt;mailto:sickpig at gmail.com&amp;gt; &amp;lt;sickpig at gmail.com&lt;br/&gt;&amp;gt;             &amp;lt;mailto:sickpig at gmail.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                 Hi Pierre&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                 you could start here&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;                 &lt;a href=&#34;https://github.com/ElementsProject/elementsproject.github.io#segregated-witness&#34;&gt;https://github.com/ElementsProject/elementsproject.github.io#segregated-witness&lt;/a&gt;&lt;br/&gt;&amp;gt;                 &lt;a href=&#34;https://people.xiph.org/~greg/blockstream.gmaxwell.elements.talk.060815.pdf&#34;&gt;https://people.xiph.org/~greg/blockstream.gmaxwell.elements.talk.060815.pdf&lt;/a&gt;&lt;br/&gt;&amp;gt;                 &lt;a href=&#34;https://github.com/ElementsProject/elements&#34;&gt;https://github.com/ElementsProject/elements&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;             There was a brief blip on Reddit:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;             &lt;a href=&#34;https://www.reddit.com/r/Bitcoin/comments/3ngtx5/could_the_segregated_witness_part_of_the/cwnthlh&#34;&gt;https://www.reddit.com/r/Bitcoin/comments/3ngtx5/could_the_segregated_witness_part_of_the/cwnthlh&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;             Its weird how little information there is on Segregated&lt;br/&gt;&amp;gt;             Witness.  I&amp;#39;m guessing its a simple concept and those&lt;br/&gt;&amp;gt;             working on it (sipa / gmaxwell) haven&amp;#39;t felt the need to&lt;br/&gt;&amp;gt;             write it up.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;             That it &amp;#34;apparently&amp;#34; can be done with a soft fork similar to&lt;br/&gt;&amp;gt;             P2SH is good news... I guess...&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;             --&lt;br/&gt;&amp;gt;             Glenn H. Tarbox, PhD&lt;br/&gt;&amp;gt;               =]|[=&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;             _______________________________________________&lt;br/&gt;&amp;gt;             Lightning-dev mailing list&lt;br/&gt;&amp;gt;             Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;             &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;             &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;         _______________________________________________&lt;br/&gt;&amp;gt;         Lightning-dev mailing list&lt;br/&gt;&amp;gt;         Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;         &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;     _______________________________________________&lt;br/&gt;&amp;gt;     Lightning-dev mailing list&lt;br/&gt;&amp;gt;     Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;     &amp;lt;mailto:Lightning-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;     &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; Lightning-dev mailing list&lt;br/&gt;&amp;gt; Lightning-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-09T12:45:09Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsvtmkxw4hmv3d8l0t9n9c2fqpqmvm0t8jqj0cwy3esgmypdvqetxczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm53lpz4g</id>
    
      <title type="html">📅 Original date posted:2021-08-16 📝 Original message: ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsvtmkxw4hmv3d8l0t9n9c2fqpqmvm0t8jqj0cwy3esgmypdvqetxczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm53lpz4g" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsg0a7usep0a8znfggycdqvlln03vx45s3cqtfzdx3ugrvfuj305vsqzz22g&#39;&gt;nevent1q…z22g&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-08-16&lt;br/&gt;📝 Original message:&lt;br/&gt;Dropped a number of replies to which the reply would otherwise be &amp;#34;see above&amp;#34;.&lt;br/&gt;&lt;br/&gt;On 8/16/21 00:00, Anthony Towns wrote:&lt;br/&gt;&amp;gt; On Sun, Aug 15, 2021 at 10:21:52PM -0400, Matt Corallo wrote:&lt;br/&gt;&amp;gt;&amp;gt; On 8/15/21 22:02, Anthony Towns wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; In&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; one particular class of applicable routing algorithms you could use for&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; lightning routing having a base fee makes the algorithm intractably slow,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; I don&amp;#39;t think of that as the problem, but rather as the base fee having&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; a multiplicative effect as you split payments.&lt;br/&gt;&amp;gt;&amp;gt; Yes, matching the real-world costs of forwarding an HTLC.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Actually, no, not at all.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The base&#43;proportional fees paid only on success roughly match the *value*&lt;br/&gt;&amp;gt; of forwarding an HTLC, they don&amp;#39;t match the costs particularly well&lt;br/&gt;&amp;gt; at all.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Why not? Because the costs are incurred on failed HTLCs as well, and&lt;br/&gt;&amp;gt; also depend on the time a HTLC lasts, and also vary heavily depending&lt;br/&gt;&amp;gt; on how many other simultaneous HTLCs there are.&lt;br/&gt;&lt;br/&gt;Sure, indeed, there&amp;#39;s some additional costs which are not covered by failed HTLCs, nor incorporate the time the HTLC &lt;br/&gt;slot was used. But that wasn&amp;#39;t my argument - my argument was that base &#43; proportional is a much, much closer match for &lt;br/&gt;the costs of a node barring clever-er solutions around HTLC-slot-time-used. Dropping base fee makes the whole situation &lt;br/&gt;a good chunk *worse*.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; Yes. You have to pay the cost of a node. If we&amp;#39;re really worried about this,&lt;br/&gt;&amp;gt;&amp;gt; we should be talking about upfront fees and/or refunds on HTLC fulfillment,&lt;br/&gt;&amp;gt;&amp;gt; not removing the fees entirely.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; (I don&amp;#39;t believe either of those are the right approach, but based on&lt;br/&gt;&amp;gt; previous discussions, I don&amp;#39;t think anyone&amp;#39;s going to realise I&amp;#39;m right&lt;br/&gt;&amp;gt; until I implement it and prove it, so *shrug*)&lt;br/&gt;&lt;br/&gt;I think I agree, but I think they may currently be better than any *other* proposal, not that they&amp;#39;re particularly good.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; The cost to nodes is largely [...]&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The cost to nodes is almost entirely the opportunity cost of not being&lt;br/&gt;&amp;gt; able to accept other txs that would come in afterwards and would pay&lt;br/&gt;&amp;gt; higher fees.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; And all those costs can be captured equally well (or badly) by just&lt;br/&gt;&amp;gt; setting a proportional fee and a minimum payment value. I don&amp;#39;t know why&lt;br/&gt;&amp;gt; you keep ignoring that point.&lt;br/&gt;&lt;br/&gt;I didn&amp;#39;t ignore this, I just disagree, and I&amp;#39;m not entirely sure why you&amp;#39;re ignoring the points I made to that effect :).&lt;br/&gt;&lt;br/&gt;In all seriousness, I&amp;#39;m entirely unsure why you think proportional is just as good? As you note, the cost for nodes is a &lt;br/&gt;function of the opportunity cost of the capital, and opportunity cost of the HTLC slots. Lets say as a routing node I &lt;br/&gt;decide that the opportunity cost of one of my HTLC slots is generally 1 sat per second, and the average HTLC is &lt;br/&gt;fulfilled in one second. Why is it that a proportional fee captures this &amp;#34;equally well&amp;#34;?!&lt;br/&gt;&lt;br/&gt;Yes, you could amortize it, but that doesn&amp;#39;t make it &amp;#34;equally&amp;#34; good, and there are semi-serious proposals to start &lt;br/&gt;ignoring nodes that *dont* set their fees to some particular structure in routing decisions. Sure, nodes can do what &lt;br/&gt;they want, but its kinda absurd to suggest that this is a perfectly fine thing to do absent a somewhat compelling &lt;br/&gt;reason. This goes doubly because deploying such things significantly will mean we cannot do future protocol changes &lt;br/&gt;which may better capture the time-value of node resources!&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Additionally, I don&amp;#39;t think HTLC slot usage needs to be kept as a&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; limitation after we switch to eltoo;&lt;br/&gt;&amp;gt;&amp;gt; The HTLC slot limit is to keep transactions broadcastable. I don&amp;#39;t see why&lt;br/&gt;&amp;gt;&amp;gt; this would change, you still get an output for each HTLC on the latest&lt;br/&gt;&amp;gt;&amp;gt; commitment in eltoo, AFAIU.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; eltoo gives us the ability to have channel factories....&lt;br/&gt;&lt;br/&gt;That doesn&amp;#39;t solve the issue at all - you still have a ton of transactions and transaction outputs and spends thereof to &lt;br/&gt;put on the chain in the case of a closure with pending HTLCs. In fact, most nodes today enforce a lower limit than the &lt;br/&gt;400-some-odd HTLCs that represent the transaction standardness limit, because 100KB transactions are stupid impractical.&lt;br/&gt;&lt;br/&gt;&amp;gt; (By &amp;#34;any time soon&amp;#34; I mean, I could see software defaults changing if&lt;br/&gt;&amp;gt; over 50% of the network deliberately switched to zero base fees and found&lt;br/&gt;&amp;gt; it worked fine; and I could see deprecating non-zero fees if that ended&lt;br/&gt;&amp;gt; up with 90% of the network on zero base fees, no good reasons for node&lt;br/&gt;&amp;gt; operators wanting to stick with running non-zero base fees, and the&lt;br/&gt;&amp;gt; experimental algos that relied on zero base fees being significantly&lt;br/&gt;&amp;gt; easier to maintain or faster/better)&lt;br/&gt;&lt;br/&gt;What is your definition of &amp;#34;works fine&amp;#34; here? In today&amp;#39;s nearly-entirely-altruistic-routing-node network, we could &lt;br/&gt;probably entirely drop the routing fees and things would &amp;#34;work fine&amp;#34;. That doesn&amp;#39;t make it a good idea for the long-term &lt;br/&gt;health of the network.&lt;br/&gt;&lt;br/&gt;My suggestion is quite simple - that the software vendors wishing to rely on these types of algorithms *first* do the &lt;br/&gt;legwork to see what other ideas can be explored before jumping to &amp;#34;ignore all the nodes who&amp;#39;ve decided their fees are &lt;br/&gt;X&amp;#34;, because I think *that* is pretty bad idea for the long-term health of the network. I even suggested several areas of &lt;br/&gt;future research for folks to look into before we get to the point of in any way seriously relying on routing algorithms &lt;br/&gt;that constrain our ability to adapt fees in the future.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-09T12:40:58Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqstc7wf336n59ldyg2ejhldcw6td5g209y3rfug2yvrls20q02j4kgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5scwf2k</id>
    
      <title type="html">📅 Original date posted:2021-08-15 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqstc7wf336n59ldyg2ejhldcw6td5g209y3rfug2yvrls20q02j4kgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5scwf2k" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs8qpd5yvjrd4gwa0e8elnl3mg5c96wt8yhqrfzm08rf5hpgm8vcjg54pqgz&#39;&gt;nevent1q…pqgz&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-08-15&lt;br/&gt;📝 Original message:&lt;br/&gt;On 8/15/21 22:02, Anthony Towns wrote:&lt;br/&gt;&amp;gt;&amp;gt; In&lt;br/&gt;&amp;gt;&amp;gt; one particular class of applicable routing algorithms you could use for&lt;br/&gt;&amp;gt;&amp;gt; lightning routing having a base fee makes the algorithm intractably slow,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I don&amp;#39;t think of that as the problem, but rather as the base fee having&lt;br/&gt;&amp;gt; a multiplicative effect as you split payments.&lt;br/&gt;&lt;br/&gt;Yes, matching the real-world costs of forwarding an HTLC.&lt;br/&gt;&lt;br/&gt;&amp;gt; If every channel has the same (base,proportional) fee pair, and send a&lt;br/&gt;&amp;gt; payment along a single path, you&amp;#39;re paying n*(base&#43;k*proportional). If&lt;br/&gt;&amp;gt; you split the payment, and send half of it one way, and half the other&lt;br/&gt;&amp;gt; way, you&amp;#39;re paying n*(2*base&#43;k*proportional). If you split the payment&lt;br/&gt;&amp;gt; four ways, you&amp;#39;re paying n*(4*base&#43;k*proportional). Where&amp;#39;s the value&lt;br/&gt;&amp;gt; to the network in penalising payment splitting?&lt;br/&gt;&lt;br/&gt;Yes. You have to pay the cost of a node. If we&amp;#39;re really worried about this, we should be talking about upfront fees &lt;br/&gt;and/or refunds on HTLC fulfillment, not removing the fees entirely.&lt;br/&gt;&lt;br/&gt;&amp;gt; Being denominated in sats, the base fee also changes in value as the&lt;br/&gt;&amp;gt; bitcoin price changes -- c-lightning dropped the base fee to 1sat (from&lt;br/&gt;&amp;gt; 546 sat!) in Jan 2018, but the value of 1sat has increased about 4x&lt;br/&gt;&amp;gt; since then, and it seems unlikely the fixed costs of a successful HTLC&lt;br/&gt;&amp;gt; payment have likewise increased 4x.  Proportional fees deal with this&lt;br/&gt;&amp;gt; factor automatically, of course.&lt;br/&gt;&lt;br/&gt;This isn&amp;#39;t a protocol issue, implementations can automate this without issue.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; There&amp;#39;s real cost to distorting the fee structures on the network away from&lt;br/&gt;&amp;gt;&amp;gt; the costs of node operators,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; That&amp;#39;s precisely what the base fee is already doing. Yes, we need some&lt;br/&gt;&amp;gt; other way of charging fees to prevent using up too many slots or having&lt;br/&gt;&amp;gt; transactions not fail in a timely manner, but the base fee does not&lt;br/&gt;&amp;gt; do that.&lt;br/&gt;&lt;br/&gt;Huh? For values much smaller than a node&amp;#39;s liquidity, the cost for nodes is (mostly) a function of HTLCs, not the value. &lt;br/&gt;The cost to nodes is largely (a) the forever-storage that exists, roughly, per HTLC ever on a channel, (b) the HTLC &lt;br/&gt;slots which are highly limited for technical reasons per channel, (c) the disk/cpu/network/etc operations per HTLC on an &lt;br/&gt;channel, (d) the liquidity required per node. I&amp;#39;d argue (c) is basically zero in any realistic context, (a) is pretty &lt;br/&gt;low, but could be non-zero in some cases, so you really just have (b) and (d). For many HTLCs forwarded today, the &lt;br/&gt;liquidity on a channel isn&amp;#39;t much, so I&amp;#39;d argue for many HTLCs forwarded today per-payment costs mirror the cost to a &lt;br/&gt;node much, much, much, much better than some proportional fees?&lt;br/&gt;&lt;br/&gt;I&amp;#39;m really not sure where you&amp;#39;re coming from here.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; Imagine we find some great way to address HTLC slot flooding/DoS attacks (or&lt;br/&gt;&amp;gt;&amp;gt; just chose to do it in a not-great way) by charging for HTLC slot usage, now&lt;br/&gt;&amp;gt;&amp;gt; we can&amp;#39;t fix a critical DoS issue because the routing algorithms we deployed&lt;br/&gt;&amp;gt;&amp;gt; can&amp;#39;t handle the new costing.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I don&amp;#39;t think that&amp;#39;s true. The two things we don&amp;#39;t charge for that can&lt;br/&gt;&amp;gt; be abused by probing spam are HTLC slot usage and channel balance usage;&lt;br/&gt;&amp;gt; both are problems only in proportion to the amount of time they&amp;#39;re held&lt;br/&gt;&amp;gt; open, and the latter is also only a problem proportional to the value&lt;br/&gt;&amp;gt; being reserved. [0]&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Additionally, I don&amp;#39;t think HTLC slot usage needs to be kept as a&lt;br/&gt;&amp;gt; limitation after we switch to eltoo;&lt;br/&gt;&lt;br/&gt;The HTLC slot limit is to keep transactions broadcastable. I don&amp;#39;t see why this would change, you still get an output &lt;br/&gt;for each HTLC on the latest commitment in eltoo, AFAIU.&lt;br/&gt;&lt;br/&gt;&amp;gt; and in the meantime, I think it can&lt;br/&gt;&amp;gt; be better managed via adjusting the min_htlc_amount -- at least for the&lt;br/&gt;&amp;gt; scenario where problems are being caused by legitimate payment attempts,&lt;br/&gt;&amp;gt; which is also the only place base fee can help.&lt;br/&gt;&lt;br/&gt;Sure, we could also shift towards upfront fees or similar solutions, though, and that was my point - if we start &lt;br/&gt;dropping absolute fee amounts now in order to make some given routing algorithm work, we box ourselves in here, and &lt;br/&gt;quite needlessly given no one has (yet) done the legwork to show that we even *need* to box ourselves in.&lt;br/&gt;&lt;br/&gt;&amp;gt; [0] (Well, ln-penalty&amp;#39;s requirement to permanently store HTLC information&lt;br/&gt;&amp;gt;       in order to apply the penalty is in some sense a constant&lt;br/&gt;&amp;gt;       cost, however the impact is also proportional to value, and for&lt;br/&gt;&amp;gt;       sufficiently low value HTLCs can be ignored entirely if the HTLC&lt;br/&gt;&amp;gt;       isn&amp;#39;t included in the channel commitment)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Instead, we should investigate how we can&lt;br/&gt;&amp;gt;&amp;gt; apply the ideas here with the more complicated fee structures we have.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Fee structures should be *simple* not complicated.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I mean, it&amp;#39;s kind of great that we started off complicated -- if it&lt;br/&gt;&amp;gt; turns out base fee isn&amp;#39;t necessary, it&amp;#39;s easy to just set it to zero;&lt;br/&gt;&amp;gt; if we didn&amp;#39;t have it, but needed it, it would be much more annoying to&lt;br/&gt;&amp;gt; add it in later.&lt;br/&gt;&lt;br/&gt;Fee structures should also match reality, and allow node operators sufficient flexibility to capture their costs. I &lt;br/&gt;think we have a design that does so quite well - its pretty simple, there&amp;#39;s only two knobs, but the two knobs capture &lt;br/&gt;exactly the two broad categories of costs a node operator has.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; Color me an optimist, but I&amp;#39;m quite confident with sufficient elbow grease&lt;br/&gt;&amp;gt;&amp;gt; and heuristics we can get 95% of the way there. We can and should revisit&lt;br/&gt;&amp;gt;&amp;gt; these conversations if such exploration is done and we find that its not&lt;br/&gt;&amp;gt;&amp;gt; possible, but until then this all feels incredibly premature.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Depends; I don&amp;#39;t think it makes sense to try to ban nodes that don&amp;#39;t have&lt;br/&gt;&amp;gt; a base fee of zero or anything, but random people on twitter advocating&lt;br/&gt;&amp;gt; that node operators should set it to zero and just worry about optimising&lt;br/&gt;&amp;gt; via the proportional fee and the min htlc amount seems fine.&lt;br/&gt;&lt;br/&gt;Sure, the great thing about today is because the protocol exposes decent knobs operators can tune their fee structures &lt;br/&gt;any way they want, providing competition and multiple paths to nodes with potentially very divergent fees depending on &lt;br/&gt;the type of payment. Absent liquidity limits, this should provide better service for all types of payments - routing &lt;br/&gt;them to nodes that will support those types of payments!&lt;br/&gt;&lt;br/&gt;&amp;gt; For an experimental plugin that aggressively splits payments up, I think&lt;br/&gt;&amp;gt; either ignoring channels with &amp;gt;0 base fee entirely, or deciding that&lt;br/&gt;&amp;gt; you&amp;#39;re happy to spend a total of X sats on base fees, and then ignoring&lt;br/&gt;&amp;gt; channels whose base fee is greater than X/paths/path-length sats is fine.&lt;br/&gt;&lt;br/&gt;Sure, experimental plugins can do whatever they want!&lt;br/&gt;&lt;br/&gt;&amp;gt; But long term, I also think that the base fee is an entirely unhelpful&lt;br/&gt;&amp;gt; complication that will eventually just be hardcoded to zero by everyone,&lt;br/&gt;&amp;gt; and eventually channels that propose non-zero base fees won&amp;#39;t even be&lt;br/&gt;&amp;gt; gossiped. I don&amp;#39;t expect that to happen any time soon though.&lt;br/&gt;&lt;br/&gt;I very strongly disagree, as discussed, and am left highly dubious that it is a practical complication in any case.
    </content>
    <updated>2023-06-09T12:40:57Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs0rr3u2acllx0qhm9u6tr26ty7dlcl6hyvh980r53wxzx59hl79jqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5mz6ckn</id>
    
      <title type="html">📅 Original date posted:2022-09-17 📝 Original message:On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs0rr3u2acllx0qhm9u6tr26ty7dlcl6hyvh980r53wxzx59hl79jqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5mz6ckn" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsd0r4gg2svrh6u9m576lg3g68gu8ytn6gcvddht8yv63u0t82yx3gyenetz&#39;&gt;nevent1q…netz&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-09-17&lt;br/&gt;📝 Original message:On 9/17/22 2:14 AM, Anthony Towns wrote:&lt;br/&gt;&amp;gt; On Fri, Sep 16, 2022 at 12:46:53PM -0400, Matt Corallo via bitcoin-dev wrote:&lt;br/&gt;&amp;gt;&amp;gt; On 9/16/22 3:15 AM, Anthony Towns via bitcoin-dev wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; As we&amp;#39;ve seen from the attempt at a CHECKTEMPLATEVERIFY activation earlier&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; in the year [0], the question of &amp;#34;how to successfully get soft fork&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; ideas from concept to deployment&amp;#34; doesn&amp;#39;t really have a good answer today.&lt;br/&gt;&amp;gt;&amp;gt; I strongly disagree with this.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Okay? &amp;#34;X is good&amp;#34; is obviously just a statement of opinion, so if you&lt;br/&gt;&amp;gt; want to disagree, that&amp;#39;s obviously allowed.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I also kind of feel like that&amp;#39;s the *least* interesting paragraph in the&lt;br/&gt;&amp;gt; entire email to talk further about; if you think the current answer&amp;#39;s&lt;br/&gt;&amp;gt; already good, then the rest of the mail&amp;#39;s just about (hopefully) making&lt;br/&gt;&amp;gt; it better, which would be worthwhile anyway?&lt;br/&gt;&lt;br/&gt;No, I think its at least a good chunk of the &amp;#34;statement of problem&amp;#34;. Yes, more testing is good, and &lt;br/&gt;this project is a way to get that. Cool. But implying that lack of test frameworks is in any &lt;br/&gt;material way part of the lack of movement on forks in Bitcoin I think is very wrong, so its worth &lt;br/&gt;pointing out, whether the particular project is useful or not is separate.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; Going back many, many years we&amp;#39;ve had many&lt;br/&gt;&amp;gt;&amp;gt; discussions about fork process, and the parts people (historically) agreed&lt;br/&gt;&amp;gt;&amp;gt; with tend to be:&lt;br/&gt;&amp;gt;&amp;gt; (1) come up with an idea&lt;br/&gt;&amp;gt;&amp;gt; (2) socialize the idea in the technical community, see if anyone comes up&lt;br/&gt;&amp;gt;&amp;gt; with any major issues or can suggest better ideas which solve the same&lt;br/&gt;&amp;gt;&amp;gt; use-cases in cleaner ways&lt;br/&gt;&amp;gt;&amp;gt; (3) propose the concrete idea with a more well-defined strawman, socialize&lt;br/&gt;&amp;gt;&amp;gt; that, get some kind of rough consensus in the loosely-defined, subjective,&lt;br/&gt;&amp;gt;&amp;gt; &amp;#34;technical community&amp;#34; (ie just ask people and adapt to feedback until you&lt;br/&gt;&amp;gt;&amp;gt; have found some kind of average of the opinions of people you, the&lt;br/&gt;&amp;gt;&amp;gt; fork-champion, think are reasonably well-informed!).&lt;br/&gt;&amp;gt;&amp;gt; (4) okay, admittedly beyond this is a bit less defined, but we can deal with it when we get there.&lt;br/&gt;&amp;gt;&amp;gt; Turns out, the issue today is a lack of champions following steps 1-3, we&lt;br/&gt;&amp;gt;&amp;gt; can debate what the correct answer is to step (4) once we actually have&lt;br/&gt;&amp;gt;&amp;gt; people who want to be champions who are willing to (humbly) push an idea&lt;br/&gt;&amp;gt;&amp;gt; forward towards rough agreement of the world of technical bitcoiners&lt;br/&gt;&amp;gt;&amp;gt; (without which I highly doubt you&amp;#39;d ever see broader-community consensus).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Personally, I think this is easily refuted by contradiction.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; 1) If we did have a good answer for how to progress a soft-fork, then&lt;br/&gt;&amp;gt; the great consensus cleanup [0] would have made more progress over the&lt;br/&gt;&amp;gt; past 3.5 years&lt;br/&gt;&lt;br/&gt;No? Who is the champion for it? I haven&amp;#39;t been. No one else is obliged to take up the reins and run &lt;br/&gt;with it, that&amp;#39;s not how open-source works. And no one has emerged who has strong interest in doing &lt;br/&gt;so, and that&amp;#39;s totally fine. It means it hasn&amp;#39;t made any progress, but that&amp;#39;s an indication that no &lt;br/&gt;one feels strongly enough about it that its risen to the top of their personal priority list so &lt;br/&gt;clearly doesn&amp;#39;t *need* to make progress.&lt;br/&gt;&lt;br/&gt;&amp;gt; Maybe not all of the ideas in it were unambiguously good&lt;br/&gt;&amp;gt; [1], but personally, I&amp;#39;m convinced at least some of them are, and I&lt;br/&gt;&amp;gt; don&amp;#39;t think I&amp;#39;m alone in thinking that. Even if the excuse is that its&lt;br/&gt;&amp;gt; original champion wasn&amp;#39;t humble enough, there&amp;#39;s something wrong with&lt;br/&gt;&amp;gt; the process if there doesn&amp;#39;t exist some other potential champion with&lt;br/&gt;&amp;gt; the right balance of humility, confidence, interest and time who could&lt;br/&gt;&amp;gt; have taken it over in that timeframe.&lt;br/&gt;&lt;br/&gt;No? Its not up to the community to find a champion for someone who wants a fork to happen. Either &lt;br/&gt;someone thinks its a good enough idea that they step up, or no one does. If no one does, then so be &lt;br/&gt;it. If the original proper (me, in this case) thought it was that important then its *their* &lt;br/&gt;responsibility to be the champion, no one else&amp;#39;s.&lt;br/&gt;&lt;br/&gt;&amp;gt; 2) Many will argue that CTV has already done steps (1) through (3) above:&lt;br/&gt;&amp;gt; certainly there&amp;#39;s been an idea, it&amp;#39;s been socialised through giving talks,&lt;br/&gt;&amp;gt; having discussion forums, having research workshops [2], documenting use&lt;br/&gt;&amp;gt; cases use cases; there&amp;#39;s been a concrete implementation for years now,&lt;br/&gt;&amp;gt; with a test network that supports the proposed feature, and new tools&lt;br/&gt;&amp;gt; that demonstrate some of the proposed use cases, and while alternative&lt;br/&gt;&amp;gt; approaches have been suggested [3], none of them have even really made&lt;br/&gt;&amp;gt; it to step (2), let alone step (3).&lt;br/&gt;&lt;br/&gt;I don&amp;#39;t really see how you can make this argument seriously. Honestly, if a soft-fork BIP only has &lt;br/&gt;one author on the list, then I&amp;#39;m not sure one can argue that step (3) has really been completed, and &lt;br/&gt;maybe not even step (2).&lt;br/&gt;&lt;br/&gt;&amp;gt; So that leaves a few possibilities&lt;br/&gt;&amp;gt; to my mind:&lt;br/&gt;&lt;br/&gt;&amp;gt;   * CTV should be in step (4), and its lack of definition is a problem,&lt;br/&gt;&amp;gt;     and trying the &amp;#34;deal with it when we get there&amp;#34; approach is precisely&lt;br/&gt;&amp;gt;     what didn&amp;#39;t work back in April.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;   * The evaluation process is too inconclusive: it should either be&lt;br/&gt;&amp;gt;     saying &amp;#34;CTV is not good enough, fix these problems&amp;#34;, or &amp;#34;CTV hasn&amp;#39;t&lt;br/&gt;&amp;gt;     sufficiently demonstrated its value/cost, work on X next&amp;#34;, but it&lt;br/&gt;&amp;gt;     isn&amp;#39;t.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;   * Parts (2) to (3) are too hard, and that&amp;#39;s preventing alternatives&lt;br/&gt;&amp;gt;     from making progress, which in turn is preventing people from&lt;br/&gt;&amp;gt;     being able to decide whether CTV is the superior approach, or some&lt;br/&gt;&amp;gt;     alternative is.&lt;br/&gt;&lt;br/&gt;I think this is most of it, but its not that they&amp;#39;re too hard, its that people are *too busy*. There &lt;br/&gt;seemed to be more positive feedback, for example, to Rusty&amp;#39;s proposal, but being the champion for a &lt;br/&gt;soft-fork is a full-time job for months on end, and last I checked Rusty has a lightning &lt;br/&gt;implementation to maintain, which tends to be a more-than-full-time job already.&lt;br/&gt;&lt;br/&gt;To my knowledge, no one but Jeremy has made any serious attempt at being the champion for a &lt;br/&gt;soft-fork since Taproot, and before that Segwit (if someone reading this who contributes to Core &lt;br/&gt;already wants to, and isn&amp;#39;t sure how to, there&amp;#39;s lots of people who would happily mentor you! I&amp;#39;m &lt;br/&gt;sure you can figure out who to reach out to!).&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-07T23:13:31Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqspjj850wvnpvsydx6han438nvje4ynl7akejs2pvy87snhxd5lqyszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5gg08kp</id>
    
      <title type="html">📅 Original date posted:2022-04-21 📝 Original message:On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqspjj850wvnpvsydx6han438nvje4ynl7akejs2pvy87snhxd5lqyszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5gg08kp" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2uzx5l0gxwcnlnsp4vr9pwxpnhgwmz49t663wr66wysxua9txyac63ucgq&#39;&gt;nevent1q…ucgq&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-04-21&lt;br/&gt;📝 Original message:On 4/21/22 11:06 AM, David A. Harding wrote:&lt;br/&gt;&amp;gt; On 21.04.2022 04:58, Matt Corallo wrote:&lt;br/&gt;&amp;gt;&amp;gt; On 4/20/22 6:04 PM, David A. Harding via bitcoin-dev wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; The main criticisms I&amp;#39;m aware of against CTV seem to be along the following lines:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; 1. Usage, either:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;    a. It won&amp;#39;t receive significant real-world usage, or&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;    b. It will be used but we&amp;#39;ll end up using something better later&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; 2. An unused CTV will need to be supported forever, creating extra maintenance&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;     burden, increasing security surface, and making it harder to evaluate later&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;     consensus change proposals due to their interactions with CTV&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Also &amp;#34;is this even the way we should be going about covenants?&amp;#34;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I consider this to be a version of point 1b above.  If we find a better way for going about &lt;br/&gt;&amp;gt; covenants, then we&amp;#39;ll activate that and let CTV automatically be retired at the end of its five years.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; If you still think your point is separate from point 1b, I would appreciate you helping me understand.&lt;br/&gt;&lt;br/&gt;No, its unrelated to whether CTV or any other system gets usage. If we were just concerned with &lt;br/&gt;whether CTV would get usage over or under some other alternative proposal then I could see an &lt;br/&gt;argument for your proposal (though the nontrivial cost of any fork to Bitcoin would make me still &lt;br/&gt;strongly disagree with such a way forward in principle).&lt;br/&gt;&lt;br/&gt;Rather, I&amp;#39;m instead concerned with us designing something that is going to be the most flexible and &lt;br/&gt;useful and hopefully private covenents design we can, because that doesn&amp;#39;t just get users to use the &lt;br/&gt;change to Bitcoin we paid some nontrivial change-cost to incorporate into the Bitcoin&amp;#39;s consensus &lt;br/&gt;rules, but gets the most bang-for-our-buck. There are at least three or four separate covenants &lt;br/&gt;designs that have been posted to this list, and I don&amp;#39;t see why we&amp;#39;re even remotely talking about a &lt;br/&gt;specific one as something to move forward with at this point.&lt;br/&gt;&lt;br/&gt;We don&amp;#39;t add things to Bitcoin just to find out whether we can. full stop.&lt;br/&gt;&lt;br/&gt;We add things to Bitcoin because (a) there&amp;#39;s some demonstrated use-cases and intent to use the &lt;br/&gt;change (which I think we definitely have for covenants, but which only barely, if at all, suggests &lt;br/&gt;favoring one covenant design over any other), (b) because its generally considered aligned with &lt;br/&gt;Bitcoin&amp;#39;s design and goals, based on developer and more broad community response and (c) because the &lt;br/&gt;technical folks who have/are wiling to spend time working on the specific design space think the &lt;br/&gt;concrete proposal is the best design we have, and finally (d) because the implementation is &lt;br/&gt;well-reviewed and complete.&lt;br/&gt;&lt;br/&gt;I do not see how we can make an argument for any specific covenant under (c) here. We could just as &lt;br/&gt;well be talking about TLUV/CAT&#43;CHECKSIGFROMSTACK/etc, and nearly anyone who is going to use CTV can &lt;br/&gt;probably just as easily use those instead - ie this has nothing to do with &amp;#34;will people use it&amp;#34;.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; the Bitcoin technical community (or at least those interested in&lt;br/&gt;&amp;gt;&amp;gt; working on covenants) doesn&amp;#39;t even remotely show any signs of&lt;br/&gt;&amp;gt;&amp;gt; consensus around any concrete proposal,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This is also my assessment: neither CTV nor any other proposal currently has enough support to &lt;br/&gt;&amp;gt; warrant a permanent change to the consensus rules.  My question to the list was whether we could use &lt;br/&gt;&amp;gt; a transitory soft fork as a method for collecting real-world usage data about proposals.  E.g., a &lt;br/&gt;&amp;gt; consensus change proposal could proceed along the following idealized path:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; - Idea (individual or small group)&lt;br/&gt;&amp;gt; - Publication (probably to this list)&lt;br/&gt;&amp;gt; - Draft specification and implementation&lt;br/&gt;&amp;gt; - Riskless testing (integration tests, signet(s), testnet, etc)&lt;br/&gt;&amp;gt; - Money-at-stake testing (availability on a pegged sidechain, an altcoin similar to Bitcoin, or in &lt;br/&gt;&amp;gt; Bitcoin via a transitory soft fork)&lt;br/&gt;&amp;gt; - Permanent consensus change&lt;br/&gt;&lt;br/&gt;That all seems fine, except that doing a fork on Bitcoin has very nontrivial cost, both in terms of &lt;br/&gt;ecosystem disruption and possibility that anything goes wrong, not to mention code maintenance &lt;br/&gt;(which we cannot remove the validation code for something ever, really - you still want to be able &lt;br/&gt;to validate the historical chain). Plus, really, I&amp;#39;d love to see &amp;#34;technical community consensus&amp;#34; &lt;br/&gt;somewhere in there - at least its been something that has very roughly appeared for most previous &lt;br/&gt;soft forks, at least among those who have time/willingness to work on the specific design being &lt;br/&gt;proposed.&lt;br/&gt;&lt;br/&gt;[other comments snipped because my responses would mostly have been rehashing the first response above].&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-07T23:07:36Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsp7f0kh52shu5asnhxxgy26cxva3tgmv0mzkhz2mm2knqhf76f8nczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5y9mf2u</id>
    
      <title type="html">📅 Original date posted:2022-04-21 📝 Original message:On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsp7f0kh52shu5asnhxxgy26cxva3tgmv0mzkhz2mm2knqhf76f8nczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5y9mf2u" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs0uau4vy75yw4yj9923xsl4sydfc57ygtc2cltxvpt74mkc56zyscpz25jx&#39;&gt;nevent1q…25jx&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-04-21&lt;br/&gt;📝 Original message:On 4/20/22 6:04 PM, David A. Harding via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; Hi all,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The main criticisms I&amp;#39;m aware of against CTV seem to be along the following lines:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; 1. Usage, either:&lt;br/&gt;&amp;gt;    a. It won&amp;#39;t receive significant real-world usage, or&lt;br/&gt;&amp;gt;    b. It will be used but we&amp;#39;ll end up using something better later&lt;br/&gt;&amp;gt; 2. An unused CTV will need to be supported forever, creating extra maintenance&lt;br/&gt;&amp;gt;     burden, increasing security surface, and making it harder to evaluate later&lt;br/&gt;&amp;gt;     consensus change proposals due to their interactions with CTV&lt;br/&gt;&amp;gt;&lt;br/&gt;&lt;br/&gt;Also &amp;#34;is this even the way we should be going about covenants?&amp;#34; Given there are still various &lt;br/&gt;proposals for covenants floating around and we&amp;#39;re still in the very early stages of the &lt;br/&gt;reconciliation of them and the Bitcoin technical community (or at least those interested in working &lt;br/&gt;on covenants) doesn&amp;#39;t even remotely show any signs of consensus around any concrete proposal,&lt;br/&gt;&lt;br/&gt;talking about a &amp;#34;way forward for CTV&amp;#34; or activating CTV or coming up with some way of shoving it &lt;br/&gt;into Bitcoin at this stage is insulting, myopic, short-sighted. Worse, it sets incredibly poor &lt;br/&gt;precedent for how we think about changes to Bitcoin and maintaining Bitcoin&amp;#39;s culture of security &lt;br/&gt;and careful design.&lt;br/&gt;&lt;br/&gt;I&amp;#39;m gobsmacked that the conversation has reached this point, and am even more surprised that the &lt;br/&gt;response from the Bitcoin (technical) community hasn&amp;#39;t been a more resounding and complete rejection &lt;br/&gt;of this narrative.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-07T23:07:35Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsq5qfa2hu269fptl4wkjnwfr77xe2jyj8gqay5n4lmzxt6rvuk0tqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5v5998a</id>
    
      <title type="html">📅 Original date posted:2021-09-10 📝 Original message:Fwiw, ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsq5qfa2hu269fptl4wkjnwfr77xe2jyj8gqay5n4lmzxt6rvuk0tqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5v5998a" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsftrfdsqazaallkyqq8h5dh9dy77tf85r7l6furc5w4tafdk8tlpcz9zl7f&#39;&gt;nevent1q…zl7f&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-09-10&lt;br/&gt;📝 Original message:Fwiw, your email client is broken and does not properly quote in the plaintext copy. I believe this &lt;br/&gt;is a known gmail bug, but I&amp;#39;d recommend avoiding gmail&amp;#39;s web interface for list posting :).&lt;br/&gt;&lt;br/&gt;On 9/10/21 12:00, Michael Folkson wrote:&lt;br/&gt;&amp;gt;&amp;gt; Huh? Why would the goal be to match mainnet? The goal, as I understand it, is to allow software to&lt;br/&gt;&amp;gt; use SigNet without modification *to make testing simpler* - keep the&lt;br/&gt;&amp;gt; header format the same to let&lt;br/&gt;&amp;gt; SPV clients function without (significant) modification, etc. The&lt;br/&gt;&amp;gt; point of the whole thing is to&lt;br/&gt;&amp;gt; make testing as easy as possible, why would we do otherwise.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I guess Kalle (and AJ) can answer this question better than me but my&lt;br/&gt;&amp;gt; understanding is that the motivation for Signet was that testnet&lt;br/&gt;&amp;gt; deviated erratically from mainnet behavior (e.g. long delays before&lt;br/&gt;&amp;gt; any blocks were mined followed by a multitude of blocks mined in a&lt;br/&gt;&amp;gt; short period of time) which meant it wasn&amp;#39;t conducive to normal&lt;br/&gt;&amp;gt; testing of applications. Why would you want a mainnet like chain? To&lt;br/&gt;&amp;gt; check if your application works on a mainnet like chain without&lt;br/&gt;&amp;gt; risking any actual value before moving to mainnet. The same purpose as&lt;br/&gt;&amp;gt; testnet but more reliably resembling mainnet behavior. You are well&lt;br/&gt;&amp;gt; within your rights to demand more than that but my preference would be&lt;br/&gt;&amp;gt; to push some of those demands to custom signets rather than the&lt;br/&gt;&amp;gt; default Signet.&lt;br/&gt;&lt;br/&gt;Huh? You haven&amp;#39;t made an argument here as to why such a chain is easier to test with, only that we &lt;br/&gt;should &amp;#34;match mainnet&amp;#34;. Testing on mainnet sucks, 99% of the time testing on mainnet involves no &lt;br/&gt;reorgs, which *doesn&amp;#39;t* match in-the-field reality of mainnet, with occasional reorgs. Matching &lt;br/&gt;mainnet&amp;#39;s behavior is, in fact, a terrible way to test if your application will run fine on mainnet.&lt;br/&gt;&lt;br/&gt;My point is that the goal should be making it easier to test. I&amp;#39;m not entirely sure why there&amp;#39;s &lt;br/&gt;debate here.  I *regularly* have lunch late because I&amp;#39;m waiting for blocks either on mainnet or &lt;br/&gt;testnet3, and would quite like to avoid that in the future. It takes *forever* to test things on &lt;br/&gt;mainnet and testnet3, matching their behavior would mean its equally impossible to test things on &lt;br/&gt;mainnet and testnet3, why is that something we should stirve for?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt; Testing out proposed soft forks in advance of them being considered&lt;br/&gt;&amp;gt; for activation would already be introducing a dimension of complexity&lt;br/&gt;&amp;gt; that is going to be hard to manage [0]. I&amp;#39;m generally of the view that&lt;br/&gt;&amp;gt; if you are going to introduce a complexity dimension, keep the other&lt;br/&gt;&amp;gt; dimensions as vanilla as possible. Otherwise you are battling&lt;br/&gt;&amp;gt; complexity in multiple different dimensions and it becomes hard or&lt;br/&gt;&amp;gt; impossible to maintain it and meet your initial objectives.&lt;br/&gt;&lt;br/&gt;Yep! Great reason to not have any probabilistic nonsense or try to match mainnet or something on &lt;br/&gt;signet, just make it deterministic, reorg once a block or twice an our or whatever and call it a day!&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-07T22:58:53Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsprl3mxpd4e56vqdgqzeyezc8ehlr7wj2w30ycrml2vt6j8aju9yczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5pjvsp4</id>
    
      <title type="html">📅 Original date posted:2021-09-10 📝 Original message:On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsprl3mxpd4e56vqdgqzeyezc8ehlr7wj2w30ycrml2vt6j8aju9yczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5pjvsp4" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsyfjgcalcsqwyguljqwlwy6hsyd6dtggwctl5y5040fl6aumhrtzst9ppl2&#39;&gt;nevent1q…ppl2&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-09-10&lt;br/&gt;📝 Original message:On 9/10/21 06:05, Michael Folkson wrote:&lt;br/&gt;&amp;gt;&amp;gt; I see zero reason whatsoever to not simply reorg ~every block, or as often as is practical. If users opt in to wanting to test with reorgs, they should be able to test with reorgs, not wait a day to test with reorgs.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; One of the goals of the default Signet was to make the default Signet&lt;br/&gt;&amp;gt; resemble mainnet as much as possible. (You can do whatever you want on&lt;br/&gt;&amp;gt; a custom signet you set up yourself including manufacturing a re-org&lt;br/&gt;&amp;gt; every block if you wish.) Hence I&amp;#39;m a bit wary of making the behavior&lt;br/&gt;&amp;gt; on the default Signet deviate significantly from what you might&lt;br/&gt;&amp;gt; experience on mainnet. Given re-orgs don&amp;#39;t occur that often on mainnet&lt;br/&gt;&amp;gt; I can see the argument for making them more regular (every 8 hours&lt;br/&gt;&amp;gt; seems reasonable to me) on the default Signet but every block seems&lt;br/&gt;&amp;gt; excessive. It makes the default Signet into an environment for purely&lt;br/&gt;&amp;gt; testing whether your application can withstand various flavors of edge&lt;br/&gt;&amp;gt; case re-orgs. You may want to test whether your application can&lt;br/&gt;&amp;gt; withstand normal mainnet behavior (no re-orgs for long periods of&lt;br/&gt;&amp;gt; time) first before you concern yourself with re-orgs.&lt;br/&gt;&lt;br/&gt;Huh? Why would the goal be to match mainnet? The goal, as I understand it, is to allow software to &lt;br/&gt;use SigNet without modification *to make testing simpler* - keep the header format the same to let &lt;br/&gt;SPV clients function without (significant) modification, etc. The point of the whole thing is to &lt;br/&gt;make testing as easy as possible, why would we do otherwise.&lt;br/&gt;&lt;br/&gt;Further, because one goal here is to enable clients to opt in or out of the reorg chain at will &lt;br/&gt;(presumably by just changing one config flag in bitcoin.conf), why would we worry about making it &lt;br/&gt;&amp;#34;similar to mainnet&amp;#34;. If users want an experience &amp;#34;similar to mainnet&amp;#34;, they can simply turn off &lt;br/&gt;reorgs and they&amp;#39;ll see a consistent chain moving forward which never reorgs, similar to the &lt;br/&gt;practical experience of mainnet.&lt;br/&gt;&lt;br/&gt;Once you&amp;#39;ve opted into reorgs, you almost certainly are looking to *test* reorgs - you just &lt;br/&gt;restarted Bitcoin Core with the reorg flag set, waiting around for a reorg after doing that seems &lt;br/&gt;like the experience of testnet3 today, and the whole reason why we wanted signet to begin with - &lt;br/&gt;things happen sporadically and inconsistently, making developers wait around forever. Please lets &lt;br/&gt;not replicate the &amp;#34;gotta wait for blocks before I can go to lunch&amp;#34; experience of testnet today on &lt;br/&gt;signet, I&amp;#39;m tired of eating lunch late.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; Why bother with a version bit? This seems substantially more complicated than the original proposal that surfaced many times before signet launched to just have a different reorg signing key. Thus, users who wish to follow reorgs can use a 1-of-2 (or higher multisig) and users who wish to not follow reorgs would use a 1-of-1 (or higher multisig), simply marking the reorg blocks as invalid without touching any header bits that non-full clients will ever see.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; If I understand this correctly this is introducing a need for users to&lt;br/&gt;&amp;gt; sign blocks when currently with the default Signet the user does not&lt;br/&gt;&amp;gt; need to concern themselves with signing blocks. That is entirely left&lt;br/&gt;&amp;gt; to the network block signers of the default Signet (who were AJ and&lt;br/&gt;&amp;gt; Kalle last time I checked). Again I don&amp;#39;t think this additional&lt;br/&gt;&amp;gt; complexity is needed on the default Signet when you can set up your&lt;br/&gt;&amp;gt; own custom Signet if you want to test edge case scenarios that deviate&lt;br/&gt;&amp;gt; significantly from what you are likely to experience on mainnet. A&lt;br/&gt;&amp;gt; flag set via a configuration argument (the AJ, 0xB10C proposal) with&lt;br/&gt;&amp;gt; no-reorgs (or 8 hour re-orgs) as the default seems to me like it would&lt;br/&gt;&amp;gt; introduce no additional complexity to the casual (or alpha stage)&lt;br/&gt;&amp;gt; tester experience though of course it introduces implementation&lt;br/&gt;&amp;gt; complexity.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; To move the default Signet in the direction of resembling mainnet even&lt;br/&gt;&amp;gt; closer would be to randomly generate batches of transactions to fill&lt;br/&gt;&amp;gt; up blocks and create a fee market. It would be great to be able to&lt;br/&gt;&amp;gt; test features like RBF and Lightning unhappy paths (justice&lt;br/&gt;&amp;gt; transactions, perhaps even pinning attacks etc) on the default Signet&lt;br/&gt;&amp;gt; in future.&lt;br/&gt;&lt;br/&gt;I believe my suggestion was not correctly understood. I&amp;#39;m not suggesting *users* sign blocks or &lt;br/&gt;otherwise do anything manually here, only that the existing block producers each generate a new key, &lt;br/&gt;and we then only sign reorgs with *those* keys. Users will be able to set a flag to indicate &amp;#34;I want &lt;br/&gt;to accept sigs from either sets of keys, and see reorgs&amp;#34; or &amp;#34;I only want sigs from the non-reorg &lt;br/&gt;keys, and will consider the reorg keys-signed blocks invalid&amp;#34;&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-07T22:58:52Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsqzzw6hukmj9spr297g0vnga9y08xe7tfgwf9re0rdheys6t4r8mqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5j8477x</id>
    
      <title type="html">📅 Original date posted:2021-09-15 📝 Original message:&amp;gt; ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsqzzw6hukmj9spr297g0vnga9y08xe7tfgwf9re0rdheys6t4r8mqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5j8477x" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs84y36hq7gh552qr9jcad3rqypk43njnj0wn4tyhwzxffr5d9z46q93zat5&#39;&gt;nevent1q…zat5&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-09-15&lt;br/&gt;📝 Original message:&amp;gt; On Sep 13, 2021, at 21:56, Anthony Towns &amp;lt;aj at erisian.com.au&amp;gt; wrote:&lt;br/&gt;&amp;gt; I&amp;#39;m not sure that&amp;#39;s really the question you want answered?&lt;br/&gt;&lt;br/&gt;Of course it is? I’d like to understand the initial thinking and design analysis that went into this decision. That seems like an important question to ask when seeking changes in an existing system :).&lt;br/&gt;&lt;br/&gt;&amp;gt; Mostly&lt;br/&gt;&amp;gt; it&amp;#39;s just &amp;#34;this is how mainnet works&amp;#34; plus &amp;#34;these are the smallest&lt;br/&gt;&amp;gt; changes to have blocks be chosen by a signature, rather than entirely&lt;br/&gt;&amp;gt; by PoW competition&amp;#34;.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; For integration testing across many services, I think a ten-minute-average&lt;br/&gt;&amp;gt; between blocks still makes sense -- protocols relying on CSV/CLTV to&lt;br/&gt;&amp;gt; ensure there&amp;#39;s a delay they can use to recover funds, if they specify&lt;br/&gt;&amp;gt; that in blocks (as lightning&amp;#39;s to_self_delay does), then significant&lt;br/&gt;&amp;gt; surges of blocks will cause uninteresting bugs. &lt;br/&gt;&lt;br/&gt;Hmm, why would blocks coming quicker lead to a bug? I certainly hope no one has a bug if their block time is faster than per ten minutes. I presume here, you mean something like “if the node can’t keep up with the block rate”, but I certainly hope the benchmark for may isn’t 10 minutes, or really even one.&lt;br/&gt;&lt;br/&gt;&amp;gt; It would be easy enough to change things to target an average of 2 or&lt;br/&gt;&amp;gt; 5 minutes, I suppose, but then you&amp;#39;d probably need to propogate that&lt;br/&gt;&amp;gt; logic back into your apps that would otherwise think 144 blocks is around&lt;br/&gt;&amp;gt; about a day.&lt;br/&gt;&lt;br/&gt;Why? One useful thing for testing is compressing real time. More broadly, the only issues that I’ve heard around block times in testnet3 are the inconsistency and, rarely software failing to keep up at all.&lt;br/&gt;&lt;br/&gt;&amp;gt; We could switch back to doing blocks exactly every 10 minutes, rather&lt;br/&gt;&amp;gt; than a poisson-ish distribution in the range of 1min to 60min, but that&lt;br/&gt;&amp;gt; doesn&amp;#39;t seem like that huge a win, and makes it hard to test that things&lt;br/&gt;&amp;gt; behave properly when blocks arrive in bursts.&lt;br/&gt;&lt;br/&gt;Hmm, I suppose? If you want to test that the upper bound doesn’t need to be 100 minutes, though, it could be 10.&lt;br/&gt;&lt;br/&gt;&amp;gt; Best of luck to you then? Nobody&amp;#39;s trying to sell you on a subscription&lt;br/&gt;&amp;gt; plan to using signet.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;lol, yes, I’m aware of that, nor did I mean to imply that anything has to be targeted at a specific person’s requirements. Rather, my point here is that I’m really confused as to who  the target user *is*, because we should be building products with target users in mind, even if those targets are often “me” for open source projects.
    </content>
    <updated>2023-06-07T22:58:51Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqspdyv34ff86n2e0875m2gy64j8z54cnhk49v746g68672gezrhtyczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5s855eq</id>
    
      <title type="html">📅 Original date posted:2021-08-08 📝 Original message:If it ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqspdyv34ff86n2e0875m2gy64j8z54cnhk49v746g68672gezrhtyczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5s855eq" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs9uc4preqfj0fl9neaky52339gxty30ux47xfnu0mx0qpujk6gfwqnvw7d8&#39;&gt;nevent1q…w7d8&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-08-08&lt;br/&gt;📝 Original message:If it weren&amp;#39;t for the implications in changing standardness here, I think we should consider increasing the dust limit &lt;br/&gt;instead.&lt;br/&gt;&lt;br/&gt;The size of the UTXO set is a fundamental scalability constraint of the system. In fact, with proposals like &lt;br/&gt;assume-utxo/background history sync it is arguably *the* fundamental scalability constraint of the system. Today&amp;#39;s dust &lt;br/&gt;limit is incredibly low - its based on a feerate of only 3 sat/vByte in order for claiming the UTXO to have *any* value, &lt;br/&gt;not just having enough value to be worth bothering. As feerates have gone up over time, and as we expect them to go up &lt;br/&gt;further, we should be considering drastically increasing the 3 sat/vByte basis to something more like 20 sat/vB.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 8/8/21 14:52, Jeremy via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; We should remove the dust limit from Bitcoin. Five reasons:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; 1) it&amp;#39;s not our business what outputs people want to create&lt;br/&gt;&lt;br/&gt;It is precisely our business - the costs are born by us, not the creator. If someone wants to create outputs which don&amp;#39;t &lt;br/&gt;make sense to spend, they can do so using OP_RETURN, since they won&amp;#39;t spend it anyway.&lt;br/&gt;&lt;br/&gt;&amp;gt; 2) dust outputs can be used in various authentication/delegation smart contracts&lt;br/&gt;&lt;br/&gt;So can low-value-but-enough-to-be-worth-spending-when-you&amp;#39;re-done-with-them outputs.&lt;br/&gt;&lt;br/&gt;&amp;gt; 3) dust sized htlcs in lightning &lt;br/&gt;&amp;gt; (&lt;a href=&#34;https://bitcoin.stackexchange.com/questions/46730/can-you-send-amounts-that-would-typically-be-considered-dust-through-the-light&#34;&gt;https://bitcoin.stackexchange.com/questions/46730/can-you-send-amounts-that-would-typically-be-considered-dust-through-the-light&lt;/a&gt; &lt;br/&gt;&amp;gt; &amp;lt;&lt;a href=&#34;https://bitcoin.stackexchange.com/questions/46730/can-you-send-amounts-that-would-typically-be-considered-dust-through-the-light&amp;gt&#34;&gt;https://bitcoin.stackexchange.com/questions/46730/can-you-send-amounts-that-would-typically-be-considered-dust-through-the-light&amp;gt&lt;/a&gt;;) &lt;br/&gt;&amp;gt; force channels to operate in a semi-trusted mode which has implications (AFAIU) for the regulatory classification of &lt;br/&gt;&amp;gt; channels in various jurisdictions; agnostic treatment of fund transfers would simplify this (like getting a 0.01 cent &lt;br/&gt;&amp;gt; dividend check in the mail)&lt;br/&gt;&lt;br/&gt;This is unrelated to the consensus dust limit. This is related to the practical question about the value of claiming an &lt;br/&gt;output. Again, the appropriate way to solve this instead of including spendable dust outputs would be an OP_RETURN &lt;br/&gt;output (though I believe this particular problem is actually better solved elsewhere in the lightning protocol).&lt;br/&gt;&lt;br/&gt;&amp;gt; 4) thinly divisible colored coin protocols might make use of sats as value markers for transactions.&lt;br/&gt;&lt;br/&gt;These schemes can and should use values which make them economical to spend. The whole *point* of the dust limit is to &lt;br/&gt;encourage people to use values which make sense economically to &amp;#34;clean up&amp;#34; after they&amp;#39;re done with them. If people want &lt;br/&gt;to use outputs which they will not spend/&amp;#34;clean up&amp;#34; later, they should be using OP_RETURN.&lt;br/&gt;&lt;br/&gt;&amp;gt; 5) should we ever do confidential transactions we can&amp;#39;t prevent it without compromising privacy / allowed transfers&lt;br/&gt;&lt;br/&gt;This is the reason the dust limit is not a *consensus* limit. If and when CT were to happen we can and would relax the &lt;br/&gt;standardness rules around the dust limit to allow for CT.&lt;br/&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The main reasons I&amp;#39;m aware of not allow dust creation is that:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; 1) dust is spam&lt;br/&gt;&amp;gt; 2) dust fingerprinting attacks&lt;br/&gt;&lt;br/&gt;3) The significant costs to every miner and full node operator.
    </content>
    <updated>2023-06-07T22:57:50Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfxn82fpv0puldpw8jzssqpqp3ggzlpw8e5e8lla9nftgll4zqamszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ljvegm</id>
    
      <title type="html">📅 Original date posted:2021-07-05 📝 Original message:I find ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfxn82fpv0puldpw8jzssqpqp3ggzlpw8e5e8lla9nftgll4zqamszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ljvegm" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqst3t4ztvjwhh5hukr65a4n7yw7xkrn4m3txds00rfu3m6e2lkj7qsy6ldss&#39;&gt;nevent1q…ldss&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-07-05&lt;br/&gt;📝 Original message:I find this point to be incredibly important. Indeed I, like several others, have historically been concerned with &lt;br/&gt;covenants in the unbounded form. However, as more and more research has been done in what they can accomplish, the &lt;br/&gt;weighting of such arguments naturally has to be reduced. More importantly, AJ&amp;#39;s point here neuters anti-covanent &lt;br/&gt;arguments rather strongly.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 7/5/21 01:04, Anthony Towns via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; On Sun, Jul 04, 2021 at 09:02:25PM -0400, Russell O&amp;#39;Connor via bitcoin-dev wrote:&lt;br/&gt;&amp;gt;&amp;gt; Bear in mind that when people are talking about enabling covenants, we are&lt;br/&gt;&amp;gt;&amp;gt; talking about whether OP_CAT should be allowed or not.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In some sense multisig *alone* enables recursive covenants: a government&lt;br/&gt;&amp;gt; that wants to enforce KYC can require that funds be deposited into&lt;br/&gt;&amp;gt; a multisig of &amp;#34;2 &amp;lt;recipient&amp;gt; &amp;lt;gov_key&amp;gt; 2 CHECKMULTISIG&amp;#34;, and that&lt;br/&gt;&amp;gt; &amp;#34;recipient&amp;#34; has gone through KYC. Once deposited to such an address,&lt;br/&gt;&amp;gt; the gov can refus to sign with gov_key unless the funds are being spent&lt;br/&gt;&amp;gt; to a new address that follows the same rules.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; (That&amp;#39;s also more efficient than an explicit covenant since it&amp;#39;s all&lt;br/&gt;&amp;gt; off-chain -- recipient/gov_key can jointly sign via taproot/MuSig at&lt;br/&gt;&amp;gt; that point, so that full nodes are only validating a single pubkey and&lt;br/&gt;&amp;gt; signature per spend, rather than having to do analysis of whatever the&lt;br/&gt;&amp;gt; underlying covenant is supposed to be [0])&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This is essentially what Liquid already does -- it locks bitcoins into&lt;br/&gt;&amp;gt; a multisig and enforces an &amp;#34;off-chain&amp;#34; covenant that those bitcoins can&lt;br/&gt;&amp;gt; only be redeemed after some valid set of signatures are entered into&lt;br/&gt;&amp;gt; the Liquid blockchain. Likewise for the various BTC-on-Ethereum tokens.&lt;br/&gt;&amp;gt; To some extent, likewise for coins held in exchanges/custodial wallets&lt;br/&gt;&amp;gt; where funds can be transferred between customers off-chain.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; You can &amp;#34;escape&amp;#34; from that recursive covenant by having the government&lt;br/&gt;&amp;gt; (or Liquid functionaries, or exchange admins) change their signing&lt;br/&gt;&amp;gt; policy of course; but you could equally escape any consensus-enforced&lt;br/&gt;&amp;gt; covenant by having a hard fork to stop doing consensus-enforcement (cf&lt;br/&gt;&amp;gt; ETH Classic?). To me, that looks more like a difference of procedure&lt;br/&gt;&amp;gt; and difficulty, rather than a fundamental difference in kind.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; aj&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; [0] &lt;a href=&#34;https://twitter.com/pwuille/status/1411533549224693762&#34;&gt;https://twitter.com/pwuille/status/1411533549224693762&lt;/a&gt;&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;
    </content>
    <updated>2023-06-07T22:56:25Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs0medvqzf5nypscxaph873492jravh9ggaqa3u5rp3sk3gpxuj24szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zewvpn</id>
    
      <title type="html">📅 Original date posted:2021-04-25 📝 Original message:On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs0medvqzf5nypscxaph873492jravh9ggaqa3u5rp3sk3gpxuj24szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5zewvpn" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsvk3dhs2lezt50wg22mmj7406sldl9p582eyrqklskme4hmx55rgcaj3dxm&#39;&gt;nevent1q…3dxm&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-25&lt;br/&gt;📝 Original message:On 4/25/21 17:00, Luke Dashjr wrote:&lt;br/&gt;&amp;gt; On Sunday 25 April 2021 20:29:44 Matt Corallo wrote:&lt;br/&gt;&amp;gt;&amp;gt; If the BIP editor is deliberately refusing to accept changes which the&lt;br/&gt;&amp;gt;&amp;gt; author&amp;#39;s approval (which appears to be occurring here),&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; It isn&amp;#39;t. I am triaging BIPs PRs the same as I have for years, and will get to&lt;br/&gt;&amp;gt; them all in due time, likely before the end of the month.&lt;br/&gt;&lt;br/&gt;Please don&amp;#39;t play dumb, it isn&amp;#39;t a good look.&lt;br/&gt;&lt;br/&gt;&amp;gt; Rather, what we have going on is a few bad actors trying to misportray the&lt;br/&gt;&amp;gt; BIPs as an approval process so they can pretend ST is somehow official, or&lt;br/&gt;&amp;gt; that the preexisting Core&#43;Taproot client is &amp;#34;breaking&amp;#34; the spec. And to&lt;br/&gt;&amp;gt; further their agenda, they have been harassing me demanding special&lt;br/&gt;&amp;gt; treatment.&lt;br/&gt;&lt;br/&gt;I&amp;#39;d be curious who is doing that, because obviously I&amp;#39;d agree that merging something in a BIP doesn&amp;#39;t really have any &lt;br/&gt;special meaning. This, however, is a completely different topic from following the BIP process that you had a key hand &lt;br/&gt;in crafting.&lt;br/&gt;&lt;br/&gt;&amp;gt; I will not become an accomplice to this deception by giving special treatment,&lt;br/&gt;&amp;gt; and will process the BIP PR neutrally according to the currently-defined BIP&lt;br/&gt;&amp;gt; process.&lt;br/&gt;&lt;br/&gt;Again, please don&amp;#39;t play dumb, no one watching believes this - you&amp;#39;ve been active on the BIP repo on numerous PRs and &lt;br/&gt;this has never in the past been the case.&lt;br/&gt;&lt;br/&gt;&amp;gt; Despite the continual harassment, I have even made two efforts to try to&lt;br/&gt;&amp;gt; (fairly) make things faster, and have been obstructed both times by ST&lt;br/&gt;&amp;gt; advocates. It appears they intend to paint me as &amp;#34;deliberately refusing&amp;#34; (to&lt;br/&gt;&amp;gt; use your words) in order to try to put Bitcoin and the BIP process under&lt;br/&gt;&amp;gt; their control, and abuse it in the same manner in which they abused Bitcoin&lt;br/&gt;&amp;gt; Core&amp;#39;s usual standards (by releasing ST without community consensus).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Luke&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-07T22:52:10Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsg5wlfkzysqcv8922zgw2p9sllt9vtdh6dkut9de5hrwga7menm4szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm59wek2s</id>
    
      <title type="html">📅 Original date posted:2021-04-25 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsg5wlfkzysqcv8922zgw2p9sllt9vtdh6dkut9de5hrwga7menm4szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm59wek2s" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsxp23kce8ztwd00q6r7ax53ftypf5u270rvsnv8as8cfm6vsa5rscvex3pd&#39;&gt;nevent1q…x3pd&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-25&lt;br/&gt;📝 Original message:Alright, let&amp;#39;s see...&lt;br/&gt;&lt;br/&gt;Sorting by most recently updated...&lt;br/&gt;&lt;a href=&#34;https://github.com/bitcoin/bips/pulls?page=1&amp;amp;q=is%3Apr&#43;is%3Aopen&#43;sort%3Aupdated-asc&#43;updated%3A%3E2021-01-01&#34;&gt;https://github.com/bitcoin/bips/pulls?page=1&amp;amp;q=is%3Apr&#43;is%3Aopen&#43;sort%3Aupdated-asc&#43;updated%3A%3E2021-01-01&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;#1104 has been updated nearly daily for the past many weeks. You commented 12 days ago saying &amp;#34;Concept NACK&amp;#34; (which &lt;br/&gt;isn&amp;#39;t a thing on BIPs - huh? they&amp;#39;re author documents, as you&amp;#39;re well aware), and nothing further.&lt;br/&gt;&lt;br/&gt;#1105 which is less recently updated by one on the above list has a comment from you 19 hours ago.&lt;br/&gt;&lt;br/&gt;I&amp;#39;m really not sure what playing dumb gets you, here. Its really transparent and isn&amp;#39;t helpful in any way to anything.&lt;br/&gt;&lt;br/&gt;In general, I think its time we all agree the BIP process has simply failed and move on. Luckily its not really all that &lt;br/&gt;critical and proposed protocol documents can be placed nearly anywhere with the same effect.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 4/25/21 17:22, Luke Dashjr wrote:&lt;br/&gt;&amp;gt; On Sunday 25 April 2021 21:14:08 Matt Corallo wrote:&lt;br/&gt;&amp;gt;&amp;gt; On 4/25/21 17:00, Luke Dashjr wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; I will not become an accomplice to this deception by giving special&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; treatment, and will process the BIP PR neutrally according to the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; currently-defined BIP process.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Again, please don&amp;#39;t play dumb, no one watching believes this - you&amp;#39;ve been&lt;br/&gt;&amp;gt;&amp;gt; active on the BIP repo on numerous PRs and this has never in the past been&lt;br/&gt;&amp;gt;&amp;gt; the case.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I started going through PRs a few days ago, in order of &amp;#34;Recently updated&amp;#34; on&lt;br/&gt;&amp;gt; GitHub, starting with the least-recent following the last one I triaged a&lt;br/&gt;&amp;gt; month ago that hasn&amp;#39;t seen activity.. the same as I have been doing month&lt;br/&gt;&amp;gt; after month prior to this.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; If you don&amp;#39;t believe me, feel free to look through the repo history.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Luke&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-07T22:52:10Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsz5qkk654sl3m3k5lw6x3ky0w4hc3ejl3zkhmm28352xqpeankfgszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5lvfuvf</id>
    
      <title type="html">📅 Original date posted:2021-04-25 📝 Original message:There ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsz5qkk654sl3m3k5lw6x3ky0w4hc3ejl3zkhmm28352xqpeankfgszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5lvfuvf" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdlqmvprghezpfe99ala9a2ppkgdd4sk393cfz0xg7r38y5407adcx3020m&#39;&gt;nevent1q…020m&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-04-25&lt;br/&gt;📝 Original message:There appears to be some severe lack of understanding of the point of the BIP process here.&lt;br/&gt;&lt;br/&gt;The BIP process exists to be a place for those in the Bitcoin development community (which includes anyone who wishes to &lt;br/&gt;participate in it!) to place specifications which may be important for others in the Bitcoin development community to &lt;br/&gt;see, to ensure interoperability.&lt;br/&gt;&lt;br/&gt;It does not, should not, and has never existed to take any positions on...anything. It has always existed to allow those &lt;br/&gt;who wish to participate in the Bitcoin development community to publish proposed standards or deployed protocols, in &lt;br/&gt;whatever form the authors of the BIPs seem fit.&lt;br/&gt;&lt;br/&gt;If anyone suggests changes with a BIP&amp;#39;s proposed form in a way the original author does not agree with, they have always &lt;br/&gt;been free to, and should simply create a new BIP with their proposed form.&lt;br/&gt;&lt;br/&gt;The BIP editor&amp;#39;s role has always been, and should continue to be, to encourage BIP authors to respond to (either by &lt;br/&gt;dismissing or accepting) feedback on their BIPs, and encourage formatting in a standard form. The BIP editor&amp;#39;s role has &lt;br/&gt;never included, and should not include, taking a stance on substantive changes to a BIP&amp;#39;s contents - those are up to the &lt;br/&gt;author(s) of a BIP, and always have been.&lt;br/&gt;&lt;br/&gt;If the BIP editor is deliberately refusing to accept changes which the author&amp;#39;s approval (which appears to be occurring &lt;br/&gt;here), the broader development community (us) should either remove the BIP editor and replace them, or simply ignore the &lt;br/&gt;BIP repository entirely (which seems like the most likely outcome here). There really should be no debate over this &lt;br/&gt;point, and I&amp;#39;m not entirely sure why anyone would think there should be.&lt;br/&gt;&lt;br/&gt;Luckily BIPs aren&amp;#39;t really all that critical in this instance - they exist to communicate protocols for &lt;br/&gt;interoperability, and in this case the protocol changes as proposed have been broadly communicated already.&lt;br/&gt;&lt;br/&gt;Still, given the apparent lack of desire to remove the BIP editor in this case, I&amp;#39;d suggest we all move on and simply &lt;br/&gt;ignore the BIP repository entirely. Simply sending notices of protocol systems to this mailing list is likely sufficient.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 4/23/21 11:34, Antoine Riard via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; Hi Luke,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; For the records and the subscribers of this list not following #bitcoin-core-dev, this mail follows a discussion which &lt;br/&gt;&amp;gt; did happen during yesterday irc meetings.&lt;br/&gt;&amp;gt; Logs here : &lt;a href=&#34;http://gnusha.org/bitcoin-core-dev/2021-04-22.log&#34;&gt;http://gnusha.org/bitcoin-core-dev/2021-04-22.log&lt;/a&gt; &amp;lt;&lt;a href=&#34;http://gnusha.org/bitcoin-core-dev/2021-04-22.log&amp;gt&#34;&gt;http://gnusha.org/bitcoin-core-dev/2021-04-22.log&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I&amp;#39;ll reiterate my opinion expressed during the meeting. If this proposal to extend the bip editorship membership doesn&amp;#39;t &lt;br/&gt;&amp;gt; satisfy parties involved or anyone in the community, I&amp;#39;m strongly opposed to have the matter sliced by admins of the &lt;br/&gt;&amp;gt; Bitcoin github org. I believe that defect or uncertainty in the BIP Process shouldn&amp;#39;t be solved by GH janitorial roles &lt;br/&gt;&amp;gt; and I think their roles don&amp;#39;t bestow to intervene in case of loopholes. Further, you have far more contributors involved &lt;br/&gt;&amp;gt; in the BIP Process rather than only Bitcoin Core ones. FWIW, such precedent merits would be quite similar to lobby &lt;br/&gt;&amp;gt; directly GH staff...&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Unless we harm Bitcoin users by not acting, I think we should always be respectful of procedural forms. And in the lack &lt;br/&gt;&amp;gt; of such forms, stay patient until a solution satisfy everyone.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I would recommend the BIP editorship, once extended or not, to move in its own repository in the future.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; Antoine&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Le jeu. 22 avr. 2021 à 22:09, Luke Dashjr via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org &lt;br/&gt;&amp;gt; &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&amp;gt; a écrit :&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Unless there are objections, I intend to add Kalle Alm as a BIP editor to&lt;br/&gt;&amp;gt;     assist in merging PRs into the bips git repo.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Since there is no explicit process to adding BIP editors, IMO it should be&lt;br/&gt;&amp;gt;     fine to use BIP 2&amp;#39;s Process BIP progression:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;      &amp;gt; A process BIP may change status from Draft to Active when it achieves&lt;br/&gt;&amp;gt;      &amp;gt; rough consensus on the mailing list. Such a proposal is said to have&lt;br/&gt;&amp;gt;      &amp;gt; rough consensus if it has been open to discussion on the development&lt;br/&gt;&amp;gt;      &amp;gt; mailing list for at least one month, and no person maintains any&lt;br/&gt;&amp;gt;      &amp;gt; unaddressed substantiated objections to it.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     A Process BIP could be opened for each new editor, but IMO that is&lt;br/&gt;&amp;gt;     unnecessary. If anyone feels there is a need for a new Process BIP, we can go&lt;br/&gt;&amp;gt;     that route, but there is prior precedent for BIP editors appointing new BIP&lt;br/&gt;&amp;gt;     editors, so I think this should be fine.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Please speak up soon if you disagree.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Luke&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 &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&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;     &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt; &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;
    </content>
    <updated>2023-06-07T22:52:09Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfz44gafpra2san0wnpnsw9udgp6vay73tyjz5n487e6thdfzkkjszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5esyqn6</id>
    
      <title type="html">📅 Original date posted:2021-03-15 📝 Original message:There ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfz44gafpra2san0wnpnsw9udgp6vay73tyjz5n487e6thdfzkkjszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5esyqn6" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsd9vrdqu8f78z63qslepn7q3n7c5xyuh0zjqrzkq9g5t6zlj3a90qangmnp&#39;&gt;nevent1q…gmnp&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-03-15&lt;br/&gt;📝 Original message:There have been many threads on this before, I&amp;#39;m not sure anything new has been brought up here.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 3/15/21 17:48, Luke Dashjr via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; I do not personally see this as a reason to NACK Taproot, but it has become&lt;br/&gt;&amp;gt; clear to me over the past week or so that many others are unaware of this&lt;br/&gt;&amp;gt; tradeoff, so I am sharing it here to ensure the wider community is aware of&lt;br/&gt;&amp;gt; it and can make their own judgements.&lt;br/&gt;&lt;br/&gt;Note that this is most definitely *not* news to this list, eg, Anthony brought it up in &amp;#34;Schnorr and taproot (etc) &lt;br/&gt;upgrade&amp;#34; and there was a whole thread on it in &amp;#34;Taproot: Privacy preserving switchable scripting&amp;#34;. This issue has been &lt;br/&gt;beaten to death, I&amp;#39;m not sure why we need to keep hitting the poor horse corpse.&lt;br/&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In short, Taproot loses an important safety protection against quantum.&lt;br/&gt;&amp;gt; Note that in all circumstances, Bitcoin is endangered when QC becomes a&lt;br/&gt;&amp;gt; reality, but pre-Taproot, it is possible for the network to &amp;#34;pause&amp;#34; while a&lt;br/&gt;&amp;gt; full quantum-safe fix is developed, and then resume transacting. With Taproot&lt;br/&gt;&amp;gt; as-is, it could very well become an unrecoverable situation if QC go online&lt;br/&gt;&amp;gt; prior to having a full quantum-safe solution.&lt;br/&gt;&lt;br/&gt;This has been discussed ad nauseam, and it all seems to fall apart once its noted just how much Bitcoin could be stolen &lt;br/&gt;by any QC-wielding attacker due to address reuse. Ultimately, no &amp;#34;pause&amp;#34; can solve this issue, and, if we learned about &lt;br/&gt;a QC attacker overnight (instead of slowly over time), there isn&amp;#39;t anything that a non-Taproot Bitcoin could do that a &lt;br/&gt;Taproot Bitcoin couldn&amp;#39;t.&lt;br/&gt;&lt;br/&gt;&amp;gt; Also, what I didn&amp;#39;t know myself until today, is that we do not actually gain&lt;br/&gt;&amp;gt; anything from this: the features proposed to make use of the raw keys being&lt;br/&gt;&amp;gt; public prior to spending can be implemented with hashed keys as well.&lt;br/&gt;&amp;gt; It would use significantly more CPU time and bandwidth (between private&lt;br/&gt;&amp;gt; parties, not on-chain), but there should be no shortage of that for anyone&lt;br/&gt;&amp;gt; running a full node (indeed, CPU time is freed up by Taproot!); at worst, it&lt;br/&gt;&amp;gt; would create an incentive for more people to use their own full node, which&lt;br/&gt;&amp;gt; is a good thing!&lt;br/&gt;&lt;br/&gt;This is untrue. The storage space required for Taproot transactions is materially reduced by avoiding the hash indirection.&lt;br/&gt;&lt;br/&gt;&amp;gt; Despite this, I still don&amp;#39;t think it&amp;#39;s a reason to NACK Taproot: it should be&lt;br/&gt;&amp;gt; fairly trivial to add a hash on top in an additional softfork and fix this.&lt;br/&gt;&lt;br/&gt;For the reason stated above, i think such a fork is unlikely.&lt;br/&gt;&lt;br/&gt;&amp;gt; In addition to the points made by Mark, I also want to add two more, in&lt;br/&gt;&amp;gt; response to Pieter&amp;#39;s &amp;#34;you can&amp;#39;t claim much security if 37% of the supply is&lt;br/&gt;&amp;gt; at risk&amp;#34; argument. This argument is based in part on the fact that many&lt;br/&gt;&amp;gt; people reuse Bitcoin invoice addresses.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; First, so long as we have hash-based addresses as a best practice, we can&lt;br/&gt;&amp;gt; continue to shrink the percentage of bitcoins affected through social efforts&lt;br/&gt;&amp;gt; discouraging address use. If the standard loses the hash, the situation&lt;br/&gt;&amp;gt; cannot be improved, and will indeed only get worse.&lt;br/&gt;&lt;br/&gt;I truly wish this were the case, but we&amp;#39;ve been beating that drum for at least nine years and still haven&amp;#39;t solved it. &lt;br/&gt;Worse, there&amp;#39;s a lot of old coins that are unlikely to move any time soon that are exposed whether we like it or not.&lt;br/&gt;&lt;br/&gt;&amp;gt; Second, when/if quantum does compromise these coins, so long as they are&lt;br/&gt;&amp;gt; neglected or abandoned/lost coins (inherent in the current model), it can be&lt;br/&gt;&amp;gt; seen as equivalent to Bitcoin mining. At the end of the day, 37% of supply&lt;br/&gt;&amp;gt; minable by QCs is really no different than 37% minable by ASICs. (We&amp;#39;ve seen&lt;br/&gt;&amp;gt; far higher %s available for mining obviously.)&lt;br/&gt;&lt;br/&gt;Except its not? One entity would be able to steal that entire block of supply rather quickly (presumably over the course &lt;br/&gt;of a few days, at maximum), instead of a slow process with significant upfront real-world cost in the form of electricity.
    </content>
    <updated>2023-06-07T18:30:51Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsrh4kvecjusdmq0wx5dwelcturzt8mfsfc0nyygsakqaw3jge2ayczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm59cfk6c</id>
    
      <title type="html">📅 Original date posted:2021-03-03 📝 Original message:On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsrh4kvecjusdmq0wx5dwelcturzt8mfsfc0nyygsakqaw3jge2ayczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm59cfk6c" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsfj07ax0dr4fzxmsp7rzsg7sqy4lw3cu8c35lk3ylsv9yq0leylsqmlqaut&#39;&gt;nevent1q…qaut&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-03-03&lt;br/&gt;📝 Original message:On 3/3/21 14:08, Russell O&amp;#39;Connor via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; While I support essentially any proposed taproot activation method, including a flag day activation, I think it is &lt;br/&gt;&amp;gt; premature to call BIP8 dead.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Even today, I still think that starting with BIP8 LOT=false is, generally speaking, considered a reasonably safe &lt;br/&gt;&amp;gt; activation method in the sense that I think it will be widely considered as a &amp;#34;not wholly unacceptable&amp;#34; approach to &lt;br/&gt;&amp;gt; activation.&lt;br/&gt;&lt;br/&gt;How do you propose avoiding divergent consensus rules on the network, something which a number of commentors on this &lt;br/&gt;list have publicly committed to?&lt;br/&gt;&lt;br/&gt;&amp;gt; After a normal and successful Core update with LOT=false, we will have more data showing broad community support for the &lt;br/&gt;&amp;gt; taproot upgrade in hand.&lt;br/&gt;&lt;br/&gt;I think this is one of the strongest arguments against a flag day activation, but, as I described in more detail in the &lt;br/&gt;thread &amp;#34;Straight Flag Day (Height) Taproot Activation&amp;#34;, I&amp;#39;m not sure we aren&amp;#39;t there enough already.&lt;br/&gt;&lt;br/&gt;&amp;gt; In the next release, 6 months later or so, Core could then confidently deploy a BIP8 LOT=true &lt;br/&gt;&lt;br/&gt;Could you clarify what an acceptable timeline is, then? Six months from release of new consensus rules to activation (in &lt;br/&gt;the case of a one-year original window) seems incredibly agressive for a flag-day activation, let alone one with &lt;br/&gt;forced-signaling, which would require significantly higher level of adoption to avoid network split risk. In such a &lt;br/&gt;world, we&amp;#39;d probably get Taproot faster with a flag day from day one.&lt;br/&gt;&lt;br/&gt;&amp;gt; client, should it prove to be necessary.  A second Core deployment of LOT=true would mitigate some of the concerns with &lt;br/&gt;&amp;gt; LOT=false, but still provide a period beforehand to objective actions taken by the community in support of taproot.  We &lt;br/&gt;&amp;gt; don&amp;#39;t even have to have agreement today on a second deployment of LOT=true after 6 months to start the process of a &lt;br/&gt;&amp;gt; LOT=false deployment. The later deployment will almost certainly be moot, and we will have 6 months to spend debating &lt;br/&gt;&amp;gt; the LOT=true deployment versus doing a flag day activation or something else.&lt;br/&gt;&lt;br/&gt;That was precisely the original goal with the LOT=false movement - do something easy and avoid having to hash out all &lt;br/&gt;the technical details of a second deployment. Sadly, that&amp;#39;s no longer tennable as a number of people are publicly &lt;br/&gt;committed to deploying LOT=true software on the network ASAP.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-07T18:29:57Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsg0dcdr28w7hjdk4pcy4cfs88gzwq6zqsy8evdx7zr9ywr0vmwevszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm58x28u6</id>
    
      <title type="html">📅 Original date posted:2021-02-28 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsg0dcdr28w7hjdk4pcy4cfs88gzwq6zqsy8evdx7zr9ywr0vmwevszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm58x28u6" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdv70hw0m58sxvntckaccz05a3epe66tdn9gecckzpwqqr9mtsqtcrux4dq&#39;&gt;nevent1q…x4dq&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-02-28&lt;br/&gt;📝 Original message:Forced-signaling, or any form of signaling, does not materially change whether a soft fork can be seen to be safe to &lt;br/&gt;use. Pieter wrote a great post[1] some time ago that goes into depth about the security of soft forks, but, while miners &lt;br/&gt;can help to avoid the risk of forks, they aren&amp;#39;t the determining factor in whether use of a fork should be considered &lt;br/&gt;safe (ie the fork &amp;#34;has activated&amp;#34;).&lt;br/&gt;&lt;br/&gt;Not only that, but the signaling methods used in BIP 8/9 (ie the version field in the block header) do not imply &lt;br/&gt;anything about whether mining pools are running full nodes which enforce the soft fork at all, only whether the pool has &lt;br/&gt;configured their stratum software to signal or not.&lt;br/&gt;&lt;br/&gt;Ultimately, forced-signaling, or signaling period, are not a substitute for having a broad set of upgraded nodes across &lt;br/&gt;the network, including an overwhelming majority of economically-active nodes, enforcing the rules of a new fork. As this &lt;br/&gt;can be difficult to measure, waiting some time after a fork and examining upgrade patterns across the network is important.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;[1] &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-December/012014.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-December/012014.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;On 2/27/21 12:55, Luke Dashjr via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; This has the same problems BIP149 did: since there is no signalling, it is&lt;br/&gt;&amp;gt; ambiguous whether the softfork has activated at all. Both anti-SF and pro-SF&lt;br/&gt;&amp;gt; nodes will remain on the same chain, with conflicting perceptions of the&lt;br/&gt;&amp;gt; rules, and resolution (if ever) will be chaotic. Absent resolution, however,&lt;br/&gt;&amp;gt; there is a strong incentive not to rely on the rules, and thus it may never&lt;br/&gt;&amp;gt; get used, and therefore also never resolved.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Additionally, it loses the flexibility of BIP 8 to, after the initial&lt;br/&gt;&amp;gt; deployment, move the timeoutheight sooner.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Luke&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On Thursday 25 February 2021 22:33:25 Gregorio Guidi via bitcoin-dev wrote:&lt;br/&gt;&amp;gt;&amp;gt; Hello,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I followed the debate on LOT=false / LOT=true trying to get a grasp of&lt;br/&gt;&amp;gt;&amp;gt; the balance of risks and advantages. The summary by Aaron van Wirdum [1]&lt;br/&gt;&amp;gt;&amp;gt; explains well the difficulties to find a good equilibrium... it&lt;br/&gt;&amp;gt;&amp;gt; concludes that &amp;#34;perhaps, a new possibility will present itself&amp;#34;.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Thinking about such a &amp;#34;new possibility&amp;#34; that overcomes the&lt;br/&gt;&amp;gt;&amp;gt; LOT=true/false dichotomy, I would like to offer the following proposal.&lt;br/&gt;&amp;gt;&amp;gt; It could be called &amp;#34;decreasing threshold activation&amp;#34;.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Decreasing threshold activation works similarly to BIP8, with the&lt;br/&gt;&amp;gt;&amp;gt; difference that the threshold that triggers the STARTED -&amp;gt; LOCKED_IN&lt;br/&gt;&amp;gt;&amp;gt; transition starts at 100% for the first retargeting period, and then is&lt;br/&gt;&amp;gt;&amp;gt; gradually reduced on each period in steps of 24 blocks (~1,2%). More&lt;br/&gt;&amp;gt;&amp;gt; precisely:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On the 1st period (starting on start_height): if 2016 out of 2016 blocks&lt;br/&gt;&amp;gt;&amp;gt; signal, the state is changed to LOCKED_IN on the next period (otherwise&lt;br/&gt;&amp;gt;&amp;gt; stays STARTED)&lt;br/&gt;&amp;gt;&amp;gt; On the 2nd period: if 1992 out of 2016 blocks signal (~98.8%), the state&lt;br/&gt;&amp;gt;&amp;gt; transitions to LOCKED_IN on the next period&lt;br/&gt;&amp;gt;&amp;gt; On the 3rd period: if 1968 out of 2016 blocks signal (~97.6%), the state&lt;br/&gt;&amp;gt;&amp;gt; transitions to LOCKED_IN on the next period&lt;br/&gt;&amp;gt;&amp;gt; ...&lt;br/&gt;&amp;gt;&amp;gt; On the 14th period (~6 months): if 1704 out of 2016 blocks signal&lt;br/&gt;&amp;gt;&amp;gt; (~84.5%), the state transitions to LOCKED_IN on the next period&lt;br/&gt;&amp;gt;&amp;gt; ...&lt;br/&gt;&amp;gt;&amp;gt; On the 27th period (~12 months): if 1392 out of 2016 blocks signal&lt;br/&gt;&amp;gt;&amp;gt; (~69.0%), the state transitions to LOCKED_IN on the next period&lt;br/&gt;&amp;gt;&amp;gt; ...&lt;br/&gt;&amp;gt;&amp;gt; On the 40th period (~18 months): if 1080 out of 2016 blocks signal&lt;br/&gt;&amp;gt;&amp;gt; (~53.6%), the state transitions to LOCKED_IN on the next period&lt;br/&gt;&amp;gt;&amp;gt; ...&lt;br/&gt;&amp;gt;&amp;gt; On the 53th period (~24 months): if 768 out of 2016 blocks signal&lt;br/&gt;&amp;gt;&amp;gt; (~38.1%), the state transitions to LOCKED_IN on the next period&lt;br/&gt;&amp;gt;&amp;gt; ...&lt;br/&gt;&amp;gt;&amp;gt; On the 66th period (~30 months): if 456 out of 2016 blocks signal&lt;br/&gt;&amp;gt;&amp;gt; (~22.6%), the state transitions to LOCKED_IN on the next period&lt;br/&gt;&amp;gt;&amp;gt; ...&lt;br/&gt;&amp;gt;&amp;gt; On the 79th period (~36 months): if 144 out of 2016 blocks signal&lt;br/&gt;&amp;gt;&amp;gt; (~7.1%), the state transitions to LOCKED_IN on the next period&lt;br/&gt;&amp;gt;&amp;gt; ...&lt;br/&gt;&amp;gt;&amp;gt; On the 84th and final period (~39 months): if 24 out of 2016 blocks&lt;br/&gt;&amp;gt;&amp;gt; signal (~1.2%), the state transitions to LOCKED_IN on the next period,&lt;br/&gt;&amp;gt;&amp;gt; otherwise goes to FAILED&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; (For reference, I include below a snippet of pseudocode for the&lt;br/&gt;&amp;gt;&amp;gt; decreasing thresholds in the style of BIP8 and BIP9.)&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Here are the main features and advantages of this approach:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 1. It is relatively conservative at the beginning: for activation to&lt;br/&gt;&amp;gt;&amp;gt; happen in the first year, it requires a clear majority of signaling&lt;br/&gt;&amp;gt;&amp;gt; hashrate, indicating that the activation is relatively safe. Only later&lt;br/&gt;&amp;gt;&amp;gt; the threshold starts to move towards &amp;#34;unsafe&amp;#34; territory, accepting the&lt;br/&gt;&amp;gt;&amp;gt; tradeoff of less support from existing hashrate in exchange for ensuring&lt;br/&gt;&amp;gt;&amp;gt; that the activation eventually happens.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 2. Like LOT=true, the activation will always occur in the end (except in&lt;br/&gt;&amp;gt;&amp;gt; the negligible case where less than 1.2% of hashrate supports it).&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 3. This approach is quite easy to implement, in particular it avoids the&lt;br/&gt;&amp;gt;&amp;gt; extra code to deal with the MUST_SIGNAL period.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 4. There are no parameters to set (except startheight). I am a KISS fan,&lt;br/&gt;&amp;gt;&amp;gt; so this is a plus for me, making the activation mechanism robust and&lt;br/&gt;&amp;gt;&amp;gt; predictable with less chance for users to shoot themselves in the foot.&lt;br/&gt;&amp;gt;&amp;gt; It is also a plus for me that - if adopted as the default mechanism - it&lt;br/&gt;&amp;gt;&amp;gt; would require very little discussion on how to activate future&lt;br/&gt;&amp;gt;&amp;gt; soft-forks. In fact I think it would be a winning move for Core to&lt;br/&gt;&amp;gt;&amp;gt; commit to such a scheme, to avoid getting lost in game-theoretic rabbit&lt;br/&gt;&amp;gt;&amp;gt; holes.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 5. Since there is no MUST_SIGNAL period, no automatic chain split occurs&lt;br/&gt;&amp;gt;&amp;gt; around activation when not all miners have upgraded (so activation is&lt;br/&gt;&amp;gt;&amp;gt; generally as benign as a MASF). A chain split will occur only when/if an&lt;br/&gt;&amp;gt;&amp;gt; invalid block is created (and this requires dedicated effort! it can&lt;br/&gt;&amp;gt;&amp;gt; only happen by circumventing the normal policy rules [2]). This&lt;br/&gt;&amp;gt;&amp;gt; mitigates the risk of reorgs and involuntary forks around activation,&lt;br/&gt;&amp;gt;&amp;gt; even with low miner signaling.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 6. It removes motivation to create UASF clients that force activation.&lt;br/&gt;&amp;gt;&amp;gt; While individual nodes could still try to force a quicker activation,&lt;br/&gt;&amp;gt;&amp;gt; the motivation to do so is reduced since the same result is obtained&lt;br/&gt;&amp;gt;&amp;gt; just by waiting a little more.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 7. Compared to LOT=true, activation is cleaner and quicker when it is&lt;br/&gt;&amp;gt;&amp;gt; relatively safe to do so (when the signaling hashrate is - let&amp;#39;s say -&lt;br/&gt;&amp;gt;&amp;gt; in the 70%-80% range). On the other hand, activation is pushed further&lt;br/&gt;&amp;gt;&amp;gt; and further in time when it is less safe (when signaling hashrate is&lt;br/&gt;&amp;gt;&amp;gt; &amp;lt;50%, meaning that there is a serious risk that users/miners that did&lt;br/&gt;&amp;gt;&amp;gt; not upgrade start following an alternative chain). This gives everyone&lt;br/&gt;&amp;gt;&amp;gt; time to prepare properly for such a potentially disruptive event.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 8. If a significant number of users and miners consciously decide (for&lt;br/&gt;&amp;gt;&amp;gt; whatever reasons) that they don&amp;#39;t want to upgrade and want to fork&lt;br/&gt;&amp;gt;&amp;gt; themselves off from the chain followed by Core (as is their&lt;br/&gt;&amp;gt;&amp;gt; prerogative), they will have time to do so safely.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 9. Compared to the strategy of doing LOT=false and then LOT=true if it&lt;br/&gt;&amp;gt;&amp;gt; fails, using the decreasing threshold approach may not seem very&lt;br/&gt;&amp;gt;&amp;gt; different. But it completely removes the need to fiddle with different&lt;br/&gt;&amp;gt;&amp;gt; client releases and with the issues associated with deployed nodes with&lt;br/&gt;&amp;gt;&amp;gt; different consensus parameters.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; All in all, reading the various perspectives on this mailing list and&lt;br/&gt;&amp;gt;&amp;gt; outside I have the feeling that the strongest arguments against LOT=true&lt;br/&gt;&amp;gt;&amp;gt; have at their core a certain uneasiness with the MUST_SIGNAL mechanism&lt;br/&gt;&amp;gt;&amp;gt; and the related automatic chain split on activation, which is something&lt;br/&gt;&amp;gt;&amp;gt; that greatly complicates the analysis (but please tell me if I am&lt;br/&gt;&amp;gt;&amp;gt; wrong...). In this sense, this proposal achieves the big objective of&lt;br/&gt;&amp;gt;&amp;gt; always ending in activation (like LOT=true) without resorting to&lt;br/&gt;&amp;gt;&amp;gt; MUST_SIGNAL and chain splits.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; A final note: this proposal should be seen as somewhat independent from&lt;br/&gt;&amp;gt;&amp;gt; the discussion on taproot activation. Personally I would be happy with a&lt;br/&gt;&amp;gt;&amp;gt; LOT=false activation for taproot that succeeds quickly, while the&lt;br/&gt;&amp;gt;&amp;gt; decreasing threshold approach could be evaluated as potential default&lt;br/&gt;&amp;gt;&amp;gt; activation mechanism for the future.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I would be happy to hear what you think about this. What are the&lt;br/&gt;&amp;gt;&amp;gt; possible issues/drawbacks of using this mechanism?&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Thanks,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Gregorio&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; [1]&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://bitcoinmagazine.com/articles/lottrue-or-lotfalse-this-is-the-last-h&#34;&gt;https://bitcoinmagazine.com/articles/lottrue-or-lotfalse-this-is-the-last-h&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; urdle-before-taproot-activation&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; [2] This was not the case in the past for upgrades such as BIP16 (P2SH),&lt;br/&gt;&amp;gt;&amp;gt; which generated frequent reorgs due to a combination of low activation&lt;br/&gt;&amp;gt;&amp;gt; threshold (55%) and no policy protection. But for upgrades such as&lt;br/&gt;&amp;gt;&amp;gt; taproot the normal policy rules prevent the creation of invalid blocks&lt;br/&gt;&amp;gt;&amp;gt; by non-upgraded miners. See&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://blog.bitmex.com/the-arts-of-making-softforks-protection-by-policy-r&#34;&gt;https://blog.bitmex.com/the-arts-of-making-softforks-protection-by-policy-r&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; ule/&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Pseudocode:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;           case STARTED:&lt;br/&gt;&amp;gt;&amp;gt;               int elapsed_periods = (block.height - startheight) / 2016;&lt;br/&gt;&amp;gt;&amp;gt;               if (elapsed_periods &amp;gt; 2016 / 24) {&lt;br/&gt;&amp;gt;&amp;gt;                   return FAILED;&lt;br/&gt;&amp;gt;&amp;gt;               }&lt;br/&gt;&amp;gt;&amp;gt;               int threshold = 2016 - 24 * (elapsed_periods - 1);&lt;br/&gt;&amp;gt;&amp;gt;               int count = 0;&lt;br/&gt;&amp;gt;&amp;gt;               walk = block;&lt;br/&gt;&amp;gt;&amp;gt;               for (i = 0; i &amp;lt; 2016; i&#43;&#43;) {&lt;br/&gt;&amp;gt;&amp;gt;                   walk = walk.parent;&lt;br/&gt;&amp;gt;&amp;gt;                   if (walk.nVersion &amp;amp; 0xE0000000 == 0x20000000 &amp;amp;&amp;amp;&lt;br/&gt;&amp;gt;&amp;gt; (walk.nVersion &amp;gt;&amp;gt; bit) &amp;amp; 1 == 1) { &#43;&#43;count;&lt;br/&gt;&amp;gt;&amp;gt;                   }&lt;br/&gt;&amp;gt;&amp;gt;               }&lt;br/&gt;&amp;gt;&amp;gt;               if (count &amp;gt;= threshold) {&lt;br/&gt;&amp;gt;&amp;gt;                   return LOCKED_IN;&lt;br/&gt;&amp;gt;&amp;gt;               }&lt;br/&gt;&amp;gt;&amp;gt;               return STARTED;&lt;br/&gt;&amp;gt;&amp;gt;&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; &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;
    </content>
    <updated>2023-06-07T18:29:12Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsy6kkru0l7xpg2l8rnpqfnzk9a20mdxnr35q8hglfms844xy2tfwgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5sx29p5</id>
    
      <title type="html">📅 Original date posted:2021-02-19 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsy6kkru0l7xpg2l8rnpqfnzk9a20mdxnr35q8hglfms844xy2tfwgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5sx29p5" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs8ue0vzvw3lyrq99536ggjl9u9yvtxs4ghj652ctkq92pqpu37cdc55lqtp&#39;&gt;nevent1q…lqtp&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-02-19&lt;br/&gt;📝 Original message:(off-list)&lt;br/&gt;&lt;br/&gt;Your email client didn&amp;#39;t thread correctly, so I&amp;#39;m not sure if you saw my responses to Adam&amp;#39;s email, but note that there &lt;br/&gt;is no such thing as &amp;#34;All that must be done&amp;#34; here - supporting multiple, different, consensus rules for a given chain is &lt;br/&gt;a nontrivial undertaking in Bitcoin Core from a software perspective. The only practical way is to, just treat it as a &lt;br/&gt;different chain, which, in practice, it could be.&lt;br/&gt;&lt;br/&gt;One group running LOT=true and one running LOT=false results in two Bitcoins, and the software would need to be able to &lt;br/&gt;handle that (and, presumably, allow users to switch between chains).&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 2/19/21 17:12, Matt Hill via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; Good day all, this is my first post to this mailing list. Per Adam&amp;#39;s comment below:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;  &amp;gt; given there are clearly people of both views, or for now don&amp;#39;t care&lt;br/&gt;&amp;gt; but might later, it would minimally be friendly and useful if&lt;br/&gt;&amp;gt; bitcoin-core has a LOT=true option - and that IMO goes some way to&lt;br/&gt;&amp;gt; avoid the assumptive control via defaults.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Both here and elsewhere, the debate taking place is around the manner of Taproot activation, not whether or not Taproot &lt;br/&gt;&amp;gt; should be activated. The latter seems to have widespread support. Given this favorable environment, it seems to me this &lt;br/&gt;&amp;gt; is an incredible opportunity for the developer contingency to &amp;#34;take the high road&amp;#34; while also minimizing time to Taproot &lt;br/&gt;&amp;gt; activation using political incentives. By offering power on the left hand to miners and and power on the right to users, &lt;br/&gt;&amp;gt; neither of whom is expressing disapproval of activation, but both of whom are able to activate without the consent of &lt;br/&gt;&amp;gt; the other, both are incentivized to signal activation as quickly as possible to emerge as the &amp;#34;group that did it&amp;#34;. All &lt;br/&gt;&amp;gt; that must be done is to include a LOT=true option to Bitcoin Core that carries a default of LOT=false. Miners can &lt;br/&gt;&amp;gt; activate at any time, users can signal their intent to activate should miners renege, and developers emerge as &lt;br/&gt;&amp;gt; politically neutral in the eyes of both.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Extrapolating a bit, I contend this expanded agency of full node operatorship may result in more users running a full &lt;br/&gt;&amp;gt; node, which is good and healthy. From a miner&amp;#39;s point of view, more full nodes only increases the likelihood of future &lt;br/&gt;&amp;gt; UASFs, and so they are even further incentivized to expedite Taproot activation. Perhaps this is a stretch, perhaps not.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; To summarize: (1) this positions developers as neutral facilitators who deferred power to the other contingencies; (2) &lt;br/&gt;&amp;gt; we may see a rise in the popularity of running a full node and the number of full node operators; (3) miners are &lt;br/&gt;&amp;gt; incentivized to activate quickly to avoid being perceived as the &amp;#34;bad guys&amp;#34; and to avoid the spread of full nodes; and &lt;br/&gt;&amp;gt; (4) even if miners do not activate, users can organize a UASF in a grass-roots way.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Matt Hill&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;
    </content>
    <updated>2023-06-07T18:29:03Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqswqn96cz5pj6feqjjxv3525xmuuvza7zg3p23pc67s0tmxyzgx3nczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm53uf4gd</id>
    
      <title type="html">📅 Original date posted:2021-02-22 📝 Original message:&amp;gt; ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqswqn96cz5pj6feqjjxv3525xmuuvza7zg3p23pc67s0tmxyzgx3nczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm53uf4gd" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsrtdfpec8yd89eumw5qpjddwdwwss8hay8m7gp2xw53htaew8jkfqvcreqn&#39;&gt;nevent1q…reqn&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-02-22&lt;br/&gt;📝 Original message:&amp;gt; On Feb 22, 2021, at 05:16, Anthony Towns &amp;lt;aj at erisian.com.au&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; ﻿If a lockinontimeout=true node is requesting compact blocks from a&lt;br/&gt;&amp;gt; lockinontimeout=false node during a chainsplit in the MUST_SIGNAL phase,&lt;br/&gt;&amp;gt; I think that could result in a ban.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; More importantly, nodes on both sides of the fork need to find each other. &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; (If there was going to be an ongoing fork there&amp;#39;d be bigger things to&lt;br/&gt;&amp;gt; worry about...)&lt;br/&gt;&lt;br/&gt;I think it should be clear that a UASF-style command line option to allow consensus rule changes in the node in the short term, immediately before a fork carries some risk of a fork, even if I agree it may not persist over months. We can’t simply ignore that.&lt;br/&gt;&lt;br/&gt;&amp;gt; I think the important specific case of this is something like &amp;#34;if a chain&lt;br/&gt;&amp;gt; where taproot is impossible to activate is temporarily the most work,&lt;br/&gt;&amp;gt; miners with lockinontimeout=true need to be well connected so they don&amp;#39;t&lt;br/&gt;&amp;gt; end up competing with each other while they&amp;#39;re catching back up&amp;#34;.&lt;br/&gt;&lt;br/&gt;Between this and your above point, I think we probably agree - there is material  technical complexity hiding behind a “change the consensus rules“ option. Given it’s not a critical feature by any means, putting resources into fixing these issues probably isn’t worth it.&lt;br/&gt;&lt;br/&gt;Matt&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/20210222/08d2cbe2/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20210222/08d2cbe2/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:28:58Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs9thherz0tack2j3rp2y3x6w74a4qn42uysjay3lxzz6e3mza5mcczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm58xwf5m</id>
    
      <title type="html">📅 Original date posted:2021-02-18 📝 Original message:This ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs9thherz0tack2j3rp2y3x6w74a4qn42uysjay3lxzz6e3mza5mcczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm58xwf5m" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsx2m3k8v2ptgqka7u0kujaampvr6wuf8jcn7f2cgc374qezkjlvncqzanwn&#39;&gt;nevent1q…anwn&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-02-18&lt;br/&gt;📝 Original message:This is absolutely the case, however note that the activation method itself is consensus code which executes as a part &lt;br/&gt;of a fork, and one which deserves as much scrutiny as anything else. While taproot is a model of how a soft-fork should &lt;br/&gt;be designed, this doesn&amp;#39;t imply anything about the consensus code which represents the activation thereof.&lt;br/&gt;&lt;br/&gt;Hence all the debate around activation - ultimately its also defining a fork, and given the politics around it, one &lt;br/&gt;which almost certainly carries significantly more risk than Taproot.&lt;br/&gt;&lt;br/&gt;Note that I don&amp;#39;t believe anyone is advocating for &amp;#34;try to activate, and if it fails, move on&amp;#34;. Various people have &lt;br/&gt;various views on how conservative and timelines for what to do at that point, but I believe most in this discussion are &lt;br/&gt;OK with flag-day-based activation (given some level of care) if it becomes clear Taproot is supported by a vast majority &lt;br/&gt;of Bitcoin users and is only not activating due to lagging miner upgrades.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 2/18/21 10:04, Keagan McClelland wrote:&lt;br/&gt;&amp;gt; Hi all,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I think it&amp;#39;s important for us to consider what is actually being considered for activation here.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The designation of &amp;#34;soft fork&amp;#34; is accurate but I don&amp;#39;t think it adequately conveys how non-intrusive a change like this &lt;br/&gt;&amp;gt; is. All that taproot does (unless I&amp;#39;m completely missing something) is imbue a previously undefined script version with &lt;br/&gt;&amp;gt; actual semantics. In order for a chain reorg to take place it would mean that someone would have to have a use case for &lt;br/&gt;&amp;gt; that script version today. This is something I think that we can easily check by digging through the UTXO set or &lt;br/&gt;&amp;gt; history. If anyone is using that script version, we absolutely should not be using it, but that doesn&amp;#39;t mean that we &lt;br/&gt;&amp;gt; can&amp;#39;t switch to a script version that no one is actually using.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; If no one is even attempting to use the script version, then the change has no effect on whether a chain split occurs &lt;br/&gt;&amp;gt; because there is simply no block that contains a transaction that only some of the network will accept.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Furthermore, I don&amp;#39;t know how Bitcoin can stand the test of time if we allow developers who rely on &amp;#34;undefined behavior&amp;#34; &lt;br/&gt;&amp;gt; (which the taproot script version presently is) to exert tremendous influence over what code does or does not get run. &lt;br/&gt;&amp;gt; This isn&amp;#39;t a soft fork that makes some particular UTXO&amp;#39;s unspendable. It isn&amp;#39;t one that bans miners from collecting &lt;br/&gt;&amp;gt; fees. It is a change that means that certain &amp;#34;always accept&amp;#34; transactions actually have real conditions you have to &lt;br/&gt;&amp;gt; meet. I can&amp;#39;t imagine a less intrusive change.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On the other hand, choosing to let L=F be a somewhat final call sets a very real precedent that 10% of what I estimate &lt;br/&gt;&amp;gt; to be 1% of bitcoin users can effectively block any change from here on forward. At that point we are saying that miners &lt;br/&gt;&amp;gt; are in control of network consensus in ways they have not been up until now. I don&amp;#39;t think this is a more desirable &lt;br/&gt;&amp;gt; outcome to let ~0.1% of the network get to block /non-intrusive/ changes that the rest of the network wants.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I can certainly live with an L=F attempt as a way to punt on the discussion, maybe the activation happens and this will &lt;br/&gt;&amp;gt; all be fine. But if it doesn&amp;#39;t, I hardly think that users of Bitcoin are just going to be like &amp;#34;well, guess that&amp;#39;s it &lt;br/&gt;&amp;gt; for Taproot&amp;#34;. I have no idea what ensues at that point, but probably another community led UASF movement.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I wasn&amp;#39;t super well educated on this stuff back in &amp;#39;17 when Segwit went down, as I was new at that time, so if I&amp;#39;m &lt;br/&gt;&amp;gt; missing something please say so. But from my point of view, we can&amp;#39;t treat all soft forks as equal.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Keagan&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On Thu, Feb 18, 2021 at 7:43 AM Matt Corallo via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org &lt;br/&gt;&amp;gt; &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     We&amp;#39;ve had several softforks in Bitcoin which, through the course of their activation, had a several-block reorg. That&lt;br/&gt;&amp;gt;     should be indication enough that we need to very carefully consider activation to ensure we reduce the risk of that as&lt;br/&gt;&amp;gt;     much as absolutely possible. Again, while I think Taproot is a huge improvement and am looking forward to being able to&lt;br/&gt;&amp;gt;     use it, getting unlucky and hitting a 4-block reorg that happens to include a double-spend and some PR around an&lt;br/&gt;&amp;gt;     exchange losing millions would be worse than having Taproot is good.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Matt&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     On 2/18/21 09:26, Michael Folkson wrote:&lt;br/&gt;&amp;gt;      &amp;gt; Thanks for your response Matt. It is a fair challenge. There is always going to be an element of risk with soft&lt;br/&gt;&amp;gt;     forks,&lt;br/&gt;&amp;gt;      &amp;gt; all we can do is attempt to minimize that risk. I would argue that risk has been minimized for Taproot.&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt; You know (better than I do in fact) that Bitcoin (and layers built on top of it) greatly benefit from upgrades&lt;br/&gt;&amp;gt;     such as&lt;br/&gt;&amp;gt;      &amp;gt; Taproot. To say we shouldn&amp;#39;t do Taproot or any future soft forks because there is a small but real risk of chain&lt;br/&gt;&amp;gt;     splits&lt;br/&gt;&amp;gt;      &amp;gt; I think is shortsighted. Indeed I think even if we collectively decided not to do any future soft fork upgrades ever&lt;br/&gt;&amp;gt;      &amp;gt; again on this mailing list that wouldn&amp;#39;t stop soft fork attempts from other people in future.&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt; I don&amp;#39;t think there is anything else we can do to minimize that risk for the Taproot soft fork at this point&lt;br/&gt;&amp;gt;     though I&amp;#39;m&lt;br/&gt;&amp;gt;      &amp;gt; open to ideas. To reiterate that risk will never be zero. I don&amp;#39;t think I see Bitcoin as fragile as you seem to&lt;br/&gt;&amp;gt;     (though&lt;br/&gt;&amp;gt;      &amp;gt; admittedly you have a much better understanding than me of what happened in 2017).&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt; The likely scenario for the Taproot soft fork is LOT turns out to be entirely irrelevant and miners activate Taproot&lt;br/&gt;&amp;gt;      &amp;gt; before it becomes relevant. And even the unlikely worst case scenario would only cause short term disruption and&lt;br/&gt;&amp;gt;      &amp;gt; wouldn&amp;#39;t kill Bitcoin long term.&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt; On Thu, Feb 18, 2021 at 2:01 PM Matt Corallo &amp;lt;lf-lists at mattcorallo.com &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&lt;br/&gt;&amp;gt;     &amp;lt;mailto:lf-lists at mattcorallo.com &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;     If the eventual outcome is that different implementations (that have material *transaction processing* userbases,&lt;br/&gt;&amp;gt;      &amp;gt;     and I’m not sure to what extent that’s true with Knots) ship different consensus rules, we should stop here&lt;br/&gt;&amp;gt;     and not&lt;br/&gt;&amp;gt;      &amp;gt;     activate Taproot. Seriously.&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;     Bitcoin is a consensus system. The absolute worst outcome at all possible is to have it fall out of consensus.&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;     Matt&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     On Feb 18, 2021, at 08:11, Michael Folkson via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;     &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     ﻿&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     Right, that is one option. Personally I would prefer a Bitcoin Core release sets LOT=false (based on what I have&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     heard from Bitcoin Core contributors) and a community effort releases a version with LOT=true. I don&amp;#39;t think&lt;br/&gt;&amp;gt;     users&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     should be forced to choose something they may have no context on before they are allowed to use Bitcoin Core.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     My current understanding is that roasbeef is planning to set LOT=false on btcd (an alternative protocol&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     implementation to Bitcoin Core) and Luke Dashjr hasn&amp;#39;t yet decided on Bitcoin Knots.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     On Thu, Feb 18, 2021 at 11:52 AM ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com &amp;lt;mailto:ZmnSCPxj at protonmail.com&amp;gt;&lt;br/&gt;&amp;gt;     &amp;lt;mailto:ZmnSCPxj at protonmail.com &amp;lt;mailto:ZmnSCPxj at protonmail.com&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         Good morning all,&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;#34;An activation mechanism is a consensus change like any other change, can be contentious like any other&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         change, and we must resolve it like any other change. Otherwise we risk arriving at the darkest timeline.&amp;#34;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; Who&amp;#39;s we here?&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; Release both and let the network decide.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         A thing that could be done, without mandating either LOT=true or LOT=false, would be to have a release that&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         requires a `taprootlot=1` or `taprootlot=0` and refuses to start if the parameter is not set.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         This assures everyone that neither choice is being forced on users, and instead what is being forced on&lt;br/&gt;&amp;gt;     users,&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         is for users to make that choice themselves.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         Regards,&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         ZmnSCPxj&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; On Thu, Feb 18, 2021 at 3:08 AM Michael Folkson via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;     &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; Thanks for your response Ariel. It would be useful if you responded to specific points I have made&lt;br/&gt;&amp;gt;     in the&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         mailing list post or at least quote these ephemeral &amp;#34;people&amp;#34; you speak of. I don&amp;#39;t know if you&amp;#39;re responding&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         to conversation on the IRC channel or on social media etc.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; The argument comes from a naive assumption that users MUST upgrade to the choice that is submitted&lt;br/&gt;&amp;gt;     into&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         code. But in fact this isn&amp;#39;t true and some voices in this discussion need to be more humble about what users&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         must or must not run.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; I personally have never made this assumption. Of course users aren&amp;#39;t forced to run any particular&lt;br/&gt;&amp;gt;     software&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         version, quite the opposite. Defaults set in software versions matter though as many users won&amp;#39;t change&lt;br/&gt;&amp;gt;     them.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; Does no one realize that it is a very possible outcome that if LOT=true is released there may be&lt;br/&gt;&amp;gt;     only a&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         handful of people that begin running it while everyone else delays their upgrade (with the very good&lt;br/&gt;&amp;gt;     reason of&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         not getting involved in politics) and a year later those handful of people just become stuck at the&lt;br/&gt;&amp;gt;     moment of&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         MUST_SIGNAL, unable to mine new blocks?&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; It is a possible outcome but the likely outcome is that miners activate Taproot before LOT is even&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         relevant. I think it is prudent to prepare for the unlikely but possible outcome that miners fail to&lt;br/&gt;&amp;gt;     activate&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         and hence have this discussion now rather than be unprepared for that eventuality. If LOT is set to&lt;br/&gt;&amp;gt;     false in a&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         software release there is the possibility (T2 in&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&amp;gt&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&amp;gt;&amp;gt&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&amp;gt;&amp;gt&lt;/a&gt;;) of individuals or a&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         proportion of the community changing LOT to true. In that sense setting LOT=false in a software release&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         appears to be no more safe than LOT=true.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; The result: a wasted year of waiting and a minority of people who didn&amp;#39;t want to be lenient with&lt;br/&gt;&amp;gt;     miners&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         by default.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; There is the (unlikely but possible) possibility of a wasted year if LOT is set to false and miners fail&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         to activate. I&amp;#39;m not convinced by this perception that LOT=true is antagonistic to miners. I actually&lt;br/&gt;&amp;gt;     think it&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         offers them clarity on what will happen over a year time period and removes the need for coordinated or&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         uncoordinated community UASF efforts on top of LOT=false.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; An activation mechanism is a consensus change like any other change, can be contentious like any other&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         change, and we must resolve it like any other change. Otherwise we risk arriving at the darkest timeline.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; I don&amp;#39;t know what you are recommending here to avoid &amp;#34;this darkest timeline&amp;#34;. Open discussions have&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         occurred and are continuing and in my mailing list post that you responded to **I recommended we propose&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         LOT=false be set in protocol implementations such as Bitcoin Core**. I do think this apocalyptic language&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         isn&amp;#39;t particularly helpful. In an open consensus system discussion is healthy, we should prepare for bad or&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         worst case scenarios in advance and doing so is not antagonistic or destructive. Mining pools have pledged&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         support for Taproot but we don&amp;#39;t build secure systems based on pledges of support, we build them to minimize&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         trust in any human actors. We can be grateful that people like Alejandro have worked hard on&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt; taprootactivation.com &amp;lt;&lt;a href=&#34;http://taprootactivation.com&amp;gt&#34;&gt;http://taprootactivation.com&amp;gt&lt;/a&gt;; &amp;lt;&lt;a href=&#34;http://taprootactivation.com&#34;&gt;http://taprootactivation.com&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;http://taprootactivation.com&amp;gt;&amp;gt&#34;&gt;http://taprootactivation.com&amp;gt;&amp;gt&lt;/a&gt;; (and this effort has informed the discussion) without&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         taking pledges of support as cast iron guarantees.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; TL;DR It sounds like you agree with my recommendation to set LOT=false in protocol implementations in my&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         email :)&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; On Thu, Feb 18, 2021 at 5:43 AM Ariel Lorenzo-Luaces &amp;lt;arielluaces at gmail.com&lt;br/&gt;&amp;gt;     &amp;lt;mailto:arielluaces at gmail.com&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;lt;mailto:arielluaces at gmail.com &amp;lt;mailto:arielluaces at gmail.com&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; Something what strikes me about the conversation is the emotion surrounding the letters UASF.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; It appears as if people discuss UASF as if it&amp;#39;s a massive tidal wave of support that is&lt;br/&gt;&amp;gt;     inevitable, like&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         we saw during segwit activation. But the actual definition is &amp;#34;any activation that is not a MASF&amp;#34;.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; A UASF can consist of a single node, ten nodes, a thousand, half of all nodes, all business&amp;#39; nodes, or&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         even all the non mining nodes. On another dimension it can have zero mining support, 51% support, 49%&lt;br/&gt;&amp;gt;     support,&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         or any support right up against a miner activation threshold.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; Hell a UASF doesn&amp;#39;t even need code or even a single node running as long as it exists as a possibility&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         in people&amp;#39;s minds.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; The only thing a UASF doesn&amp;#39;t have is miner support above an agreed activation threshold (some number&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         above %51).&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; I say this because it strikes me when people say that they are for LOT=true with the logic that&lt;br/&gt;&amp;gt;     since a&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         UASF is guaranteed to happen then it&amp;#39;s better to just make it default from the beginning. Words like&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         coordination and safety are sometimes sprinkled into the argument.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; The argument comes from a naive assumption that users MUST upgrade to the choice that is submitted&lt;br/&gt;&amp;gt;     into&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         code. But in fact this isn&amp;#39;t true and some voices in this discussion need to be more humble about what users&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         must or must not run.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; Does no one realize that it is a very possible outcome that if LOT=true is released there may be&lt;br/&gt;&amp;gt;     only a&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         handful of people that begin running it while everyone else delays their upgrade (with the very good&lt;br/&gt;&amp;gt;     reason of&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         not getting involved in politics) and a year later those handful of people just become stuck at the&lt;br/&gt;&amp;gt;     moment of&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         MUST_SIGNAL, unable to mine new blocks? Or attracting a minority of miners, activating, and forking off&lt;br/&gt;&amp;gt;     into a&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         minority fork. Then a lot=false could be started that ends up activating the feature now that the stubborn&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         option has ran its course.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; The result: a wasted year of waiting and a minority of people who didn&amp;#39;t want to be lenient with&lt;br/&gt;&amp;gt;     miners&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         by default. The chains could be called BitcoinLenient and BitcoinStubborn.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; How is that strictly safer or more coordinated?&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; I may be in the minority, or maybe a silent majority, or maybe a majority that just hasn&amp;#39;t considered&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         this as a choice but honestly if there is contention about whether we&amp;#39;re going to be stubborn or lenient&lt;br/&gt;&amp;gt;     with&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         miners for Taproot and in the future then I prefer to just not activate anything at all. I&amp;#39;m fine for&lt;br/&gt;&amp;gt;     calling&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         bitcoin ossified, accepting that segwit is Bitcoin&amp;#39;s last network upgrade. Taproot is amazing but no new&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         feature is worth a network split down the middle.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; Maybe in 10 or 20 years, when other blockchains implement features like Taproot and many more, we will&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         become envious enough to put aside our differences on how to behave towards miners and finally activate&lt;br/&gt;&amp;gt;     Taproot.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; An activation mechanism is a consensus change like any other change, can be contentious like any other&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         change, and we must resolve it like any other change. Otherwise we risk arriving at the darkest timeline.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; Cheers&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; Ariel Lorenzo-Luaces&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; On Feb 17, 2021, at 7:05 AM, Michael Folkson via bitcoin-dev&lt;br/&gt;&amp;gt;     &amp;lt;bitcoin-dev at lists.linuxfoundation.org &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Yesterday (February 16th) we held a second meeting on Taproot&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; activation on IRC which again was open to all. Despite what appeared&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; to be majority support for LOT=false over LOT=true in the first&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; meeting I (and others) thought the arguments had not been explored in&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; depth and that we should have a follow up meeting almost entirely&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; focused on whether LOT (lockinontimeout) should be set to true or&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; false.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; The meeting was announced here:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&amp;gt&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&amp;gt;&amp;gt&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&amp;gt;&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; In that mailing list post I outlined the arguments for LOT=true (T1 to&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; T6) and arguments for LOT=false (F1 to F6) in their strongest form I&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; could. David Harding responded with an additional argument for&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; LOT=false (F7) here:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018415.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018415.html&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018415.html&amp;gt&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018415.html&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018415.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018415.html&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018415.html&amp;gt;&amp;gt&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018415.html&amp;gt;&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; These meetings are very challenging given they are open to all, you&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; don’t know who will attend and you don’t know most people’s views in&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; advance. I tried to give time for both the LOT=true arguments and the&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; LOT=false arguments to be discussed as I knew there was support for&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; both. We only tried evaluating which had more support and which had&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; more strong opposition towards the end of the meeting.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; The conversation log is here:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;http://gnusha.org/taproot-activation/2021-02-16.log&#34;&gt;http://gnusha.org/taproot-activation/2021-02-16.log&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;http://gnusha.org/taproot-activation/2021-02-16.log&amp;gt&#34;&gt;http://gnusha.org/taproot-activation/2021-02-16.log&amp;gt&lt;/a&gt;; &amp;lt;&lt;a href=&#34;http://gnusha.org/taproot-activation/2021-02-16.log&#34;&gt;http://gnusha.org/taproot-activation/2021-02-16.log&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;http://gnusha.org/taproot-activation/2021-02-16.log&amp;gt;&amp;gt&#34;&gt;http://gnusha.org/taproot-activation/2021-02-16.log&amp;gt;&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; (If you are so inclined you can watch a video of the meeting here.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks to the YouTube account “Bitcoin” for setting up the livestream:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;https://www.youtube.com/watch?v=vpl5q1ovMLM&#34;&gt;https://www.youtube.com/watch?v=vpl5q1ovMLM&lt;/a&gt; &amp;lt;&lt;a href=&#34;https://www.youtube.com/watch?v=vpl5q1ovMLM&amp;gt&#34;&gt;https://www.youtube.com/watch?v=vpl5q1ovMLM&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://www.youtube.com/watch?v=vpl5q1ovMLM&#34;&gt;https://www.youtube.com/watch?v=vpl5q1ovMLM&lt;/a&gt; &amp;lt;&lt;a href=&#34;https://www.youtube.com/watch?v=vpl5q1ovMLM&amp;gt;&amp;gt&#34;&gt;https://www.youtube.com/watch?v=vpl5q1ovMLM&amp;gt;&amp;gt&lt;/a&gt;;)&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; A summary of the meeting was provided by Luke Dashjr on Mastodon here:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;https://bitcoinhackers.org/@lukedashjr/105742918779234566&#34;&gt;https://bitcoinhackers.org/@lukedashjr/105742918779234566&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://bitcoinhackers.org/@lukedashjr/105742918779234566&amp;gt&#34;&gt;https://bitcoinhackers.org/@lukedashjr/105742918779234566&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;lt;&lt;a href=&#34;https://bitcoinhackers.org/@lukedashjr/105742918779234566&#34;&gt;https://bitcoinhackers.org/@lukedashjr/105742918779234566&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://bitcoinhackers.org/@lukedashjr/105742918779234566&amp;gt;&amp;gt&#34;&gt;https://bitcoinhackers.org/@lukedashjr/105742918779234566&amp;gt;&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Today&amp;#39;s #Bitcoin #Taproot meeting was IMO largely unproductive, but we&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; did manage to come to consensus on everything but LockinOnTimeout.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Activation height range: 693504-745920&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; MASF threshold: 1815/2016 blocks (90%)&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Keep in mind only ~100 people showed for the meetings, hardly&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; representative of the entire community.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; So, these details remain JUST a proposal for now.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; It seems inevitable that there won&amp;#39;t be consensus on LOT.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Everyone will have to choose for himself. :/&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Personally I agree with most of this. I agree that there wasn’t&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; overwhelming consensus for either LOT=true or LOT=false. However, from&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; my perspective there was clearly more strong opposition (what would&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; usually be deemed a NACK in Bitcoin Core review terminology) from&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Bitcoin Core contributors, Lightning developers and other community&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; members against LOT=true than there was for LOT=false. Andrew Chow&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; tried to summarize views from the meeting in this analysis:&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;https://gist.github.com/achow101/3e179501290abb7049de198d46894c7c&#34;&gt;https://gist.github.com/achow101/3e179501290abb7049de198d46894c7c&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://gist.github.com/achow101/3e179501290abb7049de198d46894c7c&amp;gt&#34;&gt;https://gist.github.com/achow101/3e179501290abb7049de198d46894c7c&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;lt;&lt;a href=&#34;https://gist.github.com/achow101/3e179501290abb7049de198d46894c7c&#34;&gt;https://gist.github.com/achow101/3e179501290abb7049de198d46894c7c&lt;/a&gt;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;https://gist.github.com/achow101/3e179501290abb7049de198d46894c7c&amp;gt;&amp;gt&#34;&gt;https://gist.github.com/achow101/3e179501290abb7049de198d46894c7c&amp;gt;&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; I am also aware of other current and previous Bitcoin Core&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; contributors and Lightning developers who didn’t attend the meeting in&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; person who are opposed to LOT=true. I don’t want to put them in the&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; spotlight for no reason but if you go through the conversation logs of&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; not only the meeting but the weeks of discussion prior to this meeting&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; you will see their views evaluated on the ##taproot-activation&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; channel. In addition, on taprootactivation.com &amp;lt;&lt;a href=&#34;http://taprootactivation.com&amp;gt&#34;&gt;http://taprootactivation.com&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;     &amp;lt;&lt;a href=&#34;http://taprootactivation.com&#34;&gt;http://taprootactivation.com&lt;/a&gt; &amp;lt;&lt;a href=&#34;http://taprootactivation.com&amp;gt;&amp;gt&#34;&gt;http://taprootactivation.com&amp;gt;&amp;gt&lt;/a&gt;; some mining pools&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; expressed a preference for lot=false though I don’t know how strong&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; that preference was.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; I am only one voice but it is my current assessment that if we are to&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; attempt to finalize Taproot activation parameters and propose them to&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; the community at this time our only option is to propose LOT=false.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Any further delay appears to me counterproductive in our collective&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; aim to get the Taproot soft fork activated as early as possible.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Obviously others are free to disagree with that assessment and&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; continue discussions but personally I will be attempting to avoid&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; those discussions unless prominent new information comes to light or&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; various specific individuals change their minds.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Next week we are planning a code review of the Bitcoin Core PR #19573&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; which was initially delayed because of this LOT discussion. As I’ve&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; said previously that will be loosely following the format of the&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Bitcoin Core PR review club and will be lower level and more&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; technical. That is planned for Tuesday February 23rd at 19:00 UTC on&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; the IRC channel ##taproot-activation.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks to the meeting participants (and those who joined the&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; discussion on the channel prior and post the meeting) for engaging&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; &amp;gt; &amp;gt; productively and in good faith.&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; --&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; Michael Folkson&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; Email: michaelfolkson at gmail.com &amp;lt;mailto:michaelfolkson at gmail.com&amp;gt; &amp;lt;mailto:michaelfolkson at gmail.com&lt;br/&gt;&amp;gt;     &amp;lt;mailto:michaelfolkson at gmail.com&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; Keybase: michaelfolkson&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;gt; &amp;gt; bitcoin-dev at lists.linuxfoundation.org &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;     &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;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;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;         &amp;lt;&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;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt;&amp;gt&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt;&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     --&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     Michael Folkson&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     Email: michaelfolkson at gmail.com &amp;lt;mailto:michaelfolkson at gmail.com&amp;gt; &amp;lt;mailto:michaelfolkson at gmail.com&lt;br/&gt;&amp;gt;     &amp;lt;mailto:michaelfolkson at gmail.com&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     Keybase: michaelfolkson&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     _______________________________________________&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     bitcoin-dev mailing list&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt;     &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&amp;gt;&lt;br/&gt;&amp;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;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&amp;gt;     &amp;lt;&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;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt;&amp;gt&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt;&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt; --&lt;br/&gt;&amp;gt;      &amp;gt; Michael Folkson&lt;br/&gt;&amp;gt;      &amp;gt; Email: michaelfolkson at gmail.com &amp;lt;mailto:michaelfolkson at gmail.com&amp;gt; &amp;lt;mailto:michaelfolkson at gmail.com&lt;br/&gt;&amp;gt;     &amp;lt;mailto:michaelfolkson at gmail.com&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;      &amp;gt; Keybase: michaelfolkson&lt;br/&gt;&amp;gt;      &amp;gt; PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3&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 &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&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;     &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-07T18:28:52Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqswu7mk7ykj5l8zsxms6l3dq4atvaznv39n0df5g70st422gcex78gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm55uyad4</id>
    
      <title type="html">📅 Original date posted:2021-02-18 📝 Original message:If the ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqswu7mk7ykj5l8zsxms6l3dq4atvaznv39n0df5g70st422gcex78gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm55uyad4" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqstzk2d2anzutjh99faz02me8xvzpe4lr462ae0ktpvtcwz5dtpzrgvzlvsd&#39;&gt;nevent1q…lvsd&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-02-18&lt;br/&gt;📝 Original message:If the eventual outcome is that different implementations (that have material *transaction processing* userbases, and I’m not sure to what extent that’s true with Knots) ship different consensus rules, we should stop here and not activate Taproot. Seriously.&lt;br/&gt;&lt;br/&gt;Bitcoin is a consensus system. The absolute worst outcome at all possible is to have it fall out of consensus.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;&amp;gt; On Feb 18, 2021, at 08:11, Michael Folkson via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; ﻿&lt;br/&gt;&amp;gt; Right, that is one option. Personally I would prefer a Bitcoin Core release sets LOT=false (based on what I have heard from Bitcoin Core contributors) and a community effort releases a version with LOT=true. I don&amp;#39;t think users should be forced to choose something they may have no context on before they are allowed to use Bitcoin Core. &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; My current understanding is that roasbeef is planning to set LOT=false on btcd (an alternative protocol implementation to Bitcoin Core) and Luke Dashjr hasn&amp;#39;t yet decided on Bitcoin Knots.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; On Thu, Feb 18, 2021 at 11:52 AM ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; Good morning all,&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;#34;An activation mechanism is a consensus change like any other change, can be contentious like any other change, and we must resolve it like any other change. Otherwise we risk arriving at the darkest timeline.&amp;#34;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; Who&amp;#39;s we here?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; Release both and let the network decide.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; A thing that could be done, without mandating either LOT=true or LOT=false, would be to have a release that requires a `taprootlot=1` or `taprootlot=0` and refuses to start if the parameter is not set.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; This assures everyone that neither choice is being forced on users, and instead what is being forced on users, is for users to make that choice themselves.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; On Thu, Feb 18, 2021 at 3:08 AM Michael Folkson via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Thanks for your response Ariel. It would be useful if you responded to specific points I have made in the mailing list post or at least quote these ephemeral &amp;#34;people&amp;#34; you speak of. I don&amp;#39;t know if you&amp;#39;re responding to conversation on the IRC channel or on social media etc.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The argument comes from a naive assumption that users MUST upgrade to the choice that is submitted into code. But in fact this isn&amp;#39;t true and some voices in this discussion need to be more humble about what users must or must not run.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; I personally have never made this assumption. Of course users aren&amp;#39;t forced to run any particular software version, quite the opposite. Defaults set in software versions matter though as many users won&amp;#39;t change them.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Does no one realize that it is a very possible outcome that if LOT=true is released there may be only a handful of people that begin running it while everyone else delays their upgrade (with the very good reason of not getting involved in politics) and a year later those handful of people just become stuck at the moment of MUST_SIGNAL, unable to mine new blocks?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; It is a possible outcome but the likely outcome is that miners activate Taproot before LOT is even relevant. I think it is prudent to prepare for the unlikely but possible outcome that miners fail to activate and hence have this discussion now rather than be unprepared for that eventuality. If LOT is set to false in a software release there is the possibility (T2 in &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&lt;/a&gt;) of individuals or a proportion of the community changing LOT to true. In that sense setting LOT=false in a software release appears to be no more safe than LOT=true.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The result: a wasted year of waiting and a minority of people who didn&amp;#39;t want to be lenient with miners by default.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; There is the (unlikely but possible) possibility of a wasted year if LOT is set to false and miners fail to activate. I&amp;#39;m not convinced by this perception that LOT=true is antagonistic to miners. I actually think it offers them clarity on what will happen over a year time period and removes the need for coordinated or uncoordinated community UASF efforts on top of LOT=false.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; An activation mechanism is a consensus change like any other change, can be contentious like any other change, and we must resolve it like any other change. Otherwise we risk arriving at the darkest timeline.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; I don&amp;#39;t know what you are recommending here to avoid &amp;#34;this darkest timeline&amp;#34;. Open discussions have occurred and are continuing and in my mailing list post that you responded to **I recommended we propose LOT=false be set in protocol implementations such as Bitcoin Core**. I do think this apocalyptic language isn&amp;#39;t particularly helpful. In an open consensus system discussion is healthy, we should prepare for bad or worst case scenarios in advance and doing so is not antagonistic or destructive. Mining pools have pledged support for Taproot but we don&amp;#39;t build secure systems based on pledges of support, we build them to minimize trust in any human actors. We can be grateful that people like Alejandro have worked hard on taprootactivation.com (and this effort has informed the discussion) without taking pledges of support as cast iron guarantees.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; TL;DR It sounds like you agree with my recommendation to set LOT=false in protocol implementations in my email :)&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; On Thu, Feb 18, 2021 at 5:43 AM Ariel Lorenzo-Luaces &amp;lt;arielluaces at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Something what strikes me about the conversation is the emotion surrounding the letters UASF.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; It appears as if people discuss UASF as if it&amp;#39;s a massive tidal wave of support that is inevitable, like we saw during segwit activation. But the actual definition is &amp;#34;any activation that is not a MASF&amp;#34;.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; A UASF can consist of a single node, ten nodes, a thousand, half of all nodes, all business&amp;#39; nodes, or even all the non mining nodes. On another dimension it can have zero mining support, 51% support, 49% support, or any support right up against a miner activation threshold.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hell a UASF doesn&amp;#39;t even need code or even a single node running as long as it exists as a possibility in people&amp;#39;s minds.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The only thing a UASF doesn&amp;#39;t have is miner support above an agreed activation threshold (some number above %51).&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I say this because it strikes me when people say that they are for LOT=true with the logic that since a UASF is guaranteed to happen then it&amp;#39;s better to just make it default from the beginning. Words like coordination and safety are sometimes sprinkled into the argument.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The argument comes from a naive assumption that users MUST upgrade to the choice that is submitted into code. But in fact this isn&amp;#39;t true and some voices in this discussion need to be more humble about what users must or must not run.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Does no one realize that it is a very possible outcome that if LOT=true is released there may be only a handful of people that begin running it while everyone else delays their upgrade (with the very good reason of not getting involved in politics) and a year later those handful of people just become stuck at the moment of MUST_SIGNAL, unable to mine new blocks? Or attracting a minority of miners, activating, and forking off into a minority fork. Then a lot=false could be started that ends up activating the feature now that the stubborn option has ran its course.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The result: a wasted year of waiting and a minority of people who didn&amp;#39;t want to be lenient with miners by default. The chains could be called BitcoinLenient and BitcoinStubborn.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; How is that strictly safer or more coordinated?&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I may be in the minority, or maybe a silent majority, or maybe a majority that just hasn&amp;#39;t considered this as a choice but honestly if there is contention about whether we&amp;#39;re going to be stubborn or lenient with miners for Taproot and in the future then I prefer to just not activate anything at all. I&amp;#39;m fine for calling bitcoin ossified, accepting that segwit is Bitcoin&amp;#39;s last network upgrade. Taproot is amazing but no new feature is worth a network split down the middle.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Maybe in 10 or 20 years, when other blockchains implement features like Taproot and many more, we will become envious enough to put aside our differences on how to behave towards miners and finally activate Taproot.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; An activation mechanism is a consensus change like any other change, can be contentious like any other change, and we must resolve it like any other change. Otherwise we risk arriving at the darkest timeline.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Cheers&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Ariel Lorenzo-Luaces&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On Feb 17, 2021, at 7:05 AM, Michael Folkson via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Yesterday (February 16th) we held a second meeting on Taproot&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; activation on IRC which again was open to all. Despite what appeared&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; to be majority support for LOT=false over LOT=true in the first&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; meeting I (and others) thought the arguments had not been explored in&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; depth and that we should have a follow up meeting almost entirely&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; focused on whether LOT (lockinontimeout) should be set to true or&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; false.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; The meeting was announced here:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018380.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; In that mailing list post I outlined the arguments for LOT=true (T1 to&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; T6) and arguments for LOT=false (F1 to F6) in their strongest form I&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; could. David Harding responded with an additional argument for&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; LOT=false (F7) here:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018415.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-February/018415.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; These meetings are very challenging given they are open to all, you&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; don’t know who will attend and you don’t know most people’s views in&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; advance. I tried to give time for both the LOT=true arguments and the&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; LOT=false arguments to be discussed as I knew there was support for&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; both. We only tried evaluating which had more support and which had&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; more strong opposition towards the end of the meeting.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; The conversation log is here:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;http://gnusha.org/taproot-activation/2021-02-16.log&#34;&gt;http://gnusha.org/taproot-activation/2021-02-16.log&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; (If you are so inclined you can watch a video of the meeting here.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks to the YouTube account “Bitcoin” for setting up the livestream:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;https://www.youtube.com/watch?v=vpl5q1ovMLM&#34;&gt;https://www.youtube.com/watch?v=vpl5q1ovMLM&lt;/a&gt;)&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; A summary of the meeting was provided by Luke Dashjr on Mastodon here:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;https://bitcoinhackers.org/@lukedashjr/105742918779234566&#34;&gt;https://bitcoinhackers.org/@lukedashjr/105742918779234566&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Today&amp;#39;s #Bitcoin #Taproot meeting was IMO largely unproductive, but we&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; did manage to come to consensus on everything but LockinOnTimeout.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Activation height range: 693504-745920&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; MASF threshold: 1815/2016 blocks (90%)&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Keep in mind only ~100 people showed for the meetings, hardly&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; representative of the entire community.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; So, these details remain JUST a proposal for now.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; It seems inevitable that there won&amp;#39;t be consensus on LOT.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Everyone will have to choose for himself. :/&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Personally I agree with most of this. I agree that there wasn’t&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; overwhelming consensus for either LOT=true or LOT=false. However, from&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; my perspective there was clearly more strong opposition (what would&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; usually be deemed a NACK in Bitcoin Core review terminology) from&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Bitcoin Core contributors, Lightning developers and other community&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; members against LOT=true than there was for LOT=false. Andrew Chow&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; tried to summarize views from the meeting in this analysis:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&#34;https://gist.github.com/achow101/3e179501290abb7049de198d46894c7c&#34;&gt;https://gist.github.com/achow101/3e179501290abb7049de198d46894c7c&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I am also aware of other current and previous Bitcoin Core&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; contributors and Lightning developers who didn’t attend the meeting in&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; person who are opposed to LOT=true. I don’t want to put them in the&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; spotlight for no reason but if you go through the conversation logs of&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; not only the meeting but the weeks of discussion prior to this meeting&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; you will see their views evaluated on the ##taproot-activation&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; channel. In addition, on taprootactivation.com some mining pools&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; expressed a preference for lot=false though I don’t know how strong&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; that preference was.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I am only one voice but it is my current assessment that if we are to&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; attempt to finalize Taproot activation parameters and propose them to&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; the community at this time our only option is to propose LOT=false.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Any further delay appears to me counterproductive in our collective&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; aim to get the Taproot soft fork activated as early as possible.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Obviously others are free to disagree with that assessment and&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; continue discussions but personally I will be attempting to avoid&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; those discussions unless prominent new information comes to light or&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; various specific individuals change their minds.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Next week we are planning a code review of the Bitcoin Core PR #19573&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; which was initially delayed because of this LOT discussion. As I’ve&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; said previously that will be loosely following the format of the&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Bitcoin Core PR review club and will be lower level and more&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; technical. That is planned for Tuesday February 23rd at 19:00 UTC on&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; the IRC channel ##taproot-activation.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks to the meeting participants (and those who joined the&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; discussion on the channel prior and post the meeting) for engaging&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; productively and in good faith.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; --&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Michael Folkson&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Email: michaelfolkson at gmail.com&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; Keybase: michaelfolkson&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;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;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; -- &lt;br/&gt;&amp;gt; Michael Folkson&lt;br/&gt;&amp;gt; Email: michaelfolkson at gmail.com&lt;br/&gt;&amp;gt; Keybase: michaelfolkson&lt;br/&gt;&amp;gt; PGP: 43ED C999 9F85 1D40 EAF4 9835 92D6 0159 214C FEE3&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;-------------- 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/20210218/3aeb6764/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20210218/3aeb6764/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:28:48Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsqew28tp6vvtp6ugaqhktq38kjzge725r8maaxknh57f9ukpt4uqczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ud4k3s</id>
    
      <title type="html">📅 Original date posted:2020-08-18 📝 Original message:There ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsqew28tp6vvtp6ugaqhktq38kjzge725r8maaxknh57f9ukpt4uqczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ud4k3s" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsd5hv03kx3vhqpxlue5zn3q0yvp7w4r278jdq9vxnnu3x4x3ah9fs3yuydw&#39;&gt;nevent1q…uydw&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-08-18&lt;br/&gt;📝 Original message:There are several cases where a new message has been sent as a part of a negotiation without changing the protocol &lt;br/&gt;version. You may chose to ignore that, but that doesn&amp;#39;t mean that it isn&amp;#39;t an understood and even relied upon feature of &lt;br/&gt;the Bitcoin P2P protocol. If you wish to fail connections to new nodes (and risk network splits, as Suhas points out), &lt;br/&gt;then you may do so, but that doesn&amp;#39;t make it a part of the Bitcoin P2P protocol that you must do so. Of course there is &lt;br/&gt;no &amp;#34;official document&amp;#34; by which we can make a formal appeal, but historical precedent suggests otherwise.&lt;br/&gt;&lt;br/&gt;Still, I think we&amp;#39;re talking pedantics here, and not in a useful way. Ultimately we need some kind of negotiation which &lt;br/&gt;is flexible in allowing different software to negotiate different features without a global lock-step version number &lt;br/&gt;increase. Or, to put it another way, if a feature is fully optional, why should there be a version number increase for &lt;br/&gt;it - the negotiation of it is independent and a version number only increases confusion over which change &amp;#34;owns&amp;#34; a given &lt;br/&gt;version number.&lt;br/&gt;&lt;br/&gt;I presume you&amp;#39;d support a single message that lists the set of features which a node (optionally) wishes to support on &lt;br/&gt;the connection. This proposal is fully equivalent to that, instead opting to list them as individual messages instead of &lt;br/&gt;one message, which is a bit nicer in that they can be handled more independently or by different subsystems including &lt;br/&gt;even the message hashing.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 8/18/20 12:54 PM, Eric Voskuil wrote:&lt;br/&gt;&amp;gt; “Bitcoin protocol has always expected clients to ignore unknown messages”&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This is not true. Bitcoin has long implemented version negotiation, which is the opposite expectation. Libbitcoin’s p2p &lt;br/&gt;&amp;gt; protocol implementation immediately drops a peer that sends an invalid message according to the negotiated version. The &lt;br/&gt;&amp;gt; fact that a given client does not validate the protocol does not make it an expectation that the protocol not be validated.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Features can clearly be optional within an actual protocol. There have been post-handshake negotiations implemented for &lt;br/&gt;&amp;gt; optional messages which are valid at the negotiated version. The protocol may be flexible while remaining validateable. &lt;br/&gt;&amp;gt; There is no reason to force a client to accept unknown message traffic.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; A generalized versioning change can be implemented in or after the handshake. The latter is already done on an ad-hoc &lt;br/&gt;&amp;gt; basis. The former is possible as long as the peer’s version is sufficient to be aware of the behavior. This does not &lt;br/&gt;&amp;gt; imply any need to send invalid messages. The verack itself can simply be extended with a matrix of feature support. &lt;br/&gt;&amp;gt; There is no reason to complicate negotiation with an additional message(s).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; FWIW, bip37 did this poorly, adding a feature field to the version message, resulting in bip60. Due to this design, &lt;br/&gt;&amp;gt; older protocol-validating clients were broken. In this case it was message length that was presumed to not be validated.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; e&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; On Aug 18, 2020, at 07:59, Matt Corallo via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; ﻿This sounds like a great idea!&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Bitcoin is no longer a homogeneous network of one client - it is many, with different features implemented in each. &lt;br/&gt;&amp;gt;&amp;gt; The Bitcoin protocol hasn&amp;#39;t (fully) evolved to capture that reality. Initially the Bitcoin protocol had a simple &lt;br/&gt;&amp;gt;&amp;gt; numerical version field, but that is wholly impractical for any diverse network - some clients may not wish to &lt;br/&gt;&amp;gt;&amp;gt; implement every possible new relay mechanic, and why should they have to in order to use other new features?&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Bitcoin protocol changes have, many times in recent history, been made via new dummy &amp;#34;negotiation&amp;#34; messages, which &lt;br/&gt;&amp;gt;&amp;gt; take advantage of the fact that the Bitcoin protocol has always expected clients to ignore unknown messages. Given &lt;br/&gt;&amp;gt;&amp;gt; that pattern, it makes sense to have an explicit negotiation phase - after version and before verack, just send the &lt;br/&gt;&amp;gt;&amp;gt; list of features that you support to negotiate what the connection will be capable of. The exact way we do that &lt;br/&gt;&amp;gt;&amp;gt; doesn&amp;#39;t matter much, and sending it as a stream of messages which each indicate support for a given protocol feature &lt;br/&gt;&amp;gt;&amp;gt; perfectly captures the pattern that has been used in several recent network upgrades, keeping consistency.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Matt&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On 8/14/20 3:28 PM, Suhas Daftuar via bitcoin-dev wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Hi,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Back in February I posted a proposal for WTXID-based transaction relay[1] (now known as BIP 339), which included a &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; proposal for feature negotiation to take place prior to the VERACK message being received by each side.  In my email &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; to this list, I had asked for feedback as to whether that proposal was problematic, and didn&amp;#39;t receive any responses.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Since then, the implementation of BIP 339 has been merged into Bitcoin Core, though it has not yet been released.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; In thinking about the mechanism used there, I thought it would be helpful to codify in a BIP the idea that Bitcoin &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; network clients should ignore unknown messages received before a VERACK.  A draft of my proposal is available here[2].&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; I presume that software upgrading past protocol version 70016 was already planning to either implement BIP 339, or &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; ignore the wtxidrelay message proposed in BIP 339 (if not, then this would create network split concerns in the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; future -- so I hope that someone would speak up if this were a problem).  When we propose future protocol upgrades &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; that would benefit from feature negotiation at the time of connection, I think it would be nice to be able to use the &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; same method as proposed in BIP 339, without even needing to bump the protocol version.  So having an understanding &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; that this is the standard of how other network clients operate would be helpful.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; If, on the other hand, this is problematic for some reason, I look forward to hearing that as well, so that we can be &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; careful about how we deploy future p2p changes to avoid disruption.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Thanks,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Suhas Daftuar&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; [1] &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-February/017648.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-February/017648.html&lt;/a&gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-February/017648.html&amp;gt&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-February/017648.html&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; [2] &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://github.com/sdaftuar/bips/blob/2020-08-generalized-feature-negotiation/bip-p2p-feature-negotiation.mediawiki&#34;&gt;https://github.com/sdaftuar/bips/blob/2020-08-generalized-feature-negotiation/bip-p2p-feature-negotiation.mediawiki&lt;/a&gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&#34;https://github.com/sdaftuar/bips/blob/2020-08-generalized-feature-negotiation/bip-p2p-feature-negotiation.mediawiki&amp;gt&#34;&gt;https://github.com/sdaftuar/bips/blob/2020-08-generalized-feature-negotiation/bip-p2p-feature-negotiation.mediawiki&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;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;&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;
    </content>
    <updated>2023-06-07T18:26:25Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs0l0me6l4ugyxeqpafvufelqjsskru7ly8fujxdy6gxw78gudzcfczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5tw2de6</id>
    
      <title type="html">📅 Original date posted:2020-08-06 📝 Original message:Yep! ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs0l0me6l4ugyxeqpafvufelqjsskru7ly8fujxdy6gxw78gudzcfczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5tw2de6" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs9acvjmtnz5zctfgscsatlr8lr4gq5yzcespnwa05ug5q25kh00rcjlyrnk&#39;&gt;nevent1q…yrnk&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-08-06&lt;br/&gt;📝 Original message:Yep! That is the attack I had in mind - just in general any time you have a non-relative time limit (ie an HTLC) for&lt;br/&gt;confirmation, relay attacks become critical and its no longer just about revocation (which is fine when your time limit&lt;br/&gt;is CSV-based).&lt;br/&gt;&lt;br/&gt;In general, SIGHASH_NOINPUT makes these issues much, much simpler to address, but only if we assume that nodes can&lt;br/&gt;somehow be &amp;#34;smart&amp;#34; about replacement when they see a SIGHASH_NOINPUT spend which can spend an output that something else&lt;br/&gt;in the mempool already spends (potentially a different input than the relaying node thinks the transaction should&lt;br/&gt;spend). While ideally we&amp;#39;d be able to shove that (significant) complexity into the Bitcoin P2P network, that may not be&lt;br/&gt;feasible, but we could imagine a relay network of lightning nodes doing that calculation and then passing the&lt;br/&gt;transactions to their local full nodes.&lt;br/&gt;&lt;br/&gt;Given such an overlay network would represent an increase in local mempool fees, it is not unreasonable to expect at&lt;br/&gt;least some miners to run a local node which can submit such transactions to their template-generating nodes.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 8/4/20 10:59 AM, ZmnSCPxj wrote:&lt;br/&gt;&amp;gt; Good morning Matt,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Hmm, apologies that little context was provided - this was meant in the context of the current crop of relay-based attacks that have been discovered. As we learned in those contexts, “just handle it when it confirms” doesn’t provide the types of guarantees we were hoping for as placing commitment transactions in mempools can be used to prevent honest nodes from broadcasting the latest state. This implies that HTLC security may be at risk.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Ah, okay.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; So the attack is this:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; * Attacker connects twice to the LN: one to any node near the victim, one to the victim.&lt;br/&gt;&amp;gt; * Attacker arranges for the attacker-victim channel to have most funds in the side of the victim.&lt;br/&gt;&amp;gt; * The attacker routes a circular payment terminating in the victim-attacker channel.&lt;br/&gt;&amp;gt;   * The victim accepts some incoming HTLC, and provides an outgoing HTLC to the attacker via the victim-attacker channel.&lt;br/&gt;&amp;gt; * The attacker broadcasts a very low-fee old-state transaction of the victim-attacker channel, one that is too low-fee to practically get confirmed, just before the HTLC timeout.&lt;br/&gt;&amp;gt; * The victim-outgoing HTLC times out, making the victim broadcast a unilateral close attempt for the victim-attacker channel in order to enforce the HTLC onchain.&lt;br/&gt;&amp;gt;   * Unfortunately for the victim, relay shenanigans prevent the latest commitment from being broadcast.&lt;br/&gt;&amp;gt; * The attacker waits for the victim-incoming HTLC to timeout, which forces the victim to `update_htlc_failed` the incoming HTLC or risk having that channel closed (and losing future routing fees).&lt;br/&gt;&amp;gt;   * The attacker now gets back its outgoing funds.&lt;br/&gt;&amp;gt; * The attacker lets the old-state transaction get relayed, and then re-seats the latest update transaction to that.&lt;br/&gt;&amp;gt; * Once the latest transaction allows the HTLCs to be published, the attacker claims the victim-outgoing HTLC with the hashlock branch.&lt;br/&gt;&amp;gt;   * The attacker now gets its incoming funds, doubling its money, because that is how the &amp;#34;send me 1 BTC I send you 2 BTC back&amp;#34; Twitter thing works right?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Hmmm.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The only thing I can imagine helping here is for the forwarding node to drop channels onchain &amp;#34;early&amp;#34;, i.e. if the HTLC will time out in say 14 blocks we drop the channel onchain, so we have a little leeway in bumping up fees for the commitment transaction.&lt;br/&gt;&amp;gt; Maybe.&lt;br/&gt;&amp;gt; I am sure Matt can find yet another relay attack that prevents that, at this point, haha.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &amp;#34;Are we *still* talking about onchain fees....?&amp;#34; - Adelaide 2018&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; On Aug 4, 2020, at 00:23, ZmnSCPxj ZmnSCPxj at protonmail.com wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Good morning Matt,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; While I admit I haven’t analyzed the feasibility, I want to throw one additional design consideration into the ring.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Namely, it would ideally be trivial, at the p2p protocol layer, to relay a transaction to a full node without knowing exactly which input transaction that full node has in its mempool/active chain. This is at least potentially important for systems like lighting where you do not know which counterparty commitment transaction(s) are in a random node’s mempool and you should be able to describe to that node that you are spending then nonetheless.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; This is (obviously) an incredibly nontrivial problem both in p2p protocol complexity and mempool optimization, but it may leave SIGHASH_NOINPUT rather useless for lighting without it.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The least we could do is think about the consensus design in that context, even if we have to provide an external overlay relay network in order to make lighting transactions relay properly (presumably with miners running such software).&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Ah, right.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; A feasible attack, without the above, would be to connect to the fullnode of the victim, and connect to miners separately.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Then you broadcast to the victim one of the old txes, call it tx A, but you broadcast to the miners a different old tx, call it B.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; The victim reacts only to tA, but does not react to B since it does not see B in the mempool.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; On the other hand --- what the victim needs to react to is onchain confirmed transactions.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; So I think all the victim needs to do, in a Lightning universe utilizing primarily `SIGHASH_NOINPUT`-based mechanisms, is to monitor onchain events and ignore mempool events.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; So if we give fairly long timeouts for our mechanisms, it should be enough, I think, since once a transaction is confirmed its txid does not malleate without a reorg and a `SIGHASH_NOINPUT` signature can then be &amp;#34;locked&amp;#34; to that txid, unless a reorg unconfirms the transaction.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; We only need to be aware of deep reorgs and re-broadcast with a malleated prevout until the tx being spent is deeply confirmed.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; In addition, we want to implement scorch-the-earth, keep-bumping-the-fee strategies anyway, so we would keep rebroadcasting new versions of the spending transaction, and spending from a transaction that is confirmed.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Or are there other attack vectors you can see that I do not?&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; I think this is fixed by looking at the blockchain.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-07T18:26:09Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsg4r0qzxj0qdwywysdwu7phruyvczpcaxs0q40lnj8egdtjneqwrgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5427fw3</id>
    
      <title type="html">📅 Original date posted:2020-08-04 📝 Original message:Hmm, ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsg4r0qzxj0qdwywysdwu7phruyvczpcaxs0q40lnj8egdtjneqwrgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5427fw3" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsf777t0wllgzuvcn009rkpnzk2dzr7kk4kx992hsuu9vjzgwqv5lsja93fq&#39;&gt;nevent1q…93fq&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-08-04&lt;br/&gt;📝 Original message:Hmm, apologies that little context was provided - this was meant in the context of the current crop of relay-based attacks that have been discovered. As we learned in those contexts, “just handle it when it confirms” doesn’t provide the types of guarantees we were hoping for as placing commitment transactions in mempools can be used to prevent honest nodes from broadcasting the latest state. This implies that HTLC security may be at risk.&lt;br/&gt;&lt;br/&gt;&amp;gt; On Aug 4, 2020, at 00:23, ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; ﻿Good morning Matt,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; While I admit I haven’t analyzed the feasibility, I want to throw one additional design consideration into the ring.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Namely, it would ideally be trivial, at the p2p protocol layer, to relay a transaction to a full node without knowing exactly which input transaction that full node has in its mempool/active chain. This is at least potentially important for systems like lighting where you do not know which counterparty commitment transaction(s) are in a random node’s mempool and you should be able to describe to that node that you are spending then nonetheless.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; This is (obviously) an incredibly nontrivial problem both in p2p protocol complexity and mempool optimization, but it may leave SIGHASH_NOINPUT rather useless for lighting without it.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; The least we could do is think about the consensus design in that context, even if we have to provide an external overlay relay network in order to make lighting transactions relay properly (presumably with miners running such software).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Ah, right.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; A feasible attack, without the above, would be to connect to the fullnode of the victim, and connect to miners separately.&lt;br/&gt;&amp;gt; Then you broadcast to the victim one of the old txes, call it tx A, but you broadcast to the miners a *different* old tx, call it B.&lt;br/&gt;&amp;gt; The victim reacts only to tA, but does not react to B since it does not see B in the mempool.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On the other hand --- what the victim needs to react to is *onchain* confirmed transactions.&lt;br/&gt;&amp;gt; So I think all the victim needs to do, in a Lightning universe utilizing primarily `SIGHASH_NOINPUT`-based mechanisms, is to monitor onchain events and ignore mempool events.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; So if we give fairly long timeouts for our mechanisms, it should be enough, I think, since once a transaction is confirmed its txid does not malleate without a reorg and a `SIGHASH_NOINPUT` signature can then be &amp;#34;locked&amp;#34; to that txid, unless a reorg unconfirms the transaction.&lt;br/&gt;&amp;gt; We only need to be aware of deep reorgs and re-broadcast with a malleated prevout until the tx being spent is deeply confirmed.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In addition, we want to implement scorch-the-earth, keep-bumping-the-fee strategies anyway, so we would keep rebroadcasting new versions of the spending transaction, and spending from a transaction that is confirmed.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Or are there other attack vectors you can see that I do not?&lt;br/&gt;&amp;gt; I think this is fixed by looking at the blockchain.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt; ZmnSCPxj
    </content>
    <updated>2023-06-07T18:26:09Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs96lhjx7q4hvagfaevzuaffl4mmxfk0cg6hm5e8hu9xe239qt0n4szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5sapke3</id>
    
      <title type="html">📅 Original date posted:2020-01-10 📝 Original message:There ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs96lhjx7q4hvagfaevzuaffl4mmxfk0cg6hm5e8hu9xe239qt0n4szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5sapke3" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsggxchyw6x6gvjc4a4y0p7pz6japn8j4sf4nws6v8gxzaa8a9q88sedwy9j&#39;&gt;nevent1q…wy9j&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-01-10&lt;br/&gt;📝 Original message:There are a series of soft-fork designs which have recently been making&lt;br/&gt;good progress towards implementation and future adoption. However, for&lt;br/&gt;various reasons, activation methods therefor have gotten limited&lt;br/&gt;discussion. I&amp;#39;d like to reopen that discussion here.&lt;br/&gt;&lt;br/&gt;It is likely worth revisiting the goals both for soft forks and their&lt;br/&gt;activation methods to start. I&amp;#39;m probably missing some, but some basic&lt;br/&gt;requirements:&lt;br/&gt;&lt;br/&gt;1) Avoid activating in the face of significant, reasonable, and directed&lt;br/&gt;objection. Period. If someone has a well-accepted, reasonable use of&lt;br/&gt;Bitcoin that is working today, have no reason to believe wouldn&amp;#39;t work&lt;br/&gt;long into the future without a change, and which would be made&lt;br/&gt;impossible or significantly more difficult by a change, that change must&lt;br/&gt;not happen. I certainly hope there is no objection on this point (see&lt;br/&gt;the last point for an important caveat that I&amp;#39;m sure everyone will jump&lt;br/&gt;to point out).&lt;br/&gt;&lt;br/&gt;2) Avoid activating within a timeframe which does not make high&lt;br/&gt;node-level-adoption likely. As with all &amp;#34;node&amp;#34; arguments, I&amp;#39;ll note that&lt;br/&gt;I mean &amp;#34;economically-used&amp;#34; nodes, not the thousand or so spy nodes on&lt;br/&gt;Google Cloud and AWS. Rule changes don&amp;#39;t make sense without nodes&lt;br/&gt;enforcing them, whether they happen to be a soft fork, hard fork, or a&lt;br/&gt;blue fork, so activating in a reduced timeframe that doesn&amp;#39;t allow for&lt;br/&gt;large-scale node adoption doesn&amp;#39;t have any value, and may cause other&lt;br/&gt;unintended side effects.&lt;br/&gt;&lt;br/&gt;3) Don&amp;#39;t (needlessly) lose hashpower to un-upgraded miners. As a part of&lt;br/&gt;Bitcoin&amp;#39;s security comes from miners, reducing the hashpower of the&lt;br/&gt;network as a side effect of a rule change is a needless reduction in a&lt;br/&gt;key security parameter of the network. This is why, in recent history,&lt;br/&gt;soft forks required 95% of hashpower to indicate that they have upgraded&lt;br/&gt;and are capable of enforcing the new rules. Further, this is why recent&lt;br/&gt;soft forks have not included changes which would result in a standard&lt;br/&gt;Bitcoin Core instance mining invalid-by-new-rules changes (by relying on&lt;br/&gt;the standardness behavior of Bitcoin Core).&lt;br/&gt;&lt;br/&gt;4) Use hashpower enforcement to de-risk the upgrade process, wherever&lt;br/&gt;possible. As a corollary of the above, one of the primary reasons we use&lt;br/&gt;soft forks is that hashpower-based enforcement of rules is an elegant&lt;br/&gt;way to prevent network splits during the node upgrade process. While it&lt;br/&gt;does not make sense to invest material value in systems protected by new&lt;br/&gt;rules until a significant majority of &amp;#34;economic nodes&amp;#34; is enforcing said&lt;br/&gt;rules, hashpower lets us neatly bridge the gap in time between&lt;br/&gt;activation and then. By having a supermajority of miners enforce the new&lt;br/&gt;rules, attempts at violating the new rules does not result in a&lt;br/&gt;significant network split, disrupting existing users of the system. If&lt;br/&gt;we aren&amp;#39;t going to take advantage of this, we should do a hard fork&lt;br/&gt;instead, with the necessarily slow timescale that entails.&lt;br/&gt;&lt;br/&gt;5) Follow the will of the community, irrespective of individuals or&lt;br/&gt;unreasoned objection, but without ever overruling any reasonable&lt;br/&gt;objection. Recent history also includes &amp;#34;objection&amp;#34; to soft forks in the&lt;br/&gt;form of &amp;#34;this is bad because it doesn&amp;#39;t fix a different problem I want&lt;br/&gt;fixed ASAP&amp;#34;. I don&amp;#39;t think anyone would argue this qualifies as a&lt;br/&gt;reasonable objection to a change, and we should be in a place, as a&lt;br/&gt;community (never as developers or purely one group), to ignore such&lt;br/&gt;objections and make forward progress in spite of them. We don&amp;#39;t make&lt;br/&gt;good engineering decisions by &amp;#34;bundling&amp;#34; unrelated features together to&lt;br/&gt;enable political football and compromise.&lt;br/&gt;&lt;br/&gt;I think BIP 9 (plus a well-crafted softfork) pretty effectively checks&lt;br/&gt;the boxes for #2-4 here, and when done carefully with lots of community&lt;br/&gt;engagement and measurement, can effectively fulfill #1 as well. #5 is,&lt;br/&gt;as I&amp;#39;m sure everyone is aware, where it starts to fall down pretty hard.&lt;br/&gt;&lt;br/&gt;BIP 8 has been proposed as an alternative, largely in response to issues&lt;br/&gt;with #5. However, a naive deployment of it, rather obviously, completely&lt;br/&gt;fails #1, #3, and #4, and, in my view, fails #5 as well by both giving&lt;br/&gt;an impression of, setting a precedent of, and possibly even in practice&lt;br/&gt;increasing the ability of developers to decide the consensus rules of&lt;br/&gt;the system. A BIP 8 deployment that more accurately measures community&lt;br/&gt;support as a prerequisite could arguably fulfill #1 and #5, though I&amp;#39;m&lt;br/&gt;unaware of any concrete proposals on how to accomplish that. Arguably, a&lt;br/&gt;significantly longer activation window could also allow BIP 8 to fulfill&lt;br/&gt;#3 and #4, but only by exploiting the &amp;#34;needlessly&amp;#34; and &amp;#34;wherever&lt;br/&gt;possible&amp;#34; loopholes.&lt;br/&gt;&lt;br/&gt;You may note that, from the point of view of achieving the critical&lt;br/&gt;goals here, BIP 8 is only different from a flag-day activation in that,&lt;br/&gt;if it takes the &amp;#34;happy-path&amp;#34; of activating before the flag day, it looks&lt;br/&gt;like BIP 9, but isn&amp;#39;t guaranteed to. It additionally has the&lt;br/&gt;&amp;#34;nice-to-have&amp;#34; property that activation can occur before the flag-day in&lt;br/&gt;the case of faster miner adoption, though there is a limit of how fast&lt;br/&gt;is useful due to node adoption.&lt;br/&gt;&lt;br/&gt;Thus, to strike a balance between the drawbacks of BIP 8 and BIP 9, the&lt;br/&gt;Great Consensus Cleanup softfork proposal included this text in the&lt;br/&gt;discussion section (with the spec describing a BIP 9 deployment):&lt;br/&gt;&lt;br/&gt;&amp;gt; In spite of some suggestion that other activation methods be used, BIP&lt;br/&gt;&amp;gt; 9 is proposed as ensuring miners have upgraded to enforce new rules is&lt;br/&gt;&amp;gt; an important part of minimizing disruption. While previous BIP 9 soft-&lt;br/&gt;&amp;gt; forks have resulted in political contention, this comparatively-&lt;br/&gt;&amp;gt; unimportant soft-fork provides a good opportunity to attempt to return&lt;br/&gt;&amp;gt; to utilizing BIP 9 to ensure miner upgrade prior to activation, which&lt;br/&gt;&amp;gt; the authors believe is a critical goal. However, if there is broad&lt;br/&gt;&amp;gt; agreement to activate these rules when the BIP 9 expiry time is&lt;br/&gt;&amp;gt; reached, and miners have not yet signaled sufficient level of&lt;br/&gt;&amp;gt; readiness, a later flag-day activation may be merited. For this&lt;br/&gt;&amp;gt; reason, implementations may wish to provide a compatibility option&lt;br/&gt;&amp;gt; which allows flag-day enforcement of these rules without an update.&lt;br/&gt;&lt;br/&gt;Ultimately, through admittedly rather limited discussion, I still like&lt;br/&gt;this model (though I cannot claim it as my own, the original proposal&lt;br/&gt;came from Greg Maxwell). BIP 9 only falls apart in case of unreasonable&lt;br/&gt;objection, which, naturally, should carry a high bar to ignore, given we&lt;br/&gt;have to have some level of agreement that it is, in fact, unreasonable&lt;br/&gt;(or untargeted). While I admit this is a possibility, I both find it&lt;br/&gt;less likely than in previous soft-forks, and even if it is the case, it&lt;br/&gt;only slows down the process, it doesn&amp;#39;t necessarily stop it. In the case&lt;br/&gt;that it does fail, BIP 9 process, in fact, provides a good learning&lt;br/&gt;opportunity as to the level of community readiness and desire for a&lt;br/&gt;given change. While we can (and should, and are) learning a lot about&lt;br/&gt;community readiness for, and acceptability of a change through outreach&lt;br/&gt;and discussion, there is something about a change with a timeframe that&lt;br/&gt;forces people to more carefully consider it.&lt;br/&gt;&lt;br/&gt;Thus, as something a bit more concrete, I think an activation method&lt;br/&gt;which sets the right precedent and appropriately considers the above&lt;br/&gt;goals, would be:&lt;br/&gt;&lt;br/&gt;1) a standard BIP 9 deployment with a one-year time horizon for&lt;br/&gt;activation with 95% miner readiness,&lt;br/&gt;2) in the case that no activation occurs within a year, a six month&lt;br/&gt;quieting period during which the community can analyze and discussion&lt;br/&gt;the reasons for no activation and,&lt;br/&gt;3) in the case that it makes sense, a simple command-line/bitcoin.conf&lt;br/&gt;parameter which was supported since the original deployment release&lt;br/&gt;would enable users to opt into a BIP 8 deployment with a 24-month&lt;br/&gt;time-horizon for flag-day activation (as well as a new Bitcoin Core&lt;br/&gt;release enabling the flag universally).&lt;br/&gt;&lt;br/&gt;This provides a very long time horizon for more standard activation,&lt;br/&gt;while still ensuring the goals in #5 are met, even if, in those cases,&lt;br/&gt;the time horizon needs to be significantly extended to meet the goals of&lt;br/&gt;#3. Developing Bitcoin is not a race. If we have to, waiting 42 months&lt;br/&gt;ensures we&amp;#39;re not setting a negative precedent that we&amp;#39;ll come to regret&lt;br/&gt;as Bitcoin continues to grow.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;Thanks also to AJ for feedback on an earlier version of this rant.
    </content>
    <updated>2023-06-07T18:22:13Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs0z9zltmsy0w9udxazzyud05788t3wrvm4u50kmg72pl25anfvghgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ft9cu8</id>
    
      <title type="html">📅 Original date posted:2019-11-10 📝 Original message:Seems ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs0z9zltmsy0w9udxazzyud05788t3wrvm4u50kmg72pl25anfvghgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ft9cu8" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsyryy8lp5gljsnuhzzjfr6387mnus2d35hz66jndu3fua2v8apv4sk9gagg&#39;&gt;nevent1q…gagg&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-11-10&lt;br/&gt;📝 Original message:Seems good to me, though I&amp;#39;m curious if we have any (even vaguely)&lt;br/&gt;immediate need for non-32/20-byte Segwit outputs? It seems to me this&lt;br/&gt;can be resolved by just limiting the size of bech32 outputs and calling&lt;br/&gt;it a day - adding yet another address format has very significant&lt;br/&gt;ecosystem costs, and if we don&amp;#39;t anticipate needing it for 5 years (if&lt;br/&gt;at all)...lets not jump to pay that cost.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 11/10/19 9:51 PM, Pieter Wuille via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; On Thu, Nov 7, 2019, 18:16 David A. Harding &amp;lt;dave at dtrt.org&lt;br/&gt;&amp;gt; &amp;lt;mailto:dave at dtrt.org&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     On Thu, Nov 07, 2019 at 02:35:42PM -0800, Pieter Wuille via&lt;br/&gt;&amp;gt;     bitcoin-dev wrote:&lt;br/&gt;&amp;gt;     &amp;gt; In the current draft, witness v1 outputs of length other&lt;br/&gt;&amp;gt;     &amp;gt; than 32 remain unencumbered, which means that for now such an&lt;br/&gt;&amp;gt;     &amp;gt; insertion or erasure would result in an output that can be spent by&lt;br/&gt;&amp;gt;     &amp;gt; anyone. If that is considered unacceptable, it could be prevented by&lt;br/&gt;&amp;gt;     &amp;gt; for example outlawing v1 witness outputs of length 31 and 33.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Either a consensus rule or a standardness rule[1] would require anyone&lt;br/&gt;&amp;gt;     using a bech32 library supporting v1&#43; segwit to upgrade their library.&lt;br/&gt;&amp;gt;     Otherwise, users of old libraries will still attempt to pay v1 witness&lt;br/&gt;&amp;gt;     outputs of length 31 or 33, causing their transactions to get rejected&lt;br/&gt;&amp;gt;     by newer nodes or get stuck on older nodes.  This is basically the&lt;br/&gt;&amp;gt;     problem #15846[2] was meant to prevent.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     If we&amp;#39;re going to need everyone to upgrade their bech32 libraries&lt;br/&gt;&amp;gt;     anyway, I think it&amp;#39;s probably best that the problem is fixed in the&lt;br/&gt;&amp;gt;     bech32 algorithm rather than at the consensus/standardness layer.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Admittedly, this affecting development of consensus or standardness&lt;br/&gt;&amp;gt; rules would feel unnatural. In addition, it also has the potential&lt;br/&gt;&amp;gt; downside of breaking batched transactions in some settings (ask an&lt;br/&gt;&amp;gt; exchange for a withdrawal to a invalid/nonstandard version, which they&lt;br/&gt;&amp;gt; batch with other outputs that then get stuck because the transaction&lt;br/&gt;&amp;gt; does not go through).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; So, Ideally this is indeed solved entirely on the bech32/address&lt;br/&gt;&amp;gt; encoding side of things. I did not initially expect the discussion here&lt;br/&gt;&amp;gt; to go in that direction, as that could come with all problems that&lt;br/&gt;&amp;gt; rolling out a new address scheme in the first place has. However, there&lt;br/&gt;&amp;gt; may be a way to mostly avoid those problems for the time being, while&lt;br/&gt;&amp;gt; also not having any impact on consensus or standardness rules.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I believe that most new witness programs we&amp;#39;d want to introduce anyway&lt;br/&gt;&amp;gt; will be 32 bytes in the future, if the option exists. It&amp;#39;s enough for a&lt;br/&gt;&amp;gt; 256-bit hash (which has up to 128-bit collision security, and more than&lt;br/&gt;&amp;gt; 128 bits is hard to achieve in Bitcoin anyway), or for X coordinates&lt;br/&gt;&amp;gt; directly. Either of those, plus a small version number to indicate the&lt;br/&gt;&amp;gt; commitment structure should be enough to encode any spendability&lt;br/&gt;&amp;gt; condition we&amp;#39;d want with any achievable security level.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; With that observation, I propose the following. We amend BIP173 to be&lt;br/&gt;&amp;gt; restricted to witness programs of length 20 or 32 (but still support&lt;br/&gt;&amp;gt; versions other than 0). This seems like it may be sufficient for several&lt;br/&gt;&amp;gt; years, until version numbers run out. I believe that some wallet&lt;br/&gt;&amp;gt; implementations already restrict sending to known versions only, which&lt;br/&gt;&amp;gt; means effectively no change for them in addition to normal deployment.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In the mean time we develop a variant of bech32 with better&lt;br/&gt;&amp;gt; insertion/erasure detecting properties, which will be used for witness&lt;br/&gt;&amp;gt; programs of length different from 20 or 32. If we make sure that there&lt;br/&gt;&amp;gt; are never two distinct valid checksum algorithms for the same output, I&lt;br/&gt;&amp;gt; don&amp;#39;t believe there is any need for a new address scheme or a different&lt;br/&gt;&amp;gt; HRP. The latter is something I&amp;#39;d strongly try to avoid anyway, as it&lt;br/&gt;&amp;gt; would mean additional cognitive load on users because of another&lt;br/&gt;&amp;gt; visually distinct address style, plus more logistical overhead&lt;br/&gt;&amp;gt; (coordination and keeping track of 2 HRPs per chain).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I believe improving bech32 itself is preferable over changing the way&lt;br/&gt;&amp;gt; segwit addresses use bech32, as that can be done without making&lt;br/&gt;&amp;gt; addresses even longer. Furthermore, the root of the issue is in bech32,&lt;br/&gt;&amp;gt; and it is simplest to fix things there. The easiest solution is to&lt;br/&gt;&amp;gt; simply change the constant 1 that is xor&amp;#39;ed into the checksum before&lt;br/&gt;&amp;gt; encoding it to a 30-bit number. This has the advantage that a single&lt;br/&gt;&amp;gt; checksum is never valid for both algoritgms simultaneously. Another&lt;br/&gt;&amp;gt; approach is to implicitly including the length into the checksummed data.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; What do people think?&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; -- &lt;br/&gt;&amp;gt; Pieter&lt;br/&gt;&amp;gt; &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;
    </content>
    <updated>2023-06-07T18:21:37Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsyuuywy3qnfhcyvegjzmghgv7707kv224dyd8lv4nytmk5j40r7aqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5gtq5zl</id>
    
      <title type="html">📅 Original date posted:2019-07-27 📝 Original message:This ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsyuuywy3qnfhcyvegjzmghgv7707kv224dyd8lv4nytmk5j40r7aqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5gtq5zl" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs0fly82mtrcfftpcvnu9atqg20fdwvp0apnt6e02dqm7hcehvhhfqzjlgp8&#39;&gt;nevent1q…lgp8&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-07-27&lt;br/&gt;📝 Original message:This conversation went off the rails somewhat. I don&amp;#39;t think there&amp;#39;s any immediate risk of NODE_BLOOM peers being unavailable. This is a defaults change, not a removal of the code to serve BIP 37 peers (nor would I suggest removing said code while people still want to use them - the maintenance burden isn&amp;#39;t much). Looking at historical upgrade cycles, ignoring any other factors, there will be a large number of nodes serving NODE_BLOOM for many years.&lt;br/&gt;&lt;br/&gt;Even more importantly, if you need them, run a node or two. As long as no one is exploiting the issues with them such a node isn&amp;#39;t *too* expensive. Or don&amp;#39;t, I guarantee you chainanalysis or some competitor of theirs will very very happily serve bloom-filtered clients as long as such clients want to deanonymize themselves. We already see a plurality of nodes on the network are clearly not run-of-the-mill Core nodes, many of which are likely deanonimization efforts.&lt;br/&gt;&lt;br/&gt;In some cases BIP 137 is a replacement, in some cases, indeed, it is not. I agree at a protocol level we shouldn&amp;#39;t be passing judgement about how users wish to interact with the Bitcoin system (aside from not putting our own, personal, effort into building such things) but that isn&amp;#39;t what&amp;#39;s happening here. This is an important DoS fix for the average node, and I don&amp;#39;t really understand the argument that this is going to break existing BIP 37 wallets, but if it makes you feel any better I can run some beefy BIP 37 nodes.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;&amp;gt; On Jul 26, 2019, at 06:04, Jonas Schnelli via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; 1) It causes way too much traffic for mobile users, and likely even too&lt;br/&gt;&amp;gt;&amp;gt; much traffic for fixed lines in not so developed parts of the world.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Yes. It causes more traffic than BIP37.&lt;br/&gt;&amp;gt; Basic block filters for current last ~7 days (1008 blocks) are about 19MB (just the filters).&lt;br/&gt;&amp;gt; On top, you will probably fetch a handful of irrelevant blocks due to the FPs and due to true relevant txns.&lt;br/&gt;&amp;gt; A over-the-thumb estimation: ~25MB per week of catch-up.&lt;br/&gt;&amp;gt; If you where offline for a month: ~108MB&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Thats certainly more then BIP37 BF (measured 1.6MB total traffic with android schildbach wallet restore blockchain for 8 week [7 weeks headers, 1week merkleblocks]).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; But lets look at it like this: for an additional, say 25MB per week (maybe a bit more), you get the ability to filter blocks without depending on serving peers who may compromise your financial privacy.&lt;br/&gt;&amp;gt; Also, if you keep the filters, further rescans do consume the same or less bandwidth than BF BIP37.&lt;br/&gt;&amp;gt; In other words: you have the chance to potentially increase privacy by consuming bandwidth in the range of a single audio podcast per week.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I would say the job of protocol developers is protect users privacy where it’s possible (as a default).&lt;br/&gt;&amp;gt; It’s probably a debatable point wether 25MB per week of traffic is worth a potential increase in privacy, though I absolutely think 25MB/week is an acceptable tradeoff.&lt;br/&gt;&amp;gt; Saving traffic is possible by using BIP37 or stratum/electrum… but developers should make sure users are __warned about the consequences__!&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Additionally, it looks like, peer operators are not endless being willing to serve – for free – a CPU/disk intense service with no benefits for the network. I would question wether a decentralised form of BIP37 is sustainable in the long run (if SPV wallet provider bootstrap a net range of NODE_BLOOM peers to make it more reliable on the network would be snake-oil).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; 2) It filters blocks only. It doesn&amp;#39;t address unconfirmed transactions.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Well, unconfirmed transaction are uncertain for various reasons.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; BIP158 won&amp;#39;t allow you to filter the mempool.&lt;br/&gt;&amp;gt; But as soon as you are connected to the network, you may fetch tx with inv/getdata and pick out the relevant ones (causes also traffic).&lt;br/&gt;&amp;gt; Unclear and probably impossible with the current BIP158 specs to fetch transactions that are not in active relay and are not in a block (mempool txns, at least this is true with the current observed relay tactics).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; 3) Afaik, it enforces/encourages address re-use. This stems from the&lt;br/&gt;&amp;gt;&amp;gt; fact that the server decides on the filter and in particular on the&lt;br/&gt;&amp;gt;&amp;gt; false positive rate. On wallets with many addresses, a hardcoded filter&lt;br/&gt;&amp;gt;&amp;gt; will be too blurry and thus each block will be matched. So wallets that&lt;br/&gt;&amp;gt;&amp;gt; follow the &amp;#34;one address per incoming payment&amp;#34; pattern (e.g. HD wallets)&lt;br/&gt;&amp;gt;&amp;gt; at some point will be forced to wrap their key chains back to the&lt;br/&gt;&amp;gt;&amp;gt; beginning. If I&amp;#39;m wrong on this one please let me know.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I’m probably the wrong guy to ask (haven’t made the numbers) but last time I rescanned a Core wallet (in my dev branch) with block filters (and a Core wallet has &amp;gt;2000 addresses by default) it fetched a low and acceptable amount of false positive blocks.&lt;br/&gt;&amp;gt; (Maybe someone who made the numbers step in here.)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Though, large wallets – AFAIK – also operate badly with BIP37.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; 4) The filters are not yet committed to the blockchain. Until that&lt;br/&gt;&amp;gt;&amp;gt; happens we&amp;#39;d have to trust a server to provide correct filters.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I wouldn’t say so. It’s on a similar level than BIP37.&lt;br/&gt;&amp;gt; BIP37 is not – and can not – be committed to the blockchain.&lt;br/&gt;&amp;gt; You fully trust the peer that it won’t…&lt;br/&gt;&amp;gt; a) create fake unconfirmed transactions (would be the same if a BIP158 wallet would show you unconfirmed transaction)&lt;br/&gt;&amp;gt; b) lies by omission (you will miss relevant transactions, eventually swipe your wallet and loose coins)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; IMO, the point b) is true for BIP37 and BIP158 (as long as not commited).&lt;br/&gt;&amp;gt; In both cases, you can reduce the trust by comparing between peers / filter-providers.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; b) is conceptually solvable with a soft-fork (commitment) in BIP158 (not with BIP37).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Additionally, block-filters will, very likely, be useful for other features (load/rescan an [old] wallet on a prune peer that has the filters constructed).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; There is probably no clear answer like „X is better than Y“.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Personally I would like to see developers being more honest/transparent to users about the implications of the used filtering,... and giving them choices.&lt;br/&gt;&amp;gt; Imagine a user can choose between „Electrum / BIP37 / BIP158“ depending on his needs for privacy and availability of bandwidth. Eventually also taking the future usage of this wallet (will he load old private keys, will he receive money daily, etc.) into account.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Plus, full node hardware appliances that run at home (or in a trusted environment) are solving many of these issues plus adding a bunch of great features – if done right.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; /jonas&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;-------------- 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/20190727/9c417a9f/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20190727/9c417a9f/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:19:37Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfdazshyvm46zq8cgdu9lmfhmlj7r4hv4yfwn6tkz7jm7t4svde3qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm56374nr</id>
    
      <title type="html">📅 Original date posted:2019-07-20 📝 Original message:Just a ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfdazshyvm46zq8cgdu9lmfhmlj7r4hv4yfwn6tkz7jm7t4svde3qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm56374nr" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsfnp9qdmrsr28k4snh8e9xyaq6fkw3ttusk87wnmsrrq9hlkqeamq8qncgk&#39;&gt;nevent1q…ncgk&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-07-20&lt;br/&gt;📝 Original message:Just a quick heads-up for those watching the list who may be using it -&lt;br/&gt;in the next Bitcoin Core release bloom filter serving will be turned off&lt;br/&gt;by default. This has been a long time coming, it&amp;#39;s been an option for&lt;br/&gt;many releases and has been a well-known DoS vector for some time.&lt;br/&gt;As other DoS vectors have slowly been closed, this has become&lt;br/&gt;increasingly an obvious low-hanging fruit. Those who are using it should&lt;br/&gt;already have long been filtering for NODE_BLOOM-signaling nodes, and I&lt;br/&gt;don&amp;#39;t anticipate those being gone any time particularly soon.&lt;br/&gt;&lt;br/&gt;See-also PR at &lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/16152&#34;&gt;https://github.com/bitcoin/bitcoin/pull/16152&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;The release notes will liekly read:&lt;br/&gt;&lt;br/&gt;P2P Changes&lt;br/&gt;-----------&lt;br/&gt;- The default value for the -peerbloomfilters configuration option (and,&lt;br/&gt;thus, NODE_BLOOM support) has been changed to false.&lt;br/&gt;  This resolves well-known DoS vectors in Bitcoin Core, especially for&lt;br/&gt;nodes with spinning disks. It is not anticipated that&lt;br/&gt;  this will result in a significant lack of availability of&lt;br/&gt;NODE_BLOOM-enabled nodes in the coming years, however, clients&lt;br/&gt;  which rely on the availability of NODE_BLOOM-supporting nodes on the&lt;br/&gt;P2P network should consider the process of migrating&lt;br/&gt;  to a more modern (and less trustful and privacy-violating) alternative&lt;br/&gt;over the coming years.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-07T18:19:34Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs9tjxlesajfqrh2lrmf7pd0268m0ckn0c6k5qtwnl3gnvdje5ggugzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm55sgpvv</id>
    
      <title type="html">📅 Original date posted:2019-07-22 📝 Original message:Hey ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs9tjxlesajfqrh2lrmf7pd0268m0ckn0c6k5qtwnl3gnvdje5ggugzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm55sgpvv" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsf0m3hr6khh23h55kfypt9alw8qs5xjk72vq2z8aeq5dhaq4afx6qddxcmh&#39;&gt;nevent1q…xcmh&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-07-22&lt;br/&gt;📝 Original message:Hey Andreas,&lt;br/&gt;&lt;br/&gt;I think maybe some of the comments here were misunderstood - I don&amp;#39;t&lt;br/&gt;anticipate that most people will change their defaults, indeed, but&lt;br/&gt;given the general upgrade cycles we&amp;#39;ve seen on the network over the&lt;br/&gt;entire course of Bitcoin&amp;#39;s history, there&amp;#39;s little reason to believe&lt;br/&gt;that many nodes with NODE_BLOOM publicly accessible will be around for&lt;br/&gt;at least three or four years to come, though obviously any conscious&lt;br/&gt;effort by folks who need those services to run nodes could extend that&lt;br/&gt;significantly.&lt;br/&gt;&lt;br/&gt;As for the DoS issues, a super old Proof-of-Concept of the I/O variant&lt;br/&gt;is here: &lt;a href=&#34;https://github.com/petertodd/bloom-io-attack&#34;&gt;https://github.com/petertodd/bloom-io-attack&lt;/a&gt; though CPU DoS&lt;br/&gt;attacks are also possible that use high hash counts to fill a node&amp;#39;s CPU&lt;br/&gt;usage (you can pretty trivially see when a bloom-based peer connects to&lt;br/&gt;you just by looking at top...).&lt;br/&gt;&lt;br/&gt;Finally, regarding alternatives, the filter-generation code for BIP&lt;br/&gt;157/158 has been in Bitcoin Core for some time, though the P2P serving&lt;br/&gt;side of things appears to have lost any champions working on it. I&lt;br/&gt;presume one of the Lightning folks will eventually, given they appear to&lt;br/&gt;be requiring their users connect to a handful of their own servers right&lt;br/&gt;now, but if you really need it, its likely not a ton of work to pipe&lt;br/&gt;them through.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 7/21/19 10:56 PM, Andreas Schildbach via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; An estimated 10&#43; million wallets depend on that NODE_BLOOM to be&lt;br/&gt;&amp;gt; updated. So far, I haven&amp;#39;t heard of an alternative, except reading all&lt;br/&gt;&amp;gt; transactions and full blocks.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; It goes without saying pulling the rug under that many wallets is a&lt;br/&gt;&amp;gt; disastrous idea for the adoption of Bitcoin.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; well-known DoS vectors&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I asked many people, even some &amp;#34;core developers&amp;#34; at meetings, but nobody&lt;br/&gt;&amp;gt; ever was able to explain the DoS vector. I think this is just a myth.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Yes, you can set an overly blurry filter and thus cause useless traffic,&lt;br/&gt;&amp;gt; but it never exceeds just drinking from the full firehose (which this&lt;br/&gt;&amp;gt; change doesn&amp;#39;t prohibit). So where is the point? An attacker will just&lt;br/&gt;&amp;gt; switch filtering off, or in fact has never used it.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; It is not anticipated that&lt;br/&gt;&amp;gt;&amp;gt; this will result in a significant lack of availability of&lt;br/&gt;&amp;gt;&amp;gt; NODE_BLOOM-enabled nodes in the coming years&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Why don&amp;#39;t you anticipate that? People almost never change defaults,&lt;br/&gt;&amp;gt; especially if it&amp;#39;s not for their own immediate benefit. At the same&lt;br/&gt;&amp;gt; time, release notes in general recommend updating to the latest version.&lt;br/&gt;&amp;gt; I *do* anticipate this will reduce the number of nodes usable by a large&lt;br/&gt;&amp;gt; enough amount so that the feature will become unstable.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; clients&lt;br/&gt;&amp;gt;&amp;gt; which rely on the availability of NODE_BLOOM-supporting nodes on the&lt;br/&gt;&amp;gt;&amp;gt; P2P network should consider the process of migrating&lt;br/&gt;&amp;gt;&amp;gt; to a more modern (and less trustful and privacy-violating) alternative&lt;br/&gt;&amp;gt;&amp;gt; over the coming years.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; There is no such alternative.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I strongly recommend postponing this change until an alternative exists&lt;br/&gt;&amp;gt; and then give developers enough time to implement, test and roll out.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I also think as long as we don&amp;#39;t have an alternative, we should improve&lt;br/&gt;&amp;gt; the current filtering for segwit. E.g. testing the scripts themselves&lt;br/&gt;&amp;gt; and each scriptPubKey spent by any input against the filter would do,&lt;br/&gt;&amp;gt; and it also fixes the main privacy issue with server-side filtering&lt;br/&gt;&amp;gt; (wallets have to add two items per address to the filter).&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;
    </content>
    <updated>2023-06-07T18:19:34Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsyuphn8t5j4ntm83gyr4t5cmmymr00a69zxnhztg5gkkzshfpju8szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5lfuf43</id>
    
      <title type="html">📅 Original date posted:2019-03-12 📝 Original message:Note ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsyuphn8t5j4ntm83gyr4t5cmmymr00a69zxnhztg5gkkzshfpju8szyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5lfuf43" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqszcdg20g5xs08a69ke6p0fp79m056qwqqqp5fz2u7vhncjsl6z68s6q8jhf&#39;&gt;nevent1q…8jhf&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-03-12&lt;br/&gt;📝 Original message:Note that even your carve-outs for OP_NOP is not sufficient here - if you were using nSequence to tag different pre-signed transactions into categories (roughly as you suggest people may want to do with extra sighash bits) then their transactions could very easily have become un-realistically-spendable. The whole point of soft forks is that we invalidate otherwise-unused bits of the protocol. This does not seem inconsistent with the proposal here.&lt;br/&gt;&lt;br/&gt;&amp;gt; On Mar 9, 2019, at 13:29, Russell O&amp;#39;Connor &amp;lt;roconnor at blockstream.io&amp;gt; wrote:&lt;br/&gt;&amp;gt; Bitcoin has *never* made a soft-fork, since the time of Satoishi, that invalidated transactions that send secured inputs to secured outputs (excluding uses of OP_NOP1-OP_NOP10).
    </content>
    <updated>2023-06-07T18:16:47Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs97n563a374wtu8sark06arwz6meerp7nlutl92k6l657r6k94l2gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ftxpmj</id>
    
      <title type="html">📅 Original date posted:2019-03-07 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs97n563a374wtu8sark06arwz6meerp7nlutl92k6l657r6k94l2gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ftxpmj" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsxy63uuq72zvw2sr2l96tkufa9fmcgugjjktlzezwclusa2wntthg9f80y5&#39;&gt;nevent1q…80y5&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-03-07&lt;br/&gt;📝 Original message:Replies inline.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 3/7/19 3:03 PM, Russell O&amp;#39;Connor wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     * OP_CODESEPARATOR in non-BIP 143 scripts fails the script validation.&lt;br/&gt;&amp;gt;     This includes OP_CODESEPARATORs in unexecuted branches of if&lt;br/&gt;&amp;gt;     statements,&lt;br/&gt;&amp;gt;     similar to other disabled opcodes, but unlike OP_RETURN.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; OP_CODESEPARATOR is the only mechanism available that allows users to &lt;br/&gt;&amp;gt; sign which particular branch they are authorizing for within scripts &lt;br/&gt;&amp;gt; that have multiple possible conditions that reuse the same public key.&lt;br/&gt;&lt;br/&gt;This is true, and yet it does not appear to actually be practically &lt;br/&gt;usable. Thus far, despite a ton of effort, I have not yet seen a &lt;br/&gt;practical use-case for OP_CODESEPARATOR (except for one example of it &lt;br/&gt;being used to make SegWit scripts ever-so-slightly more effecient in &lt;br/&gt;TumbleBit, hence why this BIP does not propose disabling it for SegWit).&lt;br/&gt;&lt;br/&gt;&amp;gt; Because of P2SH you cannot know that no one is currently using this &lt;br/&gt;&amp;gt; feature.  Activating a soft-fork as describe above means these sorts of &lt;br/&gt;&amp;gt; funds would be permanently lost.  It is not acceptable to risk people&amp;#39;s &lt;br/&gt;&amp;gt; money like this.&lt;br/&gt;&lt;br/&gt;(1) It has been well documented again and again that there is desire to &lt;br/&gt;remove OP_CODESEPARATOR, (2) it is well-documented OP_CODESEPARATOR in &lt;br/&gt;non-segwit scripts represents a rather significant vulnerability in &lt;br/&gt;Bitcoin today, and (3) lots of effort has gone into attempting to find &lt;br/&gt;practical use-cases for OP_CODESEPARATOR&amp;#39;s specific construction, with &lt;br/&gt;no successes as of yet. I strongly, strongly disagree that the &lt;br/&gt;highly-unlikely remote possibility that someone created something before &lt;br/&gt;which could be rendered unspendable is sufficient reason to not fix a &lt;br/&gt;vulnerability in Bitcoin today.&lt;br/&gt;&lt;br/&gt;&amp;gt; I suggest an alternative whereby the execution of OP_CODESEPARATOR &lt;br/&gt;&amp;gt; increases the transactions weight suitably as to temper the &lt;br/&gt;&amp;gt; vulnerability caused by it.  Alternatively there could be some sort of &lt;br/&gt;&amp;gt; limit (maybe 1) on the maximum number of OP_CODESEPARATORs allowed to be &lt;br/&gt;&amp;gt; executed per script, but that would require an argument as to why &lt;br/&gt;&amp;gt; exceeding that limit isn&amp;#39;t reasonable.&lt;br/&gt;&lt;br/&gt;You could equally argue, however, that any such limit could render some &lt;br/&gt;moderately-large transaction unspendable, so I&amp;#39;m somewhat skeptical of &lt;br/&gt;this argument. Note that OP_CODESEPARATOR is non-standard, so getting &lt;br/&gt;them mined is rather difficult in any case.
    </content>
    <updated>2023-06-07T18:16:45Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs8znqrqzch088r9ltp078dp9ghxhywrtkdk3zkls8krsjpxrcazkgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5l2ezkm</id>
    
      <title type="html">📅 Original date posted:2019-03-06 📝 Original message:The ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs8znqrqzch088r9ltp078dp9ghxhywrtkdk3zkls8krsjpxrcazkgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5l2ezkm" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsqlpwk7kdxc8gz05znvzp2zrd3hxprhrpcfj4ywphk66lgmh84rdqjydt3j&#39;&gt;nevent1q…dt3j&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-03-06&lt;br/&gt;📝 Original message:The following is a proposed BIP to soft-fork out some oddities in the &lt;br/&gt;current Bitcoin consensus rules, resolving several vulnerabilities, in &lt;br/&gt;addition to fixing the timewarp vulnerability. I&amp;#39;d like to ask the BIP &lt;br/&gt;editor to assign a BIP number.&lt;br/&gt;&lt;br/&gt;The latest version of the BIP can be found at &lt;br/&gt;&lt;a href=&#34;https://github.com/TheBlueMatt/bips/blob/cleanup-softfork/bip-XXXX.mediawiki&#34;&gt;https://github.com/TheBlueMatt/bips/blob/cleanup-softfork/bip-XXXX.mediawiki&lt;/a&gt; &lt;br/&gt;(a text copy is included below).&lt;br/&gt;&lt;br/&gt;Some things that may be worth discussing:&lt;br/&gt;&lt;br/&gt;  * Note that the activation times in this BIP may result in the &lt;br/&gt;activation of the new soft-fork rules on the same block as the scheduled &lt;br/&gt;block-subsidy halving. Sadly, avoiding this either requires a &lt;br/&gt;significantly compressed BIP activation time (which may result in the &lt;br/&gt;rules not activating for benign reasons) or beginning the activation &lt;br/&gt;process significantly into the future.&lt;br/&gt;&lt;br/&gt;  * The BIP proposes allowing timestamps on the difficulty-adjustment &lt;br/&gt;block to go backwards by 600 seconds which has the nice property of &lt;br/&gt;making the difficulty-adjustment algorithm target almost exactly one &lt;br/&gt;block per 600 seconds in the worst-case (where miners are attempting to &lt;br/&gt;exploit the timewarp attack), while avoiding any potential hardware &lt;br/&gt;bricking (assuming upgrades on the part of mining pools). Alternatively, &lt;br/&gt;some have proposed allowing the time to go backwards 7200 seconds, which &lt;br/&gt;introduces some small level of inflation in the case of a miner attack &lt;br/&gt;(though much less than we&amp;#39;ve had historically simply due to the rapidly &lt;br/&gt;growing hashrate) but avoids any requirements for upgrades as the &lt;br/&gt;existing 7200-second-in-the-future check implies miners will only ever &lt;br/&gt;build on blocks for which they can set the next timestamp to their &lt;br/&gt;current time.&lt;br/&gt;&lt;br/&gt;  * The 4th change (making non-standard signature hash types invalid) &lt;br/&gt;may be worth discussing. In order to limit the number of potential &lt;br/&gt;signature hashes which could be used per-input (allowing us to cache &lt;br/&gt;them to avoid re-calculation), we can disable non-standard sighash &lt;br/&gt;types. Alternatively, however, most of the same effect could be achieved &lt;br/&gt;by caching the just-before-the-last-byte sighash midstate and hashing &lt;br/&gt;only the last byte when a checking signatures. Still, them having been &lt;br/&gt;non-standard for many years makes me doubt there is much risk involved &lt;br/&gt;in disabling them, and I don&amp;#39;t see much potential use-case for keeping &lt;br/&gt;them around so I&amp;#39;d like to just remove them.&lt;br/&gt;&lt;br/&gt;As for why the timewarp vulnerability should (IMO rather obviously) be &lt;br/&gt;fixed, it seems rather clear that the only potential use for exploiting &lt;br/&gt;it would be either to inflate the currency supply maliciously by miners &lt;br/&gt;or to fork in what amounts to extension blocks. As for why extension &lt;br/&gt;blocks are almost certainly not the right approach to such changes, its &lt;br/&gt;likely worth reading this old post: &lt;br/&gt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-January/013510.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-January/013510.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;pre&amp;gt;&lt;br/&gt;BIP: XXXX&lt;br/&gt;Layer: Consensus (soft fork)&lt;br/&gt;Title: The Great Consensus Cleanup&lt;br/&gt;Author: Matt Corallo&lt;br/&gt;Status: Draft&lt;br/&gt;Type: Standards Track&lt;br/&gt;Created: 2019-01-28&lt;br/&gt;License: PD&lt;br/&gt;&amp;lt;/pre&amp;gt;&lt;br/&gt;&lt;br/&gt;==Abstract==&lt;br/&gt;&lt;br/&gt;This BIP defines a set of consensus changes which reduce the complexity &lt;br/&gt;of Bitcoin implementations and improve worst-case validation times, &lt;br/&gt;fixing a number of long-standing vulnerabilities.&lt;br/&gt;&lt;br/&gt;==Motivation==&lt;br/&gt;&lt;br/&gt;BIP 143 significantly improved certain aspects of Bitcoin&amp;#39;s consensus &lt;br/&gt;rules, key to this being changes to the format of the data which is &lt;br/&gt;hashed and signed in CHECKSIG operations during script execution. &lt;br/&gt;However, several improvements were left for later forks to avoid &lt;br/&gt;bloating the original activation with unrelated changes. This BIP seeks &lt;br/&gt;to make some of these changes as well as a few other simplifications. &lt;br/&gt;Specifically, this BIP proposes the following changes:&lt;br/&gt;&lt;br/&gt;* Worst-case validation time for non-BIP 143 transactions has long been &lt;br/&gt;considered a significant vulnerability. To address this, both &lt;br/&gt;OP_CODESEPARATOR in non-BIP 143 scripts and FindAndDelete fail script &lt;br/&gt;validation, among other cleanups. This drastically reduces worst-case &lt;br/&gt;validation time for non-BIP 143 transactions by enabling Signature Hash &lt;br/&gt;caching on a per-input basis. While validation time of large, simple &lt;br/&gt;non-BIP 143 transactions can still be excessively high on their own, &lt;br/&gt;removing these multipliers goes a long way towards resolving the issue.&lt;br/&gt;&lt;br/&gt;* By further restricting nTime fields on difficulty adjustment blocks, &lt;br/&gt;we propose fixing the long-standing &amp;#34;timewarp&amp;#34; inflation vulnerability &lt;br/&gt;in Bitcoin&amp;#39;s difficulty adjustment without risking existing mining &lt;br/&gt;hardware becoming unusable. This limits the worst-case difficulty &lt;br/&gt;adjustment target in case of attack from the current exponential growth, &lt;br/&gt;to once every roughly 600 seconds. Note that no change in default &lt;br/&gt;behavior is proposed, keeping the existing target of one block every &lt;br/&gt;~600.6 seconds[1] in the common case (ie we limit the attack scenario to &lt;br/&gt;about a 0.1% inflation rate, much smaller than the historical inflation &lt;br/&gt;rate due to rapid hashrate growth).&lt;br/&gt;&lt;br/&gt;* Several vulnerabilities where Bitcoin clients needed to check for &lt;br/&gt;specific cases of malleation in the merkle tree construction are &lt;br/&gt;resolved by making certain transaction sizes invalid.&lt;br/&gt;&lt;br/&gt;==Specification==&lt;br/&gt;&lt;br/&gt;Upon activation, the following rules will be enforced on all new blocks:&lt;br/&gt;&lt;br/&gt;* scriptSigs which contain non-push opcodes fail the script validation. &lt;br/&gt;Push opcodes are OP_0 - OP_1NEGATE and OP_1 - OP_16. Note that this &lt;br/&gt;implies any opcodes in scriptSigs greater than 0x60 will fail script &lt;br/&gt;validation, in addition to OP_RESERVED (0x50, which already fails script &lt;br/&gt;execution in executed branches, though all branches are now guaranteed &lt;br/&gt;to execute).&lt;br/&gt;&lt;br/&gt;* OP_CODESEPARATOR in non-BIP 143 scripts fails the script validation. &lt;br/&gt;This includes OP_CODESEPARATORs in unexecuted branches of if statements, &lt;br/&gt;similar to other disabled opcodes, but unlike OP_RETURN.&lt;br/&gt;&lt;br/&gt;* When validating signatures in non-BIP 143 scripts, if the scriptPubKey &lt;br/&gt;being executed contains, pushed as a single element using minimal &lt;br/&gt;PUSHDATA, a signature stack element being validated, the script fails &lt;br/&gt;validation. For the avoidance of doubt, any FindAndDelete matches result &lt;br/&gt;in script execution failure.&lt;br/&gt;&lt;br/&gt;* If the sighash type byte (ie last byte in a signature being evaluated &lt;br/&gt;during the execution of OP_CHECKSIG[VERIFY] or OP_CHECKMULTISIG[VERIFY]) &lt;br/&gt;is anything other than 1, 2, 3, 0x81, 0x82, or 0x83, the script &lt;br/&gt;execution fails. This does not apply to 0-length signature stack elements.&lt;br/&gt;&lt;br/&gt;* Transactions smaller than 65 bytes when serialized without witness &lt;br/&gt;data are invalid.&lt;br/&gt;&lt;br/&gt;* The nTime field of each block whose height, mod 2016, is 0 must be &lt;br/&gt;greater than or equal to the nTime field of the immediately prior block &lt;br/&gt;minus 600. For the avoidance of doubt, such blocks must still comply &lt;br/&gt;with existing Median-Time-Past nTime restrictions.&lt;br/&gt;&lt;br/&gt;==Deployment==&lt;br/&gt;&lt;br/&gt;This BIP will be deployed by &amp;#34;version bits&amp;#34; BIP9 with the name &lt;br/&gt;&amp;#34;cleanups&amp;#34; and using bit (0-indexed) 3.&lt;br/&gt;&lt;br/&gt;For Bitcoin mainnet, the BIP9 starttime will be midnight August 1st, &lt;br/&gt;2019 UTC (Epoch timestamp 1564617600) and BIP9 timeout will be midnight &lt;br/&gt;August 1st, 2020 UTC (Epoch timestamp 1596240000).&lt;br/&gt;&lt;br/&gt;For Bitcoin testnet, the BIP9 starttime will be midnight June 1st, 2019 &lt;br/&gt;UTC (Epoch timestamp 1559347200) and BIP9 timeout will be midnight June &lt;br/&gt;1st, 2020 UTC (Epoch timestamp 1590969600).&lt;br/&gt;&lt;br/&gt;==Discussion==&lt;br/&gt;&lt;br/&gt;* There are very few known uses for OP_CODESEPARATOR and none for &lt;br/&gt;FindAndDelete. None of these uses enable new functionality, and any &lt;br/&gt;efficiency gains are better made by switching to BIP 141. Further, there &lt;br/&gt;is no known use of either on the chain today, and both have been &lt;br/&gt;non-standard in Bitcoin Core since version 0.16.1, making them much more &lt;br/&gt;difficult to have mined. Both changes, together, allow for signature &lt;br/&gt;hash caching within each input script in a non-BIP 143 transaction &lt;br/&gt;today. Note that due to their non-standardness, miners using Bitcoin &lt;br/&gt;Core version 0.16.1 or later will not mine blocks which violate these &lt;br/&gt;rules today.&lt;br/&gt;* Reducing valid scriptSigs to the minimal set of operations which can &lt;br/&gt;generate any stack state removes the requirement that scriptCodes need &lt;br/&gt;to be generated for scriptSig execution, reducing the possible set of &lt;br/&gt;scriptCodes which must be cached per input by 2x. Because any stack &lt;br/&gt;state can be created using only push opcodes, this does not reduce &lt;br/&gt;spendability except for pessimal scriptPubKeys which require a &lt;br/&gt;significant number of identical stack elements (ie created using &lt;br/&gt;OP_DUP). Note that such transactions have been non-standard in Bitcoin &lt;br/&gt;Core since before git history (SVN 197) and thus miners running Bitcoin &lt;br/&gt;Core will not mine such transactions today.&lt;br/&gt;* Further, disabling non-canonical sighash types allows caching of the &lt;br/&gt;sighash themselves instead of midstates (as the sighash type byte is &lt;br/&gt;included in the sighash itself). Avoiding applying this rule to 0-length &lt;br/&gt;signatures avoids breaking deliberate OP_CHECKSIG failures while still &lt;br/&gt;avoiding having to ever calculate such sighashes. Such sighashes have &lt;br/&gt;been non-standard and thus miners using Bitcoin Core version 0.8 or &lt;br/&gt;higher will not mine blocks containing such transactions today.&lt;br/&gt;&amp;lt;br/&amp;gt;&lt;br/&gt;* While there are no known attempts to exploit the &amp;#34;timewarp&amp;#34; &lt;br/&gt;vulnerability on Bitcoin&amp;#39;s mainnet today, and the authors do not believe &lt;br/&gt;it is likely to occur in the immediate future, removing the possibility &lt;br/&gt;has long been on various wishlists and greatly simplifies potential &lt;br/&gt;attack analysis.&lt;br/&gt;** Sadly, some deployed mining hardware relies on the ability to roll &lt;br/&gt;nTime forward by up to 600 seconds[3]. Thus, only requiring that the &lt;br/&gt;nTime field move forward during difficulty adjustment would allow a &lt;br/&gt;malicious miner to prevent some competitors from mining the next block &lt;br/&gt;by setting their timestamp to two hours in the future. Thus, we allow &lt;br/&gt;nTime to go backwards by 600 seconds, ensuring that even a block with a &lt;br/&gt;timestamp two hours in the future allows for 600 seconds of nTime &lt;br/&gt;rolling on the next block.&lt;br/&gt;** Note that miners today only enforce increasing timestamps against the &lt;br/&gt;median-timestamp-of-last-11-blocks, so miners who do not upgrade may &lt;br/&gt;mine a block which violates this rule at the beginning of a difficulty &lt;br/&gt;window if the last block in a difficulty window has a timestamp in the &lt;br/&gt;future. Thus, it is strongly recommended that SPV clients enforce the &lt;br/&gt;new nTime rules to avoid following any potential forks which occur.&lt;br/&gt;&amp;lt;br/&amp;gt;&lt;br/&gt;* The issues involved in having leaf nodes in the transaction merkle &lt;br/&gt;tree which can be confused for inner nodes are well documented. &lt;br/&gt;[4][5][6] While there are workarounds for the pitfalls, there are many &lt;br/&gt;SPV-proof-validators which do not implement them. Further, the limited &lt;br/&gt;use-cases for very small transactions does not suffice as reason to &lt;br/&gt;force the added complexity onto clients. Note that any transactions &lt;br/&gt;smaller than 83 bytes have been considered non-standard since Bitcoin &lt;br/&gt;Core version 0.17.0, so miners will not mine blocks which validate this &lt;br/&gt;rule by default.&lt;br/&gt;&amp;lt;br/&amp;gt;&lt;br/&gt;* There are several early-stage proposals which may affect the execution &lt;br/&gt;of scripts, including proposals such as Schnorr signatures, Taproot, &lt;br/&gt;Graftroot, and MAST. These proposals are not expected to have any &lt;br/&gt;interaction with the changes in this BIP, as they are likely to only &lt;br/&gt;apply to SegWit scripts, which are not covered by any of the new rules &lt;br/&gt;except for the sighash type byte rule. Thus, the sighash type byte rule &lt;br/&gt;defined above only applies to *current* signature-checking opcodes, as &lt;br/&gt;any new signature-checking is likely to be implemented via the &lt;br/&gt;introduction of new opcodes.&lt;br/&gt;&amp;lt;br/&amp;gt;&lt;br/&gt;* In spite of some suggestion that other activation methods be used, BIP &lt;br/&gt;9 is proposed as ensuring miners have upgraded to enforce new rules is &lt;br/&gt;an important part of minimizing disruption. While previous BIP 9 &lt;br/&gt;soft-forks have resulted in political contention, this &lt;br/&gt;comparatively-unimportant soft-fork provides a good opportunity to &lt;br/&gt;attempt to return to utilizing BIP 9 to ensure miner upgrade prior to &lt;br/&gt;activation, which the authors believe is a critical goal. However, if &lt;br/&gt;there is broad agreement to activate these rules when the BIP 9 expiry &lt;br/&gt;time is reached, and miners have not yet signaled sufficient level of &lt;br/&gt;readiness, a later flag-day activation may be merited. For this reason, &lt;br/&gt;implementations may wish to provide a compatibility option which allows &lt;br/&gt;flag-day enforcement of these rules without an update.&lt;br/&gt;&lt;br/&gt;==Reference Implementation==&lt;br/&gt;&lt;br/&gt;[&lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/15482&#34;&gt;https://github.com/bitcoin/bitcoin/pull/15482&lt;/a&gt; Bitcoin Core Pull #15482]&lt;br/&gt;&lt;br/&gt;==References==&lt;br/&gt;&lt;br/&gt;[1] The difficulty adjustment algorithm in Bitcoin multiplies the &lt;br/&gt;previous difficulty by (2016 / time taken to mine the last 2015 blocks). &lt;br/&gt;Intuitively[2], this implies the actual Inter-Block-Time (IBT) target is &lt;br/&gt;2016/2015*600, or about 600.3 seconds. However, the expected value of &lt;br/&gt;the inverse of an Erlang distribution (which the above is effectively &lt;br/&gt;sampling from) is actually 1/(N-1), not 1/N. Thus, the above expression &lt;br/&gt;actually targets an IBT of 2016/2014*600, or about 600.6 seconds, ie &lt;br/&gt;E(2016*600/X) = 1 where X~ErlangDistribution(k=2015, λ=1/IBT) when IBT &lt;br/&gt;is 2016/2014*600. This is equivalent to 600*E(2016*600/X) where &lt;br/&gt;X~ErlangDistribution(k=2015, λ=1/600). In the case of a miner &lt;br/&gt;deliberately reducing timestamps by 600 seconds on the &lt;br/&gt;difficulty-retargeting block, we are effectively changing the difficulty &lt;br/&gt;multiplier to (2016 / (time taken to mine the last 2016 blocks &#43; 600)), &lt;br/&gt;or 600*E(2016*600/(X &#43; 600)) where X~Erlang Distribution(k=2016, &lt;br/&gt;λ=1/600), which is effectively targeting an inter-block time of &lt;br/&gt;~599.9999 seconds.&lt;br/&gt;&lt;br/&gt;[2] See [&lt;a href=&#34;https://twitter.com/pwuille/status/1098288749098795008&#34;&gt;https://twitter.com/pwuille/status/1098288749098795008&lt;/a&gt;] for &lt;br/&gt;most peoples&amp;#39; intuition. For more info see Pieter&amp;#39;s writeup at &lt;br/&gt;[&lt;a href=&#34;https://gist.github.com/sipa/1a70884abe6d0a7cddc340c99f741a41&#34;&gt;https://gist.github.com/sipa/1a70884abe6d0a7cddc340c99f741a41&lt;/a&gt;]&lt;br/&gt;&lt;br/&gt;[3] While no official stratum specification exists, the btc.com pool &lt;br/&gt;server (one of the most popular pool servers today) rejects shares with &lt;br/&gt;timestamps more than 600 seconds in the future at &lt;br/&gt;[&lt;a href=&#34;https://github.com/btccom/btcpool/blob/e7c536834fd6785af7d7d68ff29111ed81209cdf/src/bitcoin/StratumServerBitcoin.cc#L384&#34;&gt;https://github.com/btccom/btcpool/blob/e7c536834fd6785af7d7d68ff29111ed81209cdf/src/bitcoin/StratumServerBitcoin.cc#L384&lt;/a&gt;]. &lt;br/&gt;While there are few resources describing hardware operation today, &lt;br/&gt;timestamp rolling can be observed on the chain (in some rare cases) as &lt;br/&gt;block timestamps go backwards when a miner rolled one block nTime &lt;br/&gt;forward and the next does not, but only incredibly rarely more than 600 &lt;br/&gt;seconds.&lt;br/&gt;&lt;br/&gt;[4] &lt;br/&gt;[&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2018-June/016091.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2018-June/016091.html&lt;/a&gt;]&lt;br/&gt;&lt;br/&gt;[5] &lt;br/&gt;[&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180609/9f4f5b1f/attachment-0001.pdf&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180609/9f4f5b1f/attachment-0001.pdf&lt;/a&gt;]&lt;br/&gt;&lt;br/&gt;[6] &lt;br/&gt;[&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2019-February/016697.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2019-February/016697.html&lt;/a&gt;]&lt;br/&gt;&lt;br/&gt;==Acknowledgments==&lt;br/&gt;&lt;br/&gt;Thanks (in alphabetical order) to Suhas Daftuar, James Hilliard, Johnson &lt;br/&gt;Lau, Steve Lee, Greg Maxwell, John Newberry, and Pieter Wuille for their &lt;br/&gt;helpful feedback at various stages as well as the entire Bitcoin &lt;br/&gt;Protocol Development Community.
    </content>
    <updated>2023-06-07T18:16:43Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsx4majqh2dqmsetz6qzapuvam9fyy2608cwc50sp7pfuy662wjrvqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5e0n5ak</id>
    
      <title type="html">📅 Original date posted:2019-02-05 📝 Original message:On ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsx4majqh2dqmsetz6qzapuvam9fyy2608cwc50sp7pfuy662wjrvqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5e0n5ak" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqszcdec0gv8u2y5t88atanl7v5c28p8wmxxjuaufs62rntxxta8k2qz00zgn&#39;&gt;nevent1q…0zgn&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2019-02-05&lt;br/&gt;📝 Original message:On 2/4/19 8:18 PM, Jim Posen via bitcoin-dev wrote:&lt;br/&gt;- snip -&lt;br/&gt; &amp;gt; 1) Introduce a new P2P message to retrieve all prev-outputs for a given&lt;br/&gt; &amp;gt; block (essentially the undo data in Core), and verify the scripts&lt;br/&gt; &amp;gt; against the block by executing them. While this permits some forms of&lt;br/&gt; &amp;gt; input script malleability (and thus cannot discriminate between all&lt;br/&gt; &amp;gt; valid and invalid filters), it restricts what an attacker can do. This&lt;br/&gt; &amp;gt; was proposed by Laolu AFAIK, and I believe this is how btcd is &lt;br/&gt;proceeding.&lt;br/&gt;&lt;br/&gt;I&amp;#39;m somewhat confused by this - how does the undo data help you without &lt;br/&gt;seeing the full (mistate compressed) transaction? In (the realistic) &lt;br/&gt;thread model where an attacker is trying to blind you from some output, &lt;br/&gt;they can simply give you &amp;#34;undo data&amp;#34; where scriptPubKeys are OP_TRUE &lt;br/&gt;instead of the real script and you&amp;#39;d be none the wiser.&lt;br/&gt;&lt;br/&gt;On 2/5/19 1:42 AM, Olaoluwa Osuntokun via bitcoin-dev wrote:&lt;br/&gt;- snip -&lt;br/&gt;&amp;gt; I think it&amp;#39;s too late into the current deployment of the BIPs to change&lt;br/&gt;&amp;gt; things around yet again. Instead, the BIP already has measures in place for&lt;br/&gt;&amp;gt; adding _new_ filter types in the future. This along with a few other filter&lt;br/&gt;&amp;gt; types may be worthwhile additions as new filter types.&lt;br/&gt;- snip -&lt;br/&gt;&lt;br/&gt;Huh? I don&amp;#39;t think we should seriously consider &lt;br/&gt;only-one-codebase-has-deployed-anything-with-very-limited-in-the-wild-use &lt;br/&gt;as &amp;#34;too late into the current deployment&amp;#34;?&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-07T18:16:22Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsdrgpcdzhrw359kwtqc98q6drext3xjrpr6hr80sq7h8233jxrpmgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5vfj4m6</id>
    
      <title type="html">📅 Original date posted:2018-05-17 📝 Original message:Yea I ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsdrgpcdzhrw359kwtqc98q6drext3xjrpr6hr80sq7h8233jxrpmgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5vfj4m6" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs9957yeemtm4l40wu8p709y5dgsmz85ptx7d4htyp35spzan3mwfca6e92t&#39;&gt;nevent1q…e92t&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-05-17&lt;br/&gt;📝 Original message:Yea I generally would really prefer something like that but it&lt;br/&gt;significantly complicates the download logic - currently clients can&lt;br/&gt;easily cross-check a filter in case they differ between providers by&lt;br/&gt;downloading the block. If we instead went with the script being spent&lt;br/&gt;they would have to be provided all previous transactions (potentially&lt;br/&gt;compressed via midstate) as well, making it potentially infeasible to&lt;br/&gt;identify the offending node while remaining a lightweight client. Maybe&lt;br/&gt;there is some other reasonable download logic to replace it with, however.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 05/17/18 12:36, Gregory Maxwell wrote:&lt;br/&gt;&amp;gt; On Thu, May 17, 2018 at 3:25 PM, Matt Corallo via bitcoin-dev&lt;br/&gt;&amp;gt; &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; I believe (1) could be skipped entirely - there is almost no reason why&lt;br/&gt;&amp;gt;&amp;gt; you&amp;#39;d not be able to filter for, eg, the set of output scripts in a&lt;br/&gt;&amp;gt;&amp;gt; transaction you know about&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I think this is convincing for the txids themselves.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; What about also making input prevouts filter based on the scriptpubkey&lt;br/&gt;&amp;gt; being _spent_?  Layering wise in the processing it&amp;#39;s a bit ugly, but&lt;br/&gt;&amp;gt; if you validated the block you have the data needed.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This would eliminate the multiple data type mixing entirely.&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-07T18:12:11Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfk0ykxxmpswh9u068ty3xp8f5czm9wl64sj2af38snsa262pshdczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm56pcydm</id>
    
      <title type="html">📅 Original date posted:2018-05-17 📝 Original message:BIP ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfk0ykxxmpswh9u068ty3xp8f5czm9wl64sj2af38snsa262pshdczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm56pcydm" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2alh8uwgnw2dhaaek637x723yj4x7zqq37facnh9w4trzc5dk5mcuraa0u&#39;&gt;nevent1q…aa0u&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-05-17&lt;br/&gt;📝 Original message:BIP 158 currently includes the following in the &amp;#34;basic&amp;#34; filter: 1)&lt;br/&gt;txids, 2) output scripts, 3) input prevouts.&lt;br/&gt;&lt;br/&gt;I believe (1) could be skipped entirely - there is almost no reason why&lt;br/&gt;you&amp;#39;d not be able to filter for, eg, the set of output scripts in a&lt;br/&gt;transaction you know about and (2) and (3) may want to be split out -&lt;br/&gt;many wallets may wish to just find transactions paying to them, as&lt;br/&gt;transactions spending from their outputs should generally be things&lt;br/&gt;they&amp;#39;ve created.&lt;br/&gt;&lt;br/&gt;In general, I&amp;#39;m concerned about the size of the filters making existing&lt;br/&gt;SPV clients less willing to adopt BIP 158 instead of the existing bloom&lt;br/&gt;filter garbage and would like to see a further exploration of ways to&lt;br/&gt;split out filters to make them less bandwidth intensive. Some further&lt;br/&gt;ideas we should probably play with before finalizing moving forward is&lt;br/&gt;providing filters for certain script templates, eg being able to only&lt;br/&gt;get outputs that are segwit version X or other similar ideas.&lt;br/&gt;&lt;br/&gt;Matt
    </content>
    <updated>2023-06-07T18:12:10Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqszq2usxjt9sylrd8cr0t9atafjthevx3mr5dumhy423l86nq2qp7qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5xw5le0</id>
    
      <title type="html">📅 Original date posted:2018-01-27 📝 Original message:Gah, ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqszq2usxjt9sylrd8cr0t9atafjthevx3mr5dumhy423l86nq2qp7qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5xw5le0" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsv3sv536yeju5rd8hamc9xf4axm6mryt5zmk404x5swykznttvpvctqgygd&#39;&gt;nevent1q…gygd&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-01-27&lt;br/&gt;📝 Original message:Gah, please no. I see no material reason why cross-input signature aggregation shouldn&amp;#39;t have the signatures in the first n-1 inputs replaced with something like a single-byte push where a signature is required to indicate aggregation, and the combined signature in the last input at whatever position the signature is required.&lt;br/&gt;&lt;br/&gt;On January 27, 2018 5:07:25 PM UTC, Russell O&amp;#39;Connor via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;-snip-&lt;br/&gt;&amp;gt;Cross-input signature aggregation probably requires a new field to be&lt;br/&gt;&amp;gt;added&lt;br/&gt;&amp;gt;to the P2P transaction structure to hold the aggregated signature,&lt;br/&gt;&amp;gt;since&lt;br/&gt;&amp;gt;there isn&amp;#39;t really a good place to put it in the existing structure&lt;br/&gt;&amp;gt;(there&lt;br/&gt;&amp;gt;are games you can play to make it fit, but I think it is worthwhile). &lt;br/&gt;&amp;gt;The&lt;br/&gt;&amp;gt;obvious way add block commitments to a new tx field is via the witness&lt;br/&gt;&amp;gt;reserved value mechanism present in BIP 141.  At this point I think&lt;br/&gt;&amp;gt;there&lt;br/&gt;&amp;gt;will be some leeway to adjust the discount on the weight of this new&lt;br/&gt;&amp;gt;aggregated signature tx field so that even a single input taproot using&lt;br/&gt;&amp;gt;the&lt;br/&gt;&amp;gt;aggregated signature system (here an aggregation of 1 signature) ends&lt;br/&gt;&amp;gt;up no&lt;br/&gt;&amp;gt;more expensive than a single input segwit P2WPKH.
    </content>
    <updated>2023-06-07T18:10:11Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqszhd5jqpr9z63c36ql9f94y2zeq5ykm2tguay60hm9enlr6sgg6pgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm54wwyjc</id>
    
      <title type="html">📅 Original date posted:2018-01-23 📝 Original message:The ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqszhd5jqpr9z63c36ql9f94y2zeq5ykm2tguay60hm9enlr6sgg6pgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm54wwyjc" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsq8nm6cykmtjkfvrw9raaqyk57n7x2euljqej5hnafe2pn9g7nqxsflmpnj&#39;&gt;nevent1q…mpnj&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-01-23&lt;br/&gt;📝 Original message:The issue with that approach without support for the privacy-encouraging wrapper proposed by Greg here is that it encourages adoption halfway and destroys a lot of the value of the apparent-script monoculture for privacy preservation. Greg&amp;#39;s proposal here doesn&amp;#39;t change the format of any specific MAST implementation, but instead adds the privacy wrapper that I always felt was missing in existing proposals, without any real additional overhead in many use-cases!&lt;br/&gt;&lt;br/&gt;Indeed, permissionless innovation is important, but the huge advantage of providing the privacy wrapper by default here is absolutely massive to the ecosystem and should not be handwaved away for vague possibly-advantages.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On January 23, 2018 2:39:37 PM UTC, Mark Friedenbach &amp;lt;mark at friedenbach.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;I had the opposite response in private, which I will share here. As&lt;br/&gt;&amp;gt;recently as Jan 9th feedback on BIP 117 was shared on this list by&lt;br/&gt;&amp;gt;Pieter Wuille and others suggesting we adopt native MAST template&lt;br/&gt;&amp;gt;instead of the user programmable combination of BIPs 116 and 117. Part&lt;br/&gt;&amp;gt;of my response then was, I quote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I havent the hubris to suggest that we know exactly what a templated&lt;br/&gt;&amp;gt;MAST *should* look like. It&amp;#39;s not used in production anywhere. Even if&lt;br/&gt;&amp;gt;we did have the foresight, the tail-call semantics allow for other&lt;br/&gt;&amp;gt;constructions besides MAST and for the sake of the future we should&lt;br/&gt;&amp;gt;allow such permission-less innovation. The proper sequence of events&lt;br/&gt;&amp;gt;should be to enable features in a generic way, and then to create&lt;br/&gt;&amp;gt;specialized templates to save space for common constructions. Not the&lt;br/&gt;&amp;gt;other way around. [1]&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I take this advance as further evidence in favor of this view. As&lt;br/&gt;&amp;gt;recently as 24 hours ago if you had asked what a native-MAST template&lt;br/&gt;&amp;gt;would have looked like, the answer would have been something like&lt;br/&gt;&amp;gt;Johnson Lau’s BIP 114, with some quibbling over details. Taproot is a&lt;br/&gt;&amp;gt;clearly superior approach. But is it optimal? I don’t think we can&lt;br/&gt;&amp;gt;claim that now. Optimality of these constructs isn’t something easily&lt;br/&gt;&amp;gt;proven, with the nearest substitute being unchanging consensus over&lt;br/&gt;&amp;gt;extended periods of time.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Every time we add an output type specialization, we introduce a new&lt;br/&gt;&amp;gt;codepath in the core of the script consensus that must be maintained&lt;br/&gt;&amp;gt;forever. Take P2SH: from this point forward there is no reason to use&lt;br/&gt;&amp;gt;it in new applications, ever. But it must be forever supported. In an&lt;br/&gt;&amp;gt;alternate universe we could have deployed a native MAST proposal, like&lt;br/&gt;&amp;gt;BIP 114, only to have Taproot-like schemes discovered after activation.&lt;br/&gt;&amp;gt;That would have been a sucky outcome. It is still the case that we&lt;br/&gt;&amp;gt;could go for Taproot right now, and then in six months or a year’s time&lt;br/&gt;&amp;gt;we find an important tweak or a different approach entirely that is&lt;br/&gt;&amp;gt;even better, but the activation process had already started. That would&lt;br/&gt;&amp;gt;be a sucky outcome we haven’t avoided yet.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;This is not an argument against template specialization for common code&lt;br/&gt;&amp;gt;paths, especially those which increase fungibility of coins. I do think&lt;br/&gt;&amp;gt;we should have a native MAST template eventually, using Taproot or&lt;br/&gt;&amp;gt;something better. However if I may be allowed I will make an educated&lt;br/&gt;&amp;gt;guess about the origin of Taproot: I think it’s no coincidence that&lt;br/&gt;&amp;gt;Greg had this insight and/or wrote it up simultaneous with a push by&lt;br/&gt;&amp;gt;myself and others for getting MAST features into bitcoin via BIPs 98,&lt;br/&gt;&amp;gt;116, and 117, or 114. Cryptographers tend to only think up solutions to&lt;br/&gt;&amp;gt;problems that are on their minds. And the problems on most people’s&lt;br/&gt;&amp;gt;minds are primarily those that are deployable today, or otherwise&lt;br/&gt;&amp;gt;near-term applicable.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;BIPS 116 and 117 each provide a reusable component that together&lt;br/&gt;&amp;gt;happens to enable a generic form of MAST. Even without the workarounds&lt;br/&gt;&amp;gt;required to avoid CLEANSTACK violations, the resulting MAST template is&lt;br/&gt;&amp;gt;larger than what is possible with specialization. However let’s not&lt;br/&gt;&amp;gt;forget that (1) they also enable other applications like honeypots, key&lt;br/&gt;&amp;gt;trees, and script delegation; and relevant to this conversation (2)&lt;br/&gt;&amp;gt;they get the MAST feature available for use in production by the wider&lt;br/&gt;&amp;gt;community. I don’t think I’d personally be willing to bet that we found&lt;br/&gt;&amp;gt;the optimal MAST structure in Greg’s Taproot until we have people doing&lt;br/&gt;&amp;gt;interesting production work like multisig wallets, lightning protocol,&lt;br/&gt;&amp;gt;and the next set of consensus features start putting it into production&lt;br/&gt;&amp;gt;and exploring edge cases. We may find ways Taproot can be tweaked to&lt;br/&gt;&amp;gt;enable other applications (like encoding a hash preimage as well) or&lt;br/&gt;&amp;gt;simplify obscure corner cases.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I feel quite strongly that the correct approach is to add support for&lt;br/&gt;&amp;gt;generic features to accomplish the underlying goal in a user&lt;br/&gt;&amp;gt;programmable way, and THEN after activation and some usage consider&lt;br/&gt;&amp;gt;ways in which common use cases can be made more efficient through&lt;br/&gt;&amp;gt;output specialization. To take a more obvious example, lightning&lt;br/&gt;&amp;gt;protocol is still an active area or research and I think it is&lt;br/&gt;&amp;gt;abundantly clear that we don’t know yet what the globally optimal&lt;br/&gt;&amp;gt;layer-2 caching protocol will be, even if we have educated guesses as&lt;br/&gt;&amp;gt;to its broad structure. A proposal right now to standardize a more&lt;br/&gt;&amp;gt;compact lightning script type would be rightly rejected. It is less&lt;br/&gt;&amp;gt;obvious but just as true that the same should hold for MAST.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I have argued these points before in favor of permission less&lt;br/&gt;&amp;gt;innovation first, then application specialization later, in [1] and at&lt;br/&gt;&amp;gt;the end of the rather long email [2]. I hope you can take the time to&lt;br/&gt;&amp;gt;read those if you still feel we should take a specialized template&lt;br/&gt;&amp;gt;approach instead of the user programmable BIPSs 116 and 117.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;[1]&lt;br/&gt;&amp;gt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2018-January/015537.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2018-January/015537.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2018-January/015537.html&amp;gt&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2018-January/015537.html&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;[2]&lt;br/&gt;&amp;gt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-September/015029.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-September/015029.html&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-September/015029.html&amp;gt&#34;&gt;https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-September/015029.html&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On Jan 22, 2018, at 6:51 PM, Matt Corallo via bitcoin-dev&lt;br/&gt;&amp;gt;&amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Thanks Greg!&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; I&amp;#39;d be hesitant to deploy a MAST proposal without this clever&lt;br/&gt;&amp;gt;application of pay-to-contract-hash now! Looks like the overhead over a&lt;br/&gt;&amp;gt;more-naive MAST construction is rather trivial, too!&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Matt&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; On January 23, 2018 12:30:06 AM UTC, Gregory Maxwell via bitcoin-dev&lt;br/&gt;&amp;gt;&amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; Interest in merkelized scriptPubKeys (e.g. MAST) is driven by two&lt;br/&gt;&amp;gt;main&lt;br/&gt;&amp;gt;&amp;gt; areas: efficiency and privacy. Efficiency because unexecuted forks of&lt;br/&gt;&amp;gt;&amp;gt; a script can avoid ever hitting the chain, and privacy because hiding&lt;br/&gt;&amp;gt;&amp;gt; unexecuted code leaves scripts indistinguishable to the extent that&lt;br/&gt;&amp;gt;&amp;gt; their only differences are in the unexecuted parts.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; As Mark Friedenbach and others have pointed out before it is almost&lt;br/&gt;&amp;gt;&amp;gt; always the case that interesting scripts have a logical top level&lt;br/&gt;&amp;gt;&amp;gt; branch which allows satisfaction of the contract with nothing other&lt;br/&gt;&amp;gt;&amp;gt; than a signature by all parties.  Other branches would only be used&lt;br/&gt;&amp;gt;&amp;gt; where some participant is failing to cooperate. More strongly stated,&lt;br/&gt;&amp;gt;&amp;gt; I believe that _any_ contract with a fixed finite participant set&lt;br/&gt;&amp;gt;&amp;gt; upfront can be and should be represented as an OR between an N-of-N&lt;br/&gt;&amp;gt;&amp;gt; and whatever more complex contract you might want to represent.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; One point that comes up while talking about merkelized scripts is can&lt;br/&gt;&amp;gt;&amp;gt; we go about making fancier contract use cases as indistinguishable as&lt;br/&gt;&amp;gt;&amp;gt; possible from the most common and boring payments. Otherwise, if the&lt;br/&gt;&amp;gt;&amp;gt; anonymity set of fancy usage is only other fancy usage it may not be&lt;br/&gt;&amp;gt;&amp;gt; very large in practice. One suggestion has been that ordinary&lt;br/&gt;&amp;gt;&amp;gt; checksig-only scripts should include a dummy branch for the rest of&lt;br/&gt;&amp;gt;&amp;gt; the tree (e.g. a random value hash), making it look like there are&lt;br/&gt;&amp;gt;&amp;gt; potentially alternative rules when there aren&amp;#39;t really.  The negative&lt;br/&gt;&amp;gt;&amp;gt; side of this is an additional 32-byte overhead for the overwhelmingly&lt;br/&gt;&amp;gt;&amp;gt; common case which doesn&amp;#39;t need it.  I think the privacy gains are&lt;br/&gt;&amp;gt;&amp;gt; worth doing such a thing, but different people reason differently&lt;br/&gt;&amp;gt;&amp;gt; about these trade-offs.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; It turns out, however, that there is no need to make a trade-off. &lt;br/&gt;&amp;gt;The&lt;br/&gt;&amp;gt;&amp;gt; special case of a top level &amp;#34;threshold-signature OR&lt;br/&gt;&amp;gt;&amp;gt; arbitrary-conditions&amp;#34; can be made indistinguishable from a normal&lt;br/&gt;&amp;gt;&amp;gt; one-party signature, with no overhead at all, with a special&lt;br/&gt;&amp;gt;&amp;gt; delegating CHECKSIG which I call Taproot.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Let&amp;#39;s say we want to create a coin that can be redeemed by either&lt;br/&gt;&amp;gt;&amp;gt; Alice &amp;amp;&amp;amp; Bob   or by CSV-timelock &amp;amp;&amp;amp; Bob.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Alice has public A, Bob has pubkey B.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; We compute the 2-of-2 aggregate key C = A &#43; B.  (Simplified; to&lt;br/&gt;&amp;gt;&amp;gt; protect against rogue key attacks you may want to use the MuSig key&lt;br/&gt;&amp;gt;&amp;gt; aggregation function [1])&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; We form our timelock script S =  &amp;#34;&amp;lt;timeout&amp;gt; OP_CSV OP_DROP B&lt;br/&gt;&amp;gt;OP_CHECKSIGVERIFY&amp;#34;&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Now we tweak C to produce P which is the key we&amp;#39;ll publish: P = C &#43;&lt;br/&gt;&amp;gt;H(C||S)G.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; (This is the attack hardened pay-to-contract construction described&lt;br/&gt;&amp;gt;in [2])&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Then we pay to a scriptPubKey of [Taproot supporting version] [EC&lt;br/&gt;&amp;gt;point P].&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Now Alice and Bob-- assuming they are both online and agree about the&lt;br/&gt;&amp;gt;&amp;gt; resolution of their contract-- can jointly form a 2 of 2 signature&lt;br/&gt;&amp;gt;for&lt;br/&gt;&amp;gt;&amp;gt; P, and spend as if it were a payment to a single party (one of them&lt;br/&gt;&amp;gt;&amp;gt; just needs to add H(C||S) to their private key).&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; Alternatively, the Taproot consensus rules would allow this script to&lt;br/&gt;&amp;gt;&amp;gt; be satisfied by someone who provides the network with C (the original&lt;br/&gt;&amp;gt;&amp;gt; combined pubkey), S, and does whatever S requires-- e.g. passes the&lt;br/&gt;&amp;gt;&amp;gt; CSV check and provides Bob&amp;#39;s signature. With this information the&lt;br/&gt;&amp;gt;&amp;gt; network can verify that C &#43; H(C||S) == P.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; So in the all-sign case there is zero overhead; and no one can tell&lt;br/&gt;&amp;gt;&amp;gt; that the contract alternative exists. In the alternative redemption&lt;br/&gt;&amp;gt;&amp;gt; branch the only overhead is revealing the original combined pubkey&lt;br/&gt;&amp;gt;&amp;gt; and, of course, the existence of the contract is made public.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; This composes just fine with whatever other merkelized script system&lt;br/&gt;&amp;gt;&amp;gt; we might care to use, as the S can be whatever kind of data we want,&lt;br/&gt;&amp;gt;&amp;gt; including the root of some tree.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; My example shows 2-of-2 but it works the same for any number of&lt;br/&gt;&amp;gt;&amp;gt; participants (and with setup interaction any threshold of&lt;br/&gt;&amp;gt;&amp;gt; participants, so long as you don&amp;#39;t mind an inability to tell which&lt;br/&gt;&amp;gt;&amp;gt; members signed off).&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; The verification computational complexity of signature path is&lt;br/&gt;&amp;gt;&amp;gt; obviously the same as any other plain signature (since its&lt;br/&gt;&amp;gt;&amp;gt; indistinguishable). Verification of the branch redemption requires a&lt;br/&gt;&amp;gt;&amp;gt; hash and a multiplication with a constant point which is strictly&lt;br/&gt;&amp;gt;more&lt;br/&gt;&amp;gt;&amp;gt; efficient than a signature verification and could be efficiently&lt;br/&gt;&amp;gt;fused&lt;br/&gt;&amp;gt;&amp;gt; into batch signature validation.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; The nearest competitor to this idea that I can come up with would&lt;br/&gt;&amp;gt;&amp;gt; supporting a simple delegation where the output can be spent by the&lt;br/&gt;&amp;gt;&amp;gt; named key, or a spending transaction could provide a script along&lt;br/&gt;&amp;gt;with&lt;br/&gt;&amp;gt;&amp;gt; a signature of that script by the named key, delegating control to&lt;br/&gt;&amp;gt;the&lt;br/&gt;&amp;gt;&amp;gt; signed script. Before paying into that escrow Alice/Bob would&lt;br/&gt;&amp;gt;&amp;gt; construct this signature. This idea is equally efficient in the&lt;br/&gt;&amp;gt;common&lt;br/&gt;&amp;gt;&amp;gt; case, but larger and slower to verify in the alternative spend case.&lt;br/&gt;&amp;gt;&amp;gt; Setting up the signature requires additional interaction between&lt;br/&gt;&amp;gt;&amp;gt; participants and the resulting signature must be durably stored and&lt;br/&gt;&amp;gt;&amp;gt; couldn&amp;#39;t just be recomputed using single-party information.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; I believe this construction will allow the largest possible anonymity&lt;br/&gt;&amp;gt;&amp;gt; set for fixed party smart contracts by making them look like the&lt;br/&gt;&amp;gt;&amp;gt; simplest possible payments. It accomplishes this without any overhead&lt;br/&gt;&amp;gt;&amp;gt; in the common case, invoking any sketchy or impractical techniques,&lt;br/&gt;&amp;gt;&amp;gt; requiring extra rounds of interaction between contract participants,&lt;br/&gt;&amp;gt;&amp;gt; and without requiring the durable storage of other data.&lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; [1] &lt;a href=&#34;https://eprint.iacr.org/2018/068&#34;&gt;https://eprint.iacr.org/2018/068&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;lt;&lt;a href=&#34;https://eprint.iacr.org/2018/068&amp;gt&#34;&gt;https://eprint.iacr.org/2018/068&amp;gt&lt;/a&gt;;&lt;br/&gt;&amp;gt;&amp;gt; [2] &lt;a href=&#34;https://blockstream.com/sidechains.pdf&#34;&gt;https://blockstream.com/sidechains.pdf&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;lt;&lt;a href=&#34;https://blockstream.com/sidechains.pdf&amp;gt&#34;&gt;https://blockstream.com/sidechains.pdf&amp;gt&lt;/a&gt;; Appendix A&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;lt;&lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&amp;gt&lt;/a&gt;;&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;-------------- 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/20180123/d1e58bc1/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180123/d1e58bc1/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:10:07Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs04mjtkw5rchvfshk0jshuhsvwn0n3xkthkqpszqk6sepg98s7dzgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ar55dh</id>
    
      <title type="html">📅 Original date posted:2018-01-23 📝 Original message:Thanks ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs04mjtkw5rchvfshk0jshuhsvwn0n3xkthkqpszqk6sepg98s7dzgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5ar55dh" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsx4n0jjg05psj45eyexnmme85srf4evwp5lmqqx6tt9pcj28s2xygl9mner&#39;&gt;nevent1q…mner&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-01-23&lt;br/&gt;📝 Original message:Thanks Greg!&lt;br/&gt;&lt;br/&gt;I&amp;#39;d be hesitant to deploy a MAST proposal without this clever application of pay-to-contract-hash now! Looks like the overhead over a more-naive MAST construction is rather trivial, too!&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On January 23, 2018 12:30:06 AM UTC, Gregory Maxwell via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;Interest in merkelized scriptPubKeys (e.g. MAST) is driven by two main&lt;br/&gt;&amp;gt;areas: efficiency and privacy. Efficiency because unexecuted forks of&lt;br/&gt;&amp;gt;a script can avoid ever hitting the chain, and privacy because hiding&lt;br/&gt;&amp;gt;unexecuted code leaves scripts indistinguishable to the extent that&lt;br/&gt;&amp;gt;their only differences are in the unexecuted parts.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;As Mark Friedenbach and others have pointed out before it is almost&lt;br/&gt;&amp;gt;always the case that interesting scripts have a logical top level&lt;br/&gt;&amp;gt;branch which allows satisfaction of the contract with nothing other&lt;br/&gt;&amp;gt;than a signature by all parties.  Other branches would only be used&lt;br/&gt;&amp;gt;where some participant is failing to cooperate. More strongly stated,&lt;br/&gt;&amp;gt;I believe that _any_ contract with a fixed finite participant set&lt;br/&gt;&amp;gt;upfront can be and should be represented as an OR between an N-of-N&lt;br/&gt;&amp;gt;and whatever more complex contract you might want to represent.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;One point that comes up while talking about merkelized scripts is can&lt;br/&gt;&amp;gt;we go about making fancier contract use cases as indistinguishable as&lt;br/&gt;&amp;gt;possible from the most common and boring payments. Otherwise, if the&lt;br/&gt;&amp;gt;anonymity set of fancy usage is only other fancy usage it may not be&lt;br/&gt;&amp;gt;very large in practice. One suggestion has been that ordinary&lt;br/&gt;&amp;gt;checksig-only scripts should include a dummy branch for the rest of&lt;br/&gt;&amp;gt;the tree (e.g. a random value hash), making it look like there are&lt;br/&gt;&amp;gt;potentially alternative rules when there aren&amp;#39;t really.  The negative&lt;br/&gt;&amp;gt;side of this is an additional 32-byte overhead for the overwhelmingly&lt;br/&gt;&amp;gt;common case which doesn&amp;#39;t need it.  I think the privacy gains are&lt;br/&gt;&amp;gt;worth doing such a thing, but different people reason differently&lt;br/&gt;&amp;gt;about these trade-offs.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;It turns out, however, that there is no need to make a trade-off.  The&lt;br/&gt;&amp;gt;special case of a top level &amp;#34;threshold-signature OR&lt;br/&gt;&amp;gt;arbitrary-conditions&amp;#34; can be made indistinguishable from a normal&lt;br/&gt;&amp;gt;one-party signature, with no overhead at all, with a special&lt;br/&gt;&amp;gt;delegating CHECKSIG which I call Taproot.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Let&amp;#39;s say we want to create a coin that can be redeemed by either&lt;br/&gt;&amp;gt;Alice &amp;amp;&amp;amp; Bob   or by CSV-timelock &amp;amp;&amp;amp; Bob.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Alice has public A, Bob has pubkey B.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;We compute the 2-of-2 aggregate key C = A &#43; B.  (Simplified; to&lt;br/&gt;&amp;gt;protect against rogue key attacks you may want to use the MuSig key&lt;br/&gt;&amp;gt;aggregation function [1])&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;We form our timelock script S =  &amp;#34;&amp;lt;timeout&amp;gt; OP_CSV OP_DROP B&lt;br/&gt;&amp;gt;OP_CHECKSIGVERIFY&amp;#34;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Now we tweak C to produce P which is the key we&amp;#39;ll publish: P = C &#43;&lt;br/&gt;&amp;gt;H(C||S)G.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;(This is the attack hardened pay-to-contract construction described in&lt;br/&gt;&amp;gt;[2])&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Then we pay to a scriptPubKey of [Taproot supporting version] [EC point&lt;br/&gt;&amp;gt;P].&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Now Alice and Bob-- assuming they are both online and agree about the&lt;br/&gt;&amp;gt;resolution of their contract-- can jointly form a 2 of 2 signature for&lt;br/&gt;&amp;gt;P, and spend as if it were a payment to a single party (one of them&lt;br/&gt;&amp;gt;just needs to add H(C||S) to their private key).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Alternatively, the Taproot consensus rules would allow this script to&lt;br/&gt;&amp;gt;be satisfied by someone who provides the network with C (the original&lt;br/&gt;&amp;gt;combined pubkey), S, and does whatever S requires-- e.g. passes the&lt;br/&gt;&amp;gt;CSV check and provides Bob&amp;#39;s signature. With this information the&lt;br/&gt;&amp;gt;network can verify that C &#43; H(C||S) == P.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;So in the all-sign case there is zero overhead; and no one can tell&lt;br/&gt;&amp;gt;that the contract alternative exists. In the alternative redemption&lt;br/&gt;&amp;gt;branch the only overhead is revealing the original combined pubkey&lt;br/&gt;&amp;gt;and, of course, the existence of the contract is made public.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;This composes just fine with whatever other merkelized script system&lt;br/&gt;&amp;gt;we might care to use, as the S can be whatever kind of data we want,&lt;br/&gt;&amp;gt;including the root of some tree.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;My example shows 2-of-2 but it works the same for any number of&lt;br/&gt;&amp;gt;participants (and with setup interaction any threshold of&lt;br/&gt;&amp;gt;participants, so long as you don&amp;#39;t mind an inability to tell which&lt;br/&gt;&amp;gt;members signed off).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The verification computational complexity of signature path is&lt;br/&gt;&amp;gt;obviously the same as any other plain signature (since its&lt;br/&gt;&amp;gt;indistinguishable). Verification of the branch redemption requires a&lt;br/&gt;&amp;gt;hash and a multiplication with a constant point which is strictly more&lt;br/&gt;&amp;gt;efficient than a signature verification and could be efficiently fused&lt;br/&gt;&amp;gt;into batch signature validation.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The nearest competitor to this idea that I can come up with would&lt;br/&gt;&amp;gt;supporting a simple delegation where the output can be spent by the&lt;br/&gt;&amp;gt;named key, or a spending transaction could provide a script along with&lt;br/&gt;&amp;gt;a signature of that script by the named key, delegating control to the&lt;br/&gt;&amp;gt;signed script. Before paying into that escrow Alice/Bob would&lt;br/&gt;&amp;gt;construct this signature. This idea is equally efficient in the common&lt;br/&gt;&amp;gt;case, but larger and slower to verify in the alternative spend case.&lt;br/&gt;&amp;gt;Setting up the signature requires additional interaction between&lt;br/&gt;&amp;gt;participants and the resulting signature must be durably stored and&lt;br/&gt;&amp;gt;couldn&amp;#39;t just be recomputed using single-party information.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I believe this construction will allow the largest possible anonymity&lt;br/&gt;&amp;gt;set for fixed party smart contracts by making them look like the&lt;br/&gt;&amp;gt;simplest possible payments. It accomplishes this without any overhead&lt;br/&gt;&amp;gt;in the common case, invoking any sketchy or impractical techniques,&lt;br/&gt;&amp;gt;requiring extra rounds of interaction between contract participants,&lt;br/&gt;&amp;gt;and without requiring the durable storage of other data.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;[1] &lt;a href=&#34;https://eprint.iacr.org/2018/068&#34;&gt;https://eprint.iacr.org/2018/068&lt;/a&gt;&lt;br/&gt;&amp;gt;[2] &lt;a href=&#34;https://blockstream.com/sidechains.pdf&#34;&gt;https://blockstream.com/sidechains.pdf&lt;/a&gt; Appendix A&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;-------------- 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/20180123/2ff10ec6/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180123/2ff10ec6/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:10:06Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsdzx5junrnr56hzasrh8vlqlsvwt0scugv2qwlgdj42zq002203uczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5h55n5k</id>
    
      <title type="html">📅 Original date posted:2018-01-14 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsdzx5junrnr56hzasrh8vlqlsvwt0scugv2qwlgdj42zq002203uczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5h55n5k" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs99w97a7zf5dtwzle03xt5wzu2zpt46tjpztl9znc43vk3utyypqgs84h3t&#39;&gt;nevent1q…4h3t&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-01-14&lt;br/&gt;📝 Original message:I&amp;#39;m curious if you&amp;#39;ve considered adding some form of compiler-time enforcement to prevent witness malleability? With that, Ivy could help to resolve for it&amp;#39;s users one of the things that can make Bitcoin scripts more complicated to write, instead of simply type-checking and providing a high-level language mapped 1-to-1 with Bitcoin script.&lt;br/&gt;&lt;br/&gt;On December 18, 2017 8:32:17 PM UTC, Daniel Robinson via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;Today, we’re releasing Ivy, a prototype higher-level language and&lt;br/&gt;&amp;gt;development environment for creating custom Bitcoin Script programs.&lt;br/&gt;&amp;gt;You&lt;br/&gt;&amp;gt;can see the full announcement here&lt;br/&gt;&amp;gt;&amp;lt;&lt;a href=&#34;https://blog.chain.com/ivy-for-bitcoin-a-smart-contract-language-that-compiles-to-bitcoin-script-bec06377141a&amp;gt&#34;&gt;https://blog.chain.com/ivy-for-bitcoin-a-smart-contract-language-that-compiles-to-bitcoin-script-bec06377141a&amp;gt&lt;/a&gt;;,&lt;br/&gt;&amp;gt;or check out the docs &amp;lt;&lt;a href=&#34;https://docs.ivy-lang.org/bitcoin/&amp;gt&#34;&gt;https://docs.ivy-lang.org/bitcoin/&amp;gt&lt;/a&gt;; and source&lt;br/&gt;&amp;gt;code&lt;br/&gt;&amp;gt;&amp;lt;&lt;a href=&#34;https://github.com/ivy-lang/ivy-bitcoin&amp;gt&#34;&gt;https://github.com/ivy-lang/ivy-bitcoin&amp;gt&lt;/a&gt;;.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Ivy is a simple smart contract language that can compile to Bitcoin&lt;br/&gt;&amp;gt;Script.&lt;br/&gt;&amp;gt;It aims to improve on the useability of Bitcoin Script by adding&lt;br/&gt;&amp;gt;affordances like named variables and clauses, static (and&lt;br/&gt;&amp;gt;domain-specific)&lt;br/&gt;&amp;gt;types, and familiar syntax for function calls.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;To try out Ivy, you can use the Ivy Playground for Bitcoin&lt;br/&gt;&amp;gt;&amp;lt;&lt;a href=&#34;https://ivy-lang.org/bitcoin/&amp;gt&#34;&gt;https://ivy-lang.org/bitcoin/&amp;gt&lt;/a&gt;;, which allows you to create and test&lt;br/&gt;&amp;gt;simulated contracts in a sandboxed environment.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;This is prototype software intended for educational and research&lt;br/&gt;&amp;gt;purposes&lt;br/&gt;&amp;gt;only. Please don&amp;#39;t try to use Ivy to control real or testnet Bitcoins.&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/20180114/530b8a17/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180114/530b8a17/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:09:45Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfnthqgapjqw8daxwgt3yrmln8u54jnzwwfzl4ljzffvk8nzyqqfczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm59y6087</id>
    
      <title type="html">📅 Original date posted:2017-09-28 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfnthqgapjqw8daxwgt3yrmln8u54jnzwwfzl4ljzffvk8nzyqqfczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm59y6087" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqstatmc4drzcqlde775n8qjfg2nld4ql85vunhq35z0wz2rycnprpcdfyxn3&#39;&gt;nevent1q…yxn3&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-09-28&lt;br/&gt;📝 Original message:I&amp;#39;m somewhat curious what the authors envisioned the real-world implications of this model to be. While blindly asking users to enter what they&amp;#39;re willing to pay always works in theory, I&amp;#39;d imagine in such a world the fee selection UX would be similar to what it is today - users are provided a list of options with feerates and expected confirmation times from which to select. Indeed, in a world where users pay a lower fee if they paid more than necessary fee estimation could be more willing to overshoot and the UX around RBF and CPFP could be simplified greatly, but I&amp;#39;m not actually convinced that it would result in higher overall mining revenue.&lt;br/&gt;&lt;br/&gt;The UX issues with RBF and CPFP, not to mention the UX issues involved in optimizing for quick confirmation are, indeed, quite significant, but I believe them to be solveable with rather striaght-forward changes. Making the market more useable (for higher or lower overall miner revenue) may be a sufficient goal, however, to want to consider something like this.&lt;br/&gt;&lt;br/&gt;On September 28, 2017 9:06:29 PM EDT, Mark Friedenbach via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;This article by Ron Lavi, Or Sattath, and Aviv Zohar was forwarded to&lt;br/&gt;&amp;gt;me and is of interest to this group:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    &amp;#34;Redesigning Bitcoin&amp;#39;s fee market&amp;#34;&lt;br/&gt;&amp;gt;    &lt;a href=&#34;https://arxiv.org/abs/1709.08881&#34;&gt;https://arxiv.org/abs/1709.08881&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I&amp;#39;ll briefly summarize before providing some commentary of my own,&lt;br/&gt;&amp;gt;including transformation of the proposed mechanism into a relatively&lt;br/&gt;&amp;gt;simple soft-fork.  The article points out that bitcoin&amp;#39;s auction&lt;br/&gt;&amp;gt;model for transaction fees / inclusion in a block is broken in the&lt;br/&gt;&amp;gt;sense that it does not achieve maximum clearing price* and to prevent&lt;br/&gt;&amp;gt;strategic bidding behavior.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;(* Maximum clearing price meaning highest fee the user is willing to&lt;br/&gt;&amp;gt;   pay for the amount of time they had to wait.  In other words, miner&lt;br/&gt;&amp;gt;   income.  While this is a common requirement of academic work on&lt;br/&gt;&amp;gt;   auction protocols, it&amp;#39;s not obvious that it provides intrinsic&lt;br/&gt;&amp;gt;   benefit to bitcoin for miners to extract from users the maximum&lt;br/&gt;&amp;gt;   amount of fee the market is willing to support.  However strategic&lt;br/&gt;&amp;gt;   bidding behavior (e.g. RBF and CPFP) does have real network and&lt;br/&gt;&amp;gt;   usability costs, which a more &amp;#34;correct&amp;#34; auction model would reduce&lt;br/&gt;&amp;gt;   in some use cases.)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Bitcoin is a &amp;#34;pay your bid&amp;#34; auction, where the user makes strategic&lt;br/&gt;&amp;gt;calculations to determine what bid (=fee) is likely to get accepted&lt;br/&gt;&amp;gt;within the window of time in which they want confirmation.  This bid&lt;br/&gt;&amp;gt;can then be adjusted through some combination of RBF or CPFP.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The authors suggest moving to a &amp;#34;pay lowest winning bid&amp;#34; model where&lt;br/&gt;&amp;gt;all transactions pay only the smallest fee rate paid by any&lt;br/&gt;&amp;gt;transaction in the block, for which the winning strategy is to bid the&lt;br/&gt;&amp;gt;maximum amount you are willing to pay to get the transaction&lt;br/&gt;&amp;gt;confirmed:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Users can then simply set their bids truthfully to exactly the&lt;br/&gt;&amp;gt;&amp;gt; amount they are willing to pay to transact, and do not need to&lt;br/&gt;&amp;gt;&amp;gt; utilize fee estimate mechanisms, do not resort to bid shading and do&lt;br/&gt;&amp;gt;&amp;gt; not need to adjust transaction fees (via replace-by-fee mechanisms)&lt;br/&gt;&amp;gt;&amp;gt; if the mempool grows.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Unlike other proposed fixes to the fee model, this is not trivially&lt;br/&gt;&amp;gt;broken by paying the miner out of band.  If you pay out of band fee&lt;br/&gt;&amp;gt;instead of regular fee, then your transaction cannot be included with&lt;br/&gt;&amp;gt;other regular fee paying transactions without the miner giving up all&lt;br/&gt;&amp;gt;regular fee income.  Any transaction paying less fee in-band than the&lt;br/&gt;&amp;gt;otherwise minimum fee rate needs to also provide ~1Mvbyte * fee rate&lt;br/&gt;&amp;gt;difference fee to make up for that lost income.  So out of band fee is&lt;br/&gt;&amp;gt;only realistically considered when it pays on top of a regular feerate&lt;br/&gt;&amp;gt;paying transaction that would have been included in the block anyway.&lt;br/&gt;&amp;gt;And what would be the point of that?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;As an original contribution, I would like to note that something&lt;br/&gt;&amp;gt;strongly resembling this proposal could be soft-forked in very easily.&lt;br/&gt;&amp;gt;The shortest explanation is:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    For scriptPubKey outputs of the form &amp;#34;&amp;lt;max-42-byte-push&amp;gt;&amp;#34;, where&lt;br/&gt;&amp;gt;    the pushed data evaluates as true, a consensus rule is added that&lt;br/&gt;&amp;gt;    the coinbase must pay any fee in excess of the minimum fee rate&lt;br/&gt;&amp;gt;    for the block to the push value, which is a scriptPubKey.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Beyond fixing the perceived problems of bitcoin&amp;#39;s fee auction model&lt;br/&gt;&amp;gt;leading to costly strategic behavior (whether that is a problem is a&lt;br/&gt;&amp;gt;topic open to debate!), this would have the additional benefits of:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    1. Allowing pre-signed transactions, of payment channel close-out&lt;br/&gt;&amp;gt;       for example, to provide sufficient fee for confirmation without&lt;br/&gt;&amp;gt;       knowledge of future rates or overpaying or trusting a wallet to&lt;br/&gt;&amp;gt;       be online to provide CPFP fee updates.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    2. Allowing explicit fees in multi-party transaction creation&lt;br/&gt;&amp;gt;       protocols where final transaction sizes are not known prior to&lt;br/&gt;&amp;gt;       signing by one or more of the parties, while again not&lt;br/&gt;&amp;gt;       overpaying or trusting on CPFP, etc.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    3. Allowing applications with expensive network access to pay&lt;br/&gt;&amp;gt;       reasonable fees for quick confirmation, without overpaying or&lt;br/&gt;&amp;gt;       querying a trusted fee estimator.  Blockstream Satellite helps&lt;br/&gt;&amp;gt;       here, but rebateable fees provides an alternative option when&lt;br/&gt;&amp;gt;       full block feeds are not available for whatever reason.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Using a fee rebate would carry a marginal cost of 70-100 vbytes per&lt;br/&gt;&amp;gt;instance.  This makes it a rather expensive feature, and therefore in&lt;br/&gt;&amp;gt;my own estimation not something that is likely to be used by most&lt;br/&gt;&amp;gt;transactions today.  However the cost is less than CPFP, and so I&lt;br/&gt;&amp;gt;expect that it would be a heavily used feature in things like payment&lt;br/&gt;&amp;gt;channel refund and uncooperative close-out transactions.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Here is a more worked out proposal, suitable for critiquing:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;1. A transaction is allowed to specify an _Implicit Fee_, as usual, as&lt;br/&gt;&amp;gt;   well as one or more explicit _Rebateable Fees_.  A rebateable fee&lt;br/&gt;&amp;gt;   is an ouput with a scriptPubKey that consists of a single, minimal,&lt;br/&gt;&amp;gt;   nonzero push of up to 42 bytes.  Note that this is an always-true&lt;br/&gt;&amp;gt;   script that requires no signature to spend.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;2. The _Fee Rate_ of a transaction is a fractional number equal to the&lt;br/&gt;&amp;gt;   combined implicit and rebateable fee divided by the size/weight of&lt;br/&gt;&amp;gt;   the transaction.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;   (A nontrivial complication of this, which I will punt on for the&lt;br/&gt;&amp;gt;    moment, is how to group transactions for fee rate calculation such&lt;br/&gt;&amp;gt;    that CPFP doesn&amp;#39;t bring down the minimum fee rate of the block,&lt;br/&gt;&amp;gt;    but to do so with rules that are both simple, because this is&lt;br/&gt;&amp;gt;    consensus code; and fair, so as to prevent unintended use of a&lt;br/&gt;&amp;gt;    rebate fee by children or siblings.)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;3. The smallest fee rate of any non-coinbase transaction (or&lt;br/&gt;&amp;gt;   transaction group) is the _Marginal Fee Rate_ for the block and is&lt;br/&gt;&amp;gt;   included in the witness for the block.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;4. The verifier checks that each transaction or transaction grouping&lt;br/&gt;&amp;gt;   provides a fee greater than or equal to the threshold fee rate, and&lt;br/&gt;&amp;gt;   at least one is exactly equal to the marginal rate (which proves&lt;br/&gt;&amp;gt;   the marginal rate is the minimum for the block).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;This establishes the marginal fee rate, which alternatively expressed&lt;br/&gt;&amp;gt;is epsilon less than the fee rate that would have been required to get&lt;br/&gt;&amp;gt;into the block, assuming there was sufficient space.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;5. A per-block _Dust Threshold_ is calculated using the marginal fee&lt;br/&gt;&amp;gt;   rate and reasonable assumptions about transaction size.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;6. For each transaction (or transaction group), the _Required Fee_ is&lt;br/&gt;&amp;gt;   calculated to be the marginal fee rate times the size/weight of the&lt;br/&gt;&amp;gt;   transaction.  Implicit fee is applied towards this required fee and&lt;br/&gt;&amp;gt;   added to the _Miner&amp;#39;s Fee Tally_.  Any excess implicit fee&lt;br/&gt;&amp;gt;   remaining is added to the _Implicit Fee Tally_.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;7. For each transaction (group), the rebateable fees contribute&lt;br/&gt;&amp;gt;   proportionally towards towards meeting the remaining marginal fee&lt;br/&gt;&amp;gt;   requirement, if the implicit fee failed to do so.  Of what&amp;#39;s left,&lt;br/&gt;&amp;gt;   one of two things can happen based on how much is remaining:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;     A. If greater than or equal to the dust threshold is remaining in&lt;br/&gt;&amp;gt;        a specific rebateable fee, a requirement is added that an&lt;br/&gt;&amp;gt;        output be provided in the coinbase paying the remaining fee to&lt;br/&gt;&amp;gt;        a scriptPubKey equal to the push value (see #1 above).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;        (With due consideration for what happens if a script is reused&lt;br/&gt;&amp;gt;         in multiple explicit fees, of course.)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;     B. Otherwise, add remaining dust to the implicit fee tally.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;8. For the very last transaction in the block, the miner builds a&lt;br/&gt;&amp;gt;   transaction claiming ALL of these explicit fees, and with a single&lt;br/&gt;&amp;gt;   zero-valued null/data output, thereby forwarding the fees on to the&lt;br/&gt;&amp;gt;   coinbase, as far as old clients are concerned.  This is only&lt;br/&gt;&amp;gt;   concerns consensus in that this final transaction does not change&lt;br/&gt;&amp;gt;   any of the previously mentioned tallies.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;   (Aside: the zero-valued output is merely required because all&lt;br/&gt;&amp;gt;    transactions must have at least one output. It does however make a&lt;br/&gt;&amp;gt;    great location to put commitments for extensions to the block&lt;br/&gt;&amp;gt;    header, as being on the right-most path of the Merkle tree can&lt;br/&gt;&amp;gt;    mean shorter proofs.)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;9. The miner is allowed to claim subsidy &#43; the miner&amp;#39;s fee tally &#43; the&lt;br/&gt;&amp;gt;   explicit fee tally for themselves in the coinbase.  The coinbase is&lt;br/&gt;&amp;gt;   also required to contain all rebated fees above the dust threshold.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;In summary, all transactions have the same actual fee rate equal to&lt;br/&gt;&amp;gt;the minimum fee rate that went into the creation of the block, which&lt;br/&gt;&amp;gt;is basically the marginal fee rate for transaction inclusion.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;A variant of this proposal is that instead of giving the implicit fee&lt;br/&gt;&amp;gt;tally to the miner (the excess non-rebateable fees beyond the required&lt;br/&gt;&amp;gt;minimum), it is carried forward from block to block in the final&lt;br/&gt;&amp;gt;transaction and the miner is allowed to claim some average of past&lt;br/&gt;&amp;gt;fees, thereby smoothing out fees or providing some other incentive.&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/20170929/8028683c/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170929/8028683c/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:06:33Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqszgvemy4e2kwwtzg0kll5u5tv9pwfftvwnuyxtrldqryh65cm07mszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5taulc9</id>
    
      <title type="html">📅 Original date posted:2017-07-07 📝 Original message:This ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqszgvemy4e2kwwtzg0kll5u5tv9pwfftvwnuyxtrldqryh65cm07mszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5taulc9" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2ual3707y9e9jf2wagmkej7q2fxeu2uq4x4kak2ev0en3vjjthacnuzr6s&#39;&gt;nevent1q…zr6s&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-07-07&lt;br/&gt;📝 Original message:This is horribly under-specified (ie not possible to implement from what&lt;br/&gt;you&amp;#39;ve written, and your implementation doesn&amp;#39;t match at all, last I heard).&lt;br/&gt;&lt;br/&gt;&amp;gt; Specification&lt;br/&gt;&lt;br/&gt;&amp;gt; The plain block size is defined as the serialized block size without&lt;br/&gt;&amp;gt; witness programs.&lt;br/&gt;&amp;gt; Deploy a modified BIP91 to activate Segwit. The only modification is&lt;br/&gt;&amp;gt; that the signal &amp;#34;segsignal&amp;#34; is replaced by &amp;#34;segwit2x&amp;#34;.&lt;br/&gt;&lt;br/&gt;This is not a protocol change. I have no idea why you included it in the&lt;br/&gt;&amp;#34;specification&amp;#34; section.&lt;br/&gt;&lt;br/&gt;&amp;gt; If segwit2x (BIP91 signal) activates at block N, then block N&#43;12960&lt;br/&gt;&amp;gt; activates a new plain block size limit of 2 MB (2,000,000 bytes). In&lt;br/&gt;&amp;gt; this case, at block N&#43;12960 a hard-fork occurs.&lt;br/&gt;&lt;br/&gt;This is not a hard fork, simply adding a new limit is a soft fork. You&lt;br/&gt;appear to be confused - as originally written, AFAIR, Jeff&amp;#39;s btc1 branch&lt;br/&gt;did not increase the block size, your specification here matches that&lt;br/&gt;original change, and does not increase the block size.&lt;br/&gt;&lt;br/&gt;&amp;gt; The block that activates the hard-fork must have a plain block size&lt;br/&gt;&amp;gt; greater than 1 MB.&lt;br/&gt;&lt;br/&gt;There is no hard fork, and this would violate consensus rules. Not sure&lt;br/&gt;what you mean. If you do add a hard fork to this BIP, you really need to&lt;br/&gt;flip the hard fork bit.&lt;br/&gt;&lt;br/&gt;&amp;gt; Any transaction with a non-witness serialized size exceeding 1,000,000&lt;br/&gt;&amp;gt; is invalid.&lt;br/&gt;&lt;br/&gt;This is far from sufficient to protect from DoS attacks, you really&lt;br/&gt;should take a look through the mailing list archives and read some of&lt;br/&gt;the old discussions on the issues here.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 07/07/17 18:25, Sergio Demian Lerner via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; Hello,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Here is a BIP that matches the reference code that the Segwit2x group&lt;br/&gt;&amp;gt; has built and published a week ago. &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This BIP and code satisfies the requests of a large part of the Bitcoin&lt;br/&gt;&amp;gt; community for a moderate increase in the Bitcoin non-witness block space&lt;br/&gt;&amp;gt; coupled with the activation of Segwit.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; You can find the BIP draft in the following link:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/SergioDemianLerner/BIPs/blob/master/BIP-draft-sergiolerner-segwit2x.mediawiki&#34;&gt;https://github.com/SergioDemianLerner/BIPs/blob/master/BIP-draft-sergiolerner-segwit2x.mediawiki&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Reference source was kindly provided by the Segwit2x group.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Best regards,&lt;br/&gt;&amp;gt;  Sergio.&lt;br/&gt;&amp;gt; &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;
    </content>
    <updated>2023-06-07T18:04:02Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsp2m6dskdtmpqy33vum56zman6v5qmd6zmfx3dg43ry3npka7wtqszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5jf554x</id>
    
      <title type="html">📅 Original date posted:2017-06-01 📝 Original message:Quick ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsp2m6dskdtmpqy33vum56zman6v5qmd6zmfx3dg43ry3npka7wtqszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5jf554x" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsy9t3ssxeu9g23jllwh0xze2lu57ql38wle807rjmvffkle8a2zvsruh5tl&#39;&gt;nevent1q…h5tl&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-06-01&lt;br/&gt;📝 Original message:Quick comment before I finish reading it completely, looks like you have no way to match the input prevouts being spent, which is rather nice from a &amp;#34;watch for this output being spent&amp;#34; pov.&lt;br/&gt;&lt;br/&gt;On June 1, 2017 3:01:14 PM EDT, Olaoluwa Osuntokun via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;Hi y&amp;#39;all,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Alex Akselrod and I would like to propose a new light client BIP for&lt;br/&gt;&amp;gt;consideration:&lt;br/&gt;&amp;gt;*&lt;br/&gt;&amp;gt;&lt;a href=&#34;https://github.com/Roasbeef/bips/blob/master/gcs_light_client.mediawiki&#34;&gt;https://github.com/Roasbeef/bips/blob/master/gcs_light_client.mediawiki&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;This BIP proposal describes a concrete specification (along with a&lt;br/&gt;&amp;gt;reference implementations[1][2][3]) for the much discussed client-side&lt;br/&gt;&amp;gt;filtering reversal of BIP-37. The precise details are described in the&lt;br/&gt;&amp;gt;BIP, but as a summary: we&amp;#39;ve implemented a new light-client mode that&lt;br/&gt;&amp;gt;uses&lt;br/&gt;&amp;gt;client-side filtering based off of Golomb-Rice coded sets. Full-nodes&lt;br/&gt;&amp;gt;maintain an additional index of the chain, and serve this compact&lt;br/&gt;&amp;gt;filter&lt;br/&gt;&amp;gt;(the index) to light clients which request them. Light clients then&lt;br/&gt;&amp;gt;fetch&lt;br/&gt;&amp;gt;these filters, query the locally and _maybe_ fetch the block if a&lt;br/&gt;&amp;gt;relevant&lt;br/&gt;&amp;gt;item matches. The cool part is that blocks can be fetched from _any_&lt;br/&gt;&amp;gt;source, once the light client deems it necessary. Our primary&lt;br/&gt;&amp;gt;motivation&lt;br/&gt;&amp;gt;for this work was enabling a light client mode for lnd[4] in order to&lt;br/&gt;&amp;gt;support a more light-weight back end paving the way for the usage of&lt;br/&gt;&amp;gt;Lightning on mobile phones and other devices. We&amp;#39;ve integrated neutrino&lt;br/&gt;&amp;gt;as a back end for lnd, and will be making the updated code public very&lt;br/&gt;&amp;gt;soon.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;One specific area we&amp;#39;d like feedback on is the parameter selection.&lt;br/&gt;&amp;gt;Unlike&lt;br/&gt;&amp;gt;BIP-37 which allows clients to dynamically tune their false positive&lt;br/&gt;&amp;gt;rate,&lt;br/&gt;&amp;gt;our proposal uses a _fixed_ false-positive. Within the document, it&amp;#39;s&lt;br/&gt;&amp;gt;currently specified as P = 1/2^20. We&amp;#39;ve done a bit of analysis and&lt;br/&gt;&amp;gt;optimization attempting to optimize the following sum:&lt;br/&gt;&amp;gt;filter_download_bandwidth &#43; expected_block_false_positive_bandwidth.&lt;br/&gt;&amp;gt;Alex&lt;br/&gt;&amp;gt;has made a JS calculator that allows y&amp;#39;all to explore the affect of&lt;br/&gt;&amp;gt;tweaking the false positive rate in addition to the following&lt;br/&gt;&amp;gt;variables:&lt;br/&gt;&amp;gt;the number of items the wallet is scanning for, the size of the blocks,&lt;br/&gt;&amp;gt;number of blocks fetched, and the size of the filters themselves. The&lt;br/&gt;&amp;gt;calculator calculates the expected bandwidth utilization using the CDF&lt;br/&gt;&amp;gt;of&lt;br/&gt;&amp;gt;the Geometric Distribution. The calculator can be found here:&lt;br/&gt;&amp;gt;&lt;a href=&#34;https://aakselrod.github.io/gcs_calc.html&#34;&gt;https://aakselrod.github.io/gcs_calc.html&lt;/a&gt;. Alex also has an empirical&lt;br/&gt;&amp;gt;script he&amp;#39;s been running on actual data, and the results seem to match&lt;br/&gt;&amp;gt;up&lt;br/&gt;&amp;gt;rather nicely.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;We we&amp;#39;re excited to see that Karl Johan Alm (kallewoof) has done some&lt;br/&gt;&amp;gt;(rather extensive!) analysis of his own, focusing on a distinct&lt;br/&gt;&amp;gt;encoding&lt;br/&gt;&amp;gt;type [5]. I haven&amp;#39;t had the time yet to dig into his report yet, but I&lt;br/&gt;&amp;gt;think I&amp;#39;ve read enough to extract the key difference in our encodings:&lt;br/&gt;&amp;gt;his&lt;br/&gt;&amp;gt;filters use a binomial encoding _directly_ on the filter contents, will&lt;br/&gt;&amp;gt;we&lt;br/&gt;&amp;gt;instead create a Golomb-Coded set with the contents being _hashes_ (we&lt;br/&gt;&amp;gt;use&lt;br/&gt;&amp;gt;siphash) of the filter items.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Using a fixed fp=20, I have some stats detailing the total index size,&lt;br/&gt;&amp;gt;as&lt;br/&gt;&amp;gt;well as averages for both mainnet and testnet. For mainnet, using the&lt;br/&gt;&amp;gt;filter contents as currently described in the BIP (basic &#43; extended),&lt;br/&gt;&amp;gt;the&lt;br/&gt;&amp;gt;total size of the index comes out to 6.9GB. The break down is as&lt;br/&gt;&amp;gt;follows:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    * total size:  6976047156&lt;br/&gt;&amp;gt;    * total avg:  14997.220622758816&lt;br/&gt;&amp;gt;    * total median:  3801&lt;br/&gt;&amp;gt;    * total max:  79155&lt;br/&gt;&amp;gt;    * regular size:  3117183743&lt;br/&gt;&amp;gt;    * regular avg:  6701.372750217131&lt;br/&gt;&amp;gt;    * regular median:  1734&lt;br/&gt;&amp;gt;    * regular max:  67533&lt;br/&gt;&amp;gt;    * extended size:  3858863413&lt;br/&gt;&amp;gt;    * extended avg:  8295.847872541684&lt;br/&gt;&amp;gt;    * extended median:  2041&lt;br/&gt;&amp;gt;    * extended max:  52508&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;In order to consider the average&#43;median filter sizes in a world worth&lt;br/&gt;&amp;gt;larger blocks, I also ran the index for testnet:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;    * total size:  2753238530&lt;br/&gt;&amp;gt;    * total avg:  5918.95736054141&lt;br/&gt;&amp;gt;    * total median:  60202&lt;br/&gt;&amp;gt;    * total max:  74983&lt;br/&gt;&amp;gt;    * regular size:  1165148878&lt;br/&gt;&amp;gt;    * regular avg:  2504.856172982827&lt;br/&gt;&amp;gt;    * regular median:  24812&lt;br/&gt;&amp;gt;    * regular max:  64554&lt;br/&gt;&amp;gt;    * extended size:  1588089652&lt;br/&gt;&amp;gt;    * extended avg:  3414.1011875585823&lt;br/&gt;&amp;gt;    * extended median:  35260&lt;br/&gt;&amp;gt;    * extended max:  41731&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Finally, here are the testnet stats which take into account the&lt;br/&gt;&amp;gt;increase&lt;br/&gt;&amp;gt;in the maximum filter size due to segwit&amp;#39;s block-size increase. The max&lt;br/&gt;&amp;gt;filter sizes are a bit larger due to some of the habitual blocks I&lt;br/&gt;&amp;gt;created last year when testing segwit (transactions with 30k inputs,&lt;br/&gt;&amp;gt;30k&lt;br/&gt;&amp;gt;outputs, etc).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;     * total size:  585087597&lt;br/&gt;&amp;gt;     * total avg:  520.8839608674402&lt;br/&gt;&amp;gt;     * total median:  20&lt;br/&gt;&amp;gt;     * total max:  164598&lt;br/&gt;&amp;gt;     * regular size:  299325029&lt;br/&gt;&amp;gt;     * regular avg:  266.4790836307566&lt;br/&gt;&amp;gt;     * regular median:  13&lt;br/&gt;&amp;gt;     * regular max:  164583&lt;br/&gt;&amp;gt;     * extended size:  285762568&lt;br/&gt;&amp;gt;     * extended avg:  254.4048772366836&lt;br/&gt;&amp;gt;     * extended median:  7&lt;br/&gt;&amp;gt;     * extended max:  127631&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;For those that are interested in the raw data, I&amp;#39;ve uploaded a CSV file&lt;br/&gt;&amp;gt;of raw data for each block (mainnet &#43; testnet), which can be found&lt;br/&gt;&amp;gt;here:&lt;br/&gt;&amp;gt;     * mainnet: (14MB):&lt;br/&gt;&amp;gt;&lt;a href=&#34;https://www.dropbox.com/s/4yk2u8dj06njbuv/mainnet-gcs-stats.csv?dl=0&#34;&gt;https://www.dropbox.com/s/4yk2u8dj06njbuv/mainnet-gcs-stats.csv?dl=0&lt;/a&gt;&lt;br/&gt;&amp;gt;     * testnet: (25MB):&lt;br/&gt;&amp;gt;&lt;a href=&#34;https://www.dropbox.com/s/w7dmmcbocnmjfbo/gcs-stats-testnet.csv?dl=0&#34;&gt;https://www.dropbox.com/s/w7dmmcbocnmjfbo/gcs-stats-testnet.csv?dl=0&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;We look forward to getting feedback from all of y&amp;#39;all!&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;-- Laolu&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;[1]: &lt;a href=&#34;https://github.com/lightninglabs/neutrino&#34;&gt;https://github.com/lightninglabs/neutrino&lt;/a&gt;&lt;br/&gt;&amp;gt;[2]: &lt;a href=&#34;https://github.com/Roasbeef/btcd/tree/segwit-cbf&#34;&gt;https://github.com/Roasbeef/btcd/tree/segwit-cbf&lt;/a&gt;&lt;br/&gt;&amp;gt;[3]: &lt;a href=&#34;https://github.com/Roasbeef/btcutil/tree/gcs/gcs&#34;&gt;https://github.com/Roasbeef/btcutil/tree/gcs/gcs&lt;/a&gt;&lt;br/&gt;&amp;gt;[4]: &lt;a href=&#34;https://github.com/lightningnetwork/lnd/&#34;&gt;https://github.com/lightningnetwork/lnd/&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;-- Laolu
    </content>
    <updated>2023-06-07T18:02:04Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqspmj74uy560j9dk3gaw0mrxeeghxl6rmwzkuj6z0tkqz4hvknsdnqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5qdagxp</id>
    
      <title type="html">📅 Original date posted:2017-05-26 📝 Original message:A more ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqspmj74uy560j9dk3gaw0mrxeeghxl6rmwzkuj6z0tkqz4hvknsdnqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5qdagxp" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsfhx7aa0m60rdk5v647epvakflpw0yevzva7dm7sw2gls9dlf043c2gv4mt&#39;&gt;nevent1q…v4mt&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-05-26&lt;br/&gt;📝 Original message:A more important consideration than segwit&amp;#39;s timeout is when code can be&lt;br/&gt;released, which will no doubt be several months after SegWit&amp;#39;s current&lt;br/&gt;timeout.&lt;br/&gt;&lt;br/&gt;Greg&amp;#39;s proposed 6 months seems much more reasonable to me, assuming its&lt;br/&gt;still many months after the formal release of code implementing it.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 05/24/17 04:26, Rusty Russell via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; Gregory Maxwell via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt;&lt;br/&gt;&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt; Based on how fast we saw segwit adoption, why is the BIP149 timeout so&lt;br/&gt;&amp;gt;&amp;gt; far in the future?&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; It seems to me that it could be six months after release and hit the&lt;br/&gt;&amp;gt;&amp;gt; kind of density required to make a stable transition.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Agreed, I would suggest 16th December, 2017 (otherwise, it should be&lt;br/&gt;&amp;gt; 16th January 2018; during EOY holidays seems a bad idea).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This means this whole debacle has delayed segwit exactly 1 (2) month(s)&lt;br/&gt;&amp;gt; beyond what we&amp;#39;d have if it used BIP8 in the first place.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers,&lt;br/&gt;&amp;gt; Rusty.&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;
    </content>
    <updated>2023-06-07T18:01:46Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsp56qmx4xnrazd4qz0hatm8t4njkry8ke7u7tjyltx8zjezz43v5qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5pn99wx</id>
    
      <title type="html">📅 Original date posted:2017-05-26 📝 Original message:While ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsp56qmx4xnrazd4qz0hatm8t4njkry8ke7u7tjyltx8zjezz43v5qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5pn99wx" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsfmqqwrv0tfr35yjym2f0an9sdjx9jw89h5qkvk2ngs0jy33tfsrqdtjqt9&#39;&gt;nevent1q…jqt9&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-05-26&lt;br/&gt;📝 Original message:While I&amp;#39;m not 100% convinced there are strict technical reasons for needing to wait till after segwit is active before a hard fork can be started (you can, after all, activate segwit as a part of the HF), there are useful design and conservatism reasons (not causing massive discontinuity in fee market, handling major system changes one at a time, etc).&lt;br/&gt;&lt;br/&gt;Still, totally agree that attempting to design, code, and test a new hard fork in six months, let alone deploy it, let alone simultaneously with segwit, is a joke and fails to take seriously the investment many have made in the bitcoin system. Previous, rather simple, soft forks required similar if not more development time, not counting deployment and activation time.&lt;br/&gt;&lt;br/&gt;If the community is unable to form consensus around segwit alone for political reasons, further research into hard fork design may help, but even forks tied together would nearly certainly need to activate months apart.&lt;br/&gt;&lt;br/&gt;On May 26, 2017 5:30:37 PM EDT, James Hilliard &amp;lt;james.hilliard1 at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;Mandatory signalling is the only way to lock in segwit with less than&lt;br/&gt;&amp;gt;95% hashpower without a full redeployment(which for a number of&lt;br/&gt;&amp;gt;technical reasons isn&amp;#39;t feasible until after the existing segwit&lt;br/&gt;&amp;gt;deployment expires). There&amp;#39;s no reason not to signal BIP141 bit 1&lt;br/&gt;&amp;gt;while also signalling bit 4, but you would want to use bit 4 to&lt;br/&gt;&amp;gt;coordinate bit 1 mandatory signalling.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;It would not be feasible to schedule any HF until one can be&lt;br/&gt;&amp;gt;completely sure BIP141 is active(at least not without waiting for the&lt;br/&gt;&amp;gt;timeout and doing a redeployment) due to activation/p2p codepath&lt;br/&gt;&amp;gt;complexity. This is why the mandatory signalling period is needed.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Since it is likely a HF will take months of development and testing I&lt;br/&gt;&amp;gt;see this or something similar as the fastest safe path forward:&lt;br/&gt;&amp;gt;1. Use BIP91 or similar to activate BIP141 via mandatory signalling&lt;br/&gt;&amp;gt;ASAP(likely using bit 4)&lt;br/&gt;&amp;gt;2. Develop HF code based on assumption that BIP141 is active so that&lt;br/&gt;&amp;gt;you only have to test the BIP141-&amp;gt;HF upgrade/activation codepath.&lt;br/&gt;&amp;gt;3. Deploy HF after BIP141 lock in(bit 4 can be reused again here since&lt;br/&gt;&amp;gt;this will be after BIP91 expiration)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;When rolling out some features it often makes sense to combine them&lt;br/&gt;&amp;gt;into a single fork for example BIP&amp;#39;s 68, 112, 113 were rolled out at&lt;br/&gt;&amp;gt;the same time as are BIP&amp;#39;s 141, 143, 144, 145 for segwit, however a HF&lt;br/&gt;&amp;gt;has required features that would conflict with with features in the&lt;br/&gt;&amp;gt;segwit rollout which is why attempting to simultaneously deploy them&lt;br/&gt;&amp;gt;would cause major complexity/testing issues(you would have to deal&lt;br/&gt;&amp;gt;with feature conflict resolution for multiple potential activation&lt;br/&gt;&amp;gt;scenarios). By doing a staged rollout of segwit and then a HF you get&lt;br/&gt;&amp;gt;a single testable upgrade path.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Based on past development experiences I wouldn&amp;#39;t expect a 6 month&lt;br/&gt;&amp;gt;timeline to be realistic for a properly tested HF, but this proposed&lt;br/&gt;&amp;gt;upgrade path should be the fastest available for both SegWit and a HF&lt;br/&gt;&amp;gt;regardless.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;On Fri, May 26, 2017 at 4:10 PM, Jacob Eliosoff via bitcoin-dev&lt;br/&gt;&amp;gt;&amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; Just to clarify one thing, what I described differs from BIP91 in&lt;br/&gt;&amp;gt;that&lt;br/&gt;&amp;gt;&amp;gt; there&amp;#39;s no orphaning.  Just when Segwit2MB support reaches 80%, those&lt;br/&gt;&amp;gt;80%&lt;br/&gt;&amp;gt;&amp;gt; join everyone else in signaling for BIP141.  BIP91 orphaning is an&lt;br/&gt;&amp;gt;optional&lt;br/&gt;&amp;gt;&amp;gt; addition but my guess is it wouldn&amp;#39;t be needed.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On May 26, 2017 4:02 PM, &amp;#34;Matt Corallo&amp;#34; &amp;lt;lf-lists at mattcorallo.com&amp;gt;&lt;br/&gt;&amp;gt;wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Your proposal seems to be simply BIP 91 tied to the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; as-yet-entirely-undefined hard fork Barry et al proposed.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Using James&amp;#39; BIP 91 instead of the Barry-bit-4/5/whatever proposal,&lt;br/&gt;&amp;gt;as&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; you propose, would make the deployment on the incredibly short&lt;br/&gt;&amp;gt;timeline&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Barry et al proposed slightly more realistic, though I would expect&lt;br/&gt;&amp;gt;to&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; see hard fork code readily available and well-tested at this point&lt;br/&gt;&amp;gt;in&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; order to meet that timeline.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Ultimately, due to their aggressive timeline, the Barry et al&lt;br/&gt;&amp;gt;proposal&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; is incredibly unlikely to meet the requirements of a&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; multi-billion-dollar system, and continued research into meeting the&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; spirit, not the text, of their agreement seems warranted.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; Matt&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; On 05/26/17 17:47, Jacob Eliosoff via bitcoin-dev wrote:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; Forgive me if this is a dumb question.  Suppose that rather than&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; directly activating segwit, the Silbert/NYC Segwit2MB proposal&amp;#39;s&lt;br/&gt;&amp;gt;lock-in&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; just triggered BIP141 signaling (plus later HF).  Would that avoid&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; incompatibility with existing BIP141 nodes, and get segwit&lt;br/&gt;&amp;gt;activated&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; sooner?  Eg:&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; - Bit 4 (or bit 5 or whatever, now that BIP91 uses 4) signals&lt;br/&gt;&amp;gt;support&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; for &amp;#34;segwit now, HF (TBD) at scheduled date (Nov 23?)&amp;#34;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; - If bit 4 support reaches 80%, it locks in two things: the&lt;br/&gt;&amp;gt;scheduled HF&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; (conditional on segwit), and *immediately* turning on bit 1&lt;br/&gt;&amp;gt;(BIP141&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; support)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; I realize this would still leave problems like the aggressive HF&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; schedule, possible chain split at the HF date between Segwit2MB&lt;br/&gt;&amp;gt;nodes&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; and any remaining BIP141 nodes, etc.  My focus here is how&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; incompatibility with existing nodes could be minimized.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; (BIP91 could also be used if BIP141 support still fell short of&lt;br/&gt;&amp;gt;95%.&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; But if Segwit2MB support reaches 80%, it seems likely that an&lt;br/&gt;&amp;gt;additional&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; 15% will support BIP141-without-HF.)&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; _______________________________________________&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt;&amp;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;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&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;
    </content>
    <updated>2023-06-07T18:01:24Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsvmflzkhc03uyrmfv2d2lz2zc6rdffw4ksvd5qphcxecu8w2002rszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5c56m52</id>
    
      <title type="html">📅 Original date posted:2017-05-10 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsvmflzkhc03uyrmfv2d2lz2zc6rdffw4ksvd5qphcxecu8w2002rszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5c56m52" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsqxyxslqzklv2k2wk93akfmeyugau2zc6ylmxuwajx5tr6raq45fsrzcxzl&#39;&gt;nevent1q…cxzl&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-05-10&lt;br/&gt;📝 Original message:I&amp;#39;m highly unconvinced of this point. Sure, you can change fewer lines&lt;br/&gt;of code, but if the result is, lets be honest, shit, how do you believe&lt;br/&gt;its going to have a higher chance of getting acceptance from the broader&lt;br/&gt;community? I think you&amp;#39;re over-optimizing in the wrong direction.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 05/09/17 20:58, Sergio Demian Lerner wrote:&lt;br/&gt;&amp;gt; I agree with you Matt. &lt;br/&gt;&amp;gt; I&amp;#39;m artificially limiting myself to changing the parameters of Segwit as&lt;br/&gt;&amp;gt; it is.. &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This is motivated by the idea that a consensual HF in the current state&lt;br/&gt;&amp;gt; would have greater chance of acceptance if it changes the minimum number&lt;br/&gt;&amp;gt; of lines of code.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On Tue, May 9, 2017 at 5:13 PM, Gregory Maxwell &amp;lt;greg at xiph.org&lt;br/&gt;&amp;gt; &amp;lt;mailto:greg at xiph.org&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     On Tue, May 9, 2017 at 7:42 PM, Matt Corallo&lt;br/&gt;&amp;gt;     &amp;lt;lf-lists at mattcorallo.com &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;     &amp;gt; at beast.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     Rawr.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-07T18:01:00Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsfg64vkghwawm4q4v9plykh04j35mysuhwh98y3w50upgcwhe97uszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5jjsa73</id>
    
      <title type="html">📅 Original date posted:2017-05-10 📝 Original message:I ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsfg64vkghwawm4q4v9plykh04j35mysuhwh98y3w50upgcwhe97uszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5jjsa73" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsqgmzseertzjy4xqkqvxzatjufa705hns0wwycam2wkfkswdz4prcr3hfc4&#39;&gt;nevent1q…hfc4&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-05-10&lt;br/&gt;📝 Original message:I highly disagree about the &amp;#34;not shit&amp;#34; part.  You&amp;#39;re advocating for throwing away one of the key features of Segwit, something that is very important for Bitcoin&amp;#39;s long-term reliability! If you think doing so is going to somehow help get support in a divided community, I don&amp;#39;t understand how - more likely you&amp;#39;re only going to make things significantly worse.&lt;br/&gt;&lt;br/&gt;On May 10, 2017 11:25:27 AM EDT, Sergio Demian Lerner &amp;lt;sergio.d.lerner at gmail.com&amp;gt; wrote:&lt;br/&gt;&amp;gt;Jaja. But no shit. Not perfect maybe, but Bitcoin was never perfect. It&lt;br/&gt;&amp;gt;has&lt;br/&gt;&amp;gt;always been good enough. And at the beginning it was quite simple.&lt;br/&gt;&amp;gt;Simple&lt;br/&gt;&amp;gt;enough it allowed gradual improvements that anyone with some technical&lt;br/&gt;&amp;gt;background could understand. Now we need a full website to explain an&lt;br/&gt;&amp;gt;improvement.&lt;br/&gt;&amp;gt;But this is becoming more and more out of topic.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;On Wed, May 10, 2017 at 11:05 AM, Matt Corallo&lt;br/&gt;&amp;gt;&amp;lt;lf-lists at mattcorallo.com&amp;gt;&lt;br/&gt;&amp;gt;wrote:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I&amp;#39;m highly unconvinced of this point. Sure, you can change fewer&lt;br/&gt;&amp;gt;lines&lt;br/&gt;&amp;gt;&amp;gt; of code, but if the result is, lets be honest, shit, how do you&lt;br/&gt;&amp;gt;believe&lt;br/&gt;&amp;gt;&amp;gt; its going to have a higher chance of getting acceptance from the&lt;br/&gt;&amp;gt;broader&lt;br/&gt;&amp;gt;&amp;gt; community? I think you&amp;#39;re over-optimizing in the wrong direction.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Matt&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; On 05/09/17 20:58, Sergio Demian Lerner wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; I agree with you Matt.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; I&amp;#39;m artificially limiting myself to changing the parameters of&lt;br/&gt;&amp;gt;Segwit as&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; it is..&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; This is motivated by the idea that a consensual HF in the current&lt;br/&gt;&amp;gt;state&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; would have greater chance of acceptance if it changes the minimum&lt;br/&gt;&amp;gt;number&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; of lines of code.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; On Tue, May 9, 2017 at 5:13 PM, Gregory Maxwell &amp;lt;greg at xiph.org&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt; &amp;lt;mailto:greg at xiph.org&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;     On Tue, May 9, 2017 at 7:42 PM, Matt Corallo&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;     &amp;lt;lf-lists at mattcorallo.com &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;wrote:&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;     &amp;gt; at beast.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;     Rawr.&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;
    </content>
    <updated>2023-06-07T18:01:00Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsrr2zky7ctcwa50t6syrrn08vrjd9pd2wdfnxg5njlrlh5wpkn4kgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm529y4f5</id>
    
      <title type="html">📅 Original date posted:2017-05-09 📝 Original message:There ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsrr2zky7ctcwa50t6syrrn08vrjd9pd2wdfnxg5njlrlh5wpkn4kgzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm529y4f5" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdu9payhj6un7466tv3nytxxfr6sgv0smc2gd85lpgrutdcwjjhqgzn93rl&#39;&gt;nevent1q…93rl&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-05-09&lt;br/&gt;📝 Original message:There is something in between throwing the SegWit goals out the window&lt;br/&gt;(as Sergio seems to be advocating for) and having a higher discount&lt;br/&gt;ratio (which is required for the soft fork version to be useful).&lt;br/&gt;&lt;br/&gt;When I first started looking at the problem I very much wanted to reduce&lt;br/&gt;the worst-case block size (though have come around to caring a bit less&lt;br/&gt;about that thanks to all the work in FIBRE and other similar systems&lt;br/&gt;over the past year or two), but rapidly realized that just reducing the&lt;br/&gt;Segwit discount wasn&amp;#39;t really the right solution here.&lt;br/&gt;&lt;br/&gt;You might as well take the real win and reduce the cost of the input&lt;br/&gt;prevout itself so that average inputs are less expensive than outputs&lt;br/&gt;(which SegWit doesn&amp;#39;t quite achieve due to the large prevout size - 40&lt;br/&gt;bytes). This way you can reduce the discount, still get the SegWit goal,&lt;br/&gt;and get a lower ratio between worst-case and average-case block size,&lt;br/&gt;though, frankly, I&amp;#39;m less interested in the last one these days, at&lt;br/&gt;least for reasonable parameters. If you&amp;#39;re gonna look at hard forks,&lt;br/&gt;limiting yourself to just the parameters that we can tweak in a soft&lt;br/&gt;fork seems short-sighted, at beast.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 05/09/17 19:30, Gregory Maxwell wrote:&lt;br/&gt;&amp;gt; On Tue, May 9, 2017 at 7:15 PM, Sergio Demian Lerner via bitcoin-dev&lt;br/&gt;&amp;gt; &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; The capacity of Segwit(50%)&#43;2MbHF is 50% more than Segwit, and the maximum&lt;br/&gt;&amp;gt;&amp;gt; block size is the same.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; And the UTXO bloat potential is twice as large and the cost of that&lt;br/&gt;&amp;gt; UTXO bloat is significantly reduced.  So you&amp;#39;re basically gutting the&lt;br/&gt;&amp;gt; most of the gain from weight, making something incompatible, etc.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I&amp;#39;m not sure what to explain-- even that page on segwit.org explains&lt;br/&gt;&amp;gt; that the values are selected to balance worst case costs not to&lt;br/&gt;&amp;gt; optimize one to the total exclusion of others. Raw size is not very&lt;br/&gt;&amp;gt; relevant in the long run, but if your goal were to optimize for it&lt;br/&gt;&amp;gt; (which it seems to be), then the limit should be pure size.&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-07T18:00:59Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsvgy0zg952q9zmqrl0gxza2zenqq49xtevfkp5p2pzvgxt4jlfyqqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5phngq4</id>
    
      <title type="html">📅 Original date posted:2017-05-03 📝 Original message:If we ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsvgy0zg952q9zmqrl0gxza2zenqq49xtevfkp5p2pzvgxt4jlfyqqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5phngq4" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsrmsfq7qu95zxhwydjny6n2gf9f4f3tevlagu4gcfns06fkde76nqfyys6g&#39;&gt;nevent1q…ys6g&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-05-03&lt;br/&gt;📝 Original message:If we ever have a problem getting blocks, we could consider adding something to pay to receive historical blocks but luckily that isn&amp;#39;t a problem we have today - the available connection slots and bandwidth on the network today appears to be more than sufficient to saturate nearly any fully-validating node.&lt;br/&gt;&lt;br/&gt;On May 3, 2017 5:53:07 PM EDT, Gregory Maxwell via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;On Wed, May 3, 2017 at 9:08 PM, Erik Aronesty via bitcoin-dev&lt;br/&gt;&amp;gt;&amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; CONS:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The primary result would be paying people to sybil attack the network.&lt;br/&gt;&amp;gt;It&amp;#39;s far cheaper to run one node behind thousands of IPs than it is to&lt;br/&gt;&amp;gt;run many nodes.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Suggestions like this have come up many times before.&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;
    </content>
    <updated>2023-06-07T18:00:46Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs9srj3vl76xy7acgp7l9gkwcfw9yk3xf9xgsjhs8792kn3era3fzczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5mzz980</id>
    
      <title type="html">📅 Original date posted:2017-03-31 📝 Original message:Hey ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs9srj3vl76xy7acgp7l9gkwcfw9yk3xf9xgsjhs8792kn3era3fzczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5mzz980" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsxeh0mp7vj5sdqrw8g7x3d7tqyadugedhexmud92z3mu97px3233qfptrv8&#39;&gt;nevent1q…trv8&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-03-31&lt;br/&gt;📝 Original message:Hey Sergio,&lt;br/&gt;&lt;br/&gt;You appear to have ignored the last two years of Bitcoin hardfork&lt;br/&gt;research and understanding, recycling instead BIP 102 from 2015. There&lt;br/&gt;are many proposals which have pushed the state of hard fork research&lt;br/&gt;much further since then, and you may wish to read some of the posts on&lt;br/&gt;this mailing list listed at &lt;a href=&#34;https://bitcoinhardforkresearch.github.io/&#34;&gt;https://bitcoinhardforkresearch.github.io/&lt;/a&gt;&lt;br/&gt;and make further edits based on what you learn. Your goal of &amp;#34;avoid&lt;br/&gt;technical changes&amp;#34; appears to not have any basis outside of perceived&lt;br/&gt;compromise for compromise sake, only making such a hardfork riskier&lt;br/&gt;instead.&lt;br/&gt;&lt;br/&gt;At a minimum, in terms of pure technical changes, you should probably&lt;br/&gt;consider (probably among others):&lt;br/&gt;&lt;br/&gt;a) Utilizing the &amp;#34;hard fork signaling bit&amp;#34; in the nVersion of the block.&lt;br/&gt;b) Either limiting non-SegWit transactions in some way to fix the n**2&lt;br/&gt;sighash and FindAndDelete runtime and memory usage issues or fix them by&lt;br/&gt;utilizing the new sighash type which many wallets and projects have&lt;br/&gt;already implemented for SegWit in the spending of non-SegWit outputs.&lt;br/&gt;c) Your really should have replay protection in any HF. The clever fix from&lt;br/&gt;Spoonnet for poor scaling of optionally allowing non-SegWit outputs to&lt;br/&gt;be spent with SegWit&amp;#39;s sighash provides this all in one go.&lt;br/&gt;d) You may wish to consider the possibility of tweaking the witness&lt;br/&gt;discount and possibly discounting other parts of the input - SegWit went&lt;br/&gt;a long ways towards making removal of elements from the UTXO set cheaper&lt;br/&gt;than adding them, but didn&amp;#39;t quite get there, you should probably finish&lt;br/&gt;that job. This also provides additional tuneable parameters to allow you&lt;br/&gt;to increase the block size while not having a blowup in the worst-case&lt;br/&gt;block size.&lt;br/&gt;e) Additional commitments at the top of the merkle root - both for&lt;br/&gt;SegWit transactions and as additional space for merged mining and other&lt;br/&gt;commitments which we may wish to add in the future, this should likely&lt;br/&gt;be implemented an &amp;#34;additional header&amp;#34; ala Johnson Lau&amp;#39;s Spoonnet proposal.&lt;br/&gt;&lt;br/&gt;Additionally, I think your parameters here pose very significant risk to&lt;br/&gt;the Bitcoin ecosystem broadly.&lt;br/&gt;&lt;br/&gt;a) Activating a hard fork with less than 18/24 months (and even then...)&lt;br/&gt;from a fully-audited and supported release of full node software to&lt;br/&gt;activation date poses significant risks to many large software projects&lt;br/&gt;and users. I&amp;#39;ve repeatedly received feedback from various folks that a&lt;br/&gt;year or more is likely required in any hard fork to limit this risk, and&lt;br/&gt;limited pushback on that given the large increase which SegWit provides&lt;br/&gt;itself buying a ton of time.&lt;br/&gt;&lt;br/&gt;b) Having a significant discontinuity in block size increase only serves&lt;br/&gt;to confuse and mislead users and businesses, forcing them to rapidly&lt;br/&gt;adapt to a Bitcoin which changed overnight both by hardforking, and by&lt;br/&gt;fees changing suddenly. Instead, having the hard fork activate technical&lt;br/&gt;changes, and then slowly increasing the block size over the following&lt;br/&gt;several years keeps things nice and continuous and also keeps us from&lt;br/&gt;having to revisit ye old blocksize debate again six months after activation.&lt;br/&gt;&lt;br/&gt;c) You should likely consider the effect of the many technological&lt;br/&gt;innovations coming down the pipe in the coming months. Technologies like&lt;br/&gt;Lightning, TumbleBit, and even your own RootStock could significantly&lt;br/&gt;reduce fee pressure as transactions move to much faster and more&lt;br/&gt;featureful systems.&lt;br/&gt;&lt;br/&gt;Commitments to aggressive hard fork parameters now may leave miners&lt;br/&gt;without much revenue as far out as the next halving (which current&lt;br/&gt;transaction growth trends are indicating we&amp;#39;d just only barely reach 2MB&lt;br/&gt;of transaction volume, let alone if you consider the effects of users&lt;br/&gt;moving to systems which provide more features for Bitcoin transactions).&lt;br/&gt;This could lead to a precipitous drop in hashrate as miners are no&lt;br/&gt;longer sufficiently compensated.&lt;br/&gt;&lt;br/&gt;Remember that the &amp;#34;hashpower required to secure bitcoin&amp;#34; is determined&lt;br/&gt;as a percentage of total Bitcoins transacted on-chain in each block, so&lt;br/&gt;as subsidy goes down, miners need to be paid with fees, not just price&lt;br/&gt;increases. Even if we were OK with hashpower going down compared to the&lt;br/&gt;value it is securing, betting the security of Bitcoin on its price&lt;br/&gt;rising exponentially to match decreasing subsidy does not strike me as a&lt;br/&gt;particularly inspiring tradeoff.&lt;br/&gt;&lt;br/&gt;There aren&amp;#39;t many great technical solutions to some of these issues, as&lt;br/&gt;far as I&amp;#39;m aware, but it&amp;#39;s something that needs to be incredibly&lt;br/&gt;carefully considered before betting the continued security of Bitcoin on&lt;br/&gt;exponential on-chain growth, something which we have historically never&lt;br/&gt;seen.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On March 31, 2017 5:09:18 PM EDT, Sergio Demian Lerner via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;Hi everyone,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Segwit2Mb is the project to merge into Bitcoin a minimal patch that&lt;br/&gt;&amp;gt;aims to&lt;br/&gt;&amp;gt;untangle the current conflict between different political positions&lt;br/&gt;&amp;gt;regarding segwit activation vs. an increase of the on-chain blockchain&lt;br/&gt;&amp;gt;space through a standard block size increase. It is not a new solution,&lt;br/&gt;&amp;gt;but&lt;br/&gt;&amp;gt;it should be seen more as a least common denominator.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Segwit2Mb combines segwit as it is today in Bitcoin 0.14&#43; with a 2MB&lt;br/&gt;&amp;gt;block&lt;br/&gt;&amp;gt;size hard-fork activated ONLY if segwit activates (95% of miners&lt;br/&gt;&amp;gt;signaling), but at a fixed future date.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The sole objective of this proposal is to re-unite the Bitcoin&lt;br/&gt;&amp;gt;community&lt;br/&gt;&amp;gt;and avoid a cryptocurrency split. Segwit2Mb does not aim to be best&lt;br/&gt;&amp;gt;possible technical solution to solve Bitcoin technical limitations.&lt;br/&gt;&amp;gt;However, this proposal does not imply a compromise to the future&lt;br/&gt;&amp;gt;scalability or decentralization of Bitcoin, as a small increase in&lt;br/&gt;&amp;gt;block&lt;br/&gt;&amp;gt;size has been proven by several core and non-core developers not to&lt;br/&gt;&amp;gt;affect&lt;br/&gt;&amp;gt;Bitcoin value propositions.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;In the worst case, a 2X block size increase has much lower economic&lt;br/&gt;&amp;gt;impact&lt;br/&gt;&amp;gt;than the last bitcoin halving (&amp;lt;10%), which succeeded without problem.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;On the other side, Segwit2Mb primary goal is to be minimalistic: in&lt;br/&gt;&amp;gt;this&lt;br/&gt;&amp;gt;patch some choices have been made to reduce the number of lines&lt;br/&gt;&amp;gt;modified in&lt;br/&gt;&amp;gt;the current Bitcoin Core state (master branch), instead of implementing&lt;br/&gt;&amp;gt;the&lt;br/&gt;&amp;gt;most elegant solution. This is because I want to reduce the time it&lt;br/&gt;&amp;gt;takes&lt;br/&gt;&amp;gt;for core programmers and reviewers to check the correctness of the&lt;br/&gt;&amp;gt;code,&lt;br/&gt;&amp;gt;and to report and correct bugs.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The patch was built by forking the master branch of Bitcoin Core,&lt;br/&gt;&amp;gt;mixing a&lt;br/&gt;&amp;gt;few lines of code from Jeff Garzik&amp;#39;s BIP102,  and defining a second&lt;br/&gt;&amp;gt;versionbits activation bit (bit 2) for the combined activation.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The combined activation of segwit and 2Mb hard-fork nVersion bit is 2&lt;br/&gt;&amp;gt;(DEPLOYMENT_SEGWIT_AND_2MB_BLOCKS).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;This means that segwit can still be activated without the 2MB hard-fork&lt;br/&gt;&amp;gt;by&lt;br/&gt;&amp;gt;signaling bit 1 in nVersion  (DEPLOYMENT_SEGWIT).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The tentative lock-in and hard-fork dates are the following:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Bit 2 signaling StartTime = 1493424000; // April 29th, 2017&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Bit 2 signaling Timeout = 1503964800; // August 29th, 2017&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;HardForkTime = 1513209600; // Thu, 14 Dec 2017 00:00:00 GMT&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The hard-fork is conditional to 95% of the hashing power has approved&lt;br/&gt;&amp;gt;the&lt;br/&gt;&amp;gt;segwit2mb soft-fork and the segwit soft-fork has been activated (which&lt;br/&gt;&amp;gt;should occur 2016 blocks after its lock-in time)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;For more information on how soft-forks are signaled and activated, see&lt;br/&gt;&amp;gt;&lt;a href=&#34;https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki&#34;&gt;https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;This means that segwit would be activated before 2Mb: this is&lt;br/&gt;&amp;gt;inevitable,&lt;br/&gt;&amp;gt;as versionbits have been designed to have fixed activation periods and&lt;br/&gt;&amp;gt;thresholds for all bits. Making segwit and 2Mb fork activate together&lt;br/&gt;&amp;gt;at a&lt;br/&gt;&amp;gt;delayed date would have required a major re-write of this code, which&lt;br/&gt;&amp;gt;would&lt;br/&gt;&amp;gt;contradict the premise of creating a minimalistic patch. However, once&lt;br/&gt;&amp;gt;segwit is activated, the hard-fork is unavoidable.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Although I have coded a first version of the segwit2mb patch (which&lt;br/&gt;&amp;gt;modifies 120 lines of code, and adds 220 lines of testing code), I&lt;br/&gt;&amp;gt;would&lt;br/&gt;&amp;gt;prefer to wait to publish the source code until more comments have been&lt;br/&gt;&amp;gt;received from the community.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;To prevent worsening block verification time because of the O(N^2)&lt;br/&gt;&amp;gt;hashing&lt;br/&gt;&amp;gt;problem, the simple restriction that transactions cannot be larger than&lt;br/&gt;&amp;gt;1Mb&lt;br/&gt;&amp;gt;has been kept. Therefore the worse-case of block verification time has&lt;br/&gt;&amp;gt;only&lt;br/&gt;&amp;gt;doubled.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Regarding the hard-fork activation date, I want to give enough time to&lt;br/&gt;&amp;gt;all&lt;br/&gt;&amp;gt;active economic nodes to upgrade. As of Fri Mar 31 2017,&lt;br/&gt;&amp;gt;&lt;a href=&#34;https://bitnodes.21.co/nodes/&#34;&gt;https://bitnodes.21.co/nodes/&lt;/a&gt; reports that 6332 out of 6955 nodes (91%)&lt;br/&gt;&amp;gt;have upgraded to post 0.12 versions. Upgrade to post 0.12 versions can&lt;br/&gt;&amp;gt;be&lt;br/&gt;&amp;gt;used to identify economic active nodes, because in the 0.12 release&lt;br/&gt;&amp;gt;dynamic&lt;br/&gt;&amp;gt;fees were introduced, and currently no Bitcoin automatic payment system&lt;br/&gt;&amp;gt;can&lt;br/&gt;&amp;gt;operate without automatic discovery of the current fee rate. A pre-0.12&lt;br/&gt;&amp;gt;would require constant manual intervention.&lt;br/&gt;&amp;gt;Therefore I conclude that no more than 91% of the network nodes&lt;br/&gt;&amp;gt;reported by&lt;br/&gt;&amp;gt;bitnodes are active economic nodes.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;As Bitcoin Core 0.12 was released on February 2016, the time for this&lt;br/&gt;&amp;gt;91%&lt;br/&gt;&amp;gt;to upgrade has been around one year (under a moderate pressure of&lt;br/&gt;&amp;gt;operational problems with unconfirmed transactions).&lt;br/&gt;&amp;gt;Therefore we can expect a similar or lower time to upgrade for a&lt;br/&gt;&amp;gt;hard-fork,&lt;br/&gt;&amp;gt;after developers have discussed and approved the patch, and it has been&lt;br/&gt;&amp;gt;reviewed and merged and 95% of the hashing power has signaled for it&lt;br/&gt;&amp;gt;(the&lt;br/&gt;&amp;gt;pressure not to upgrade being a complete halt of the operations).&lt;br/&gt;&amp;gt;However I&lt;br/&gt;&amp;gt;suggest that we discuss the hard-fork date and delay it if there is a&lt;br/&gt;&amp;gt;real&lt;br/&gt;&amp;gt;need to.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Currently time works against the Bitcoin community, and so is delaying&lt;br/&gt;&amp;gt;a&lt;br/&gt;&amp;gt;compromise solution. Most of the community agree that halting the&lt;br/&gt;&amp;gt;innovation for several years is a very bad option.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;After the comments collected by the community, a BIP will be written&lt;br/&gt;&amp;gt;describing the resulting proposal details.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;If segwit2mb locks-in, before hard-fork occurs all bitcoin nodes should&lt;br/&gt;&amp;gt;be&lt;br/&gt;&amp;gt;updated to a Segwit2Mb enabled node to prevent them to be forked-away&lt;br/&gt;&amp;gt;in a&lt;br/&gt;&amp;gt;chain with almost no hashing-power.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The proof of concept patch was made for Bitcoin Core but should be&lt;br/&gt;&amp;gt;easily&lt;br/&gt;&amp;gt;ported to other Bitcoin protocol implementations that already support&lt;br/&gt;&amp;gt;versionbits. Lightweight (SPV) wallets should not be affected as they&lt;br/&gt;&amp;gt;generally do not check the block size.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I personally want to see the Lightning Network in action this year, use&lt;br/&gt;&amp;gt;the&lt;br/&gt;&amp;gt;non-malleability features in segwit, see the community discussing other&lt;br/&gt;&amp;gt;exciting soft-forks in the scaling roadmap, Schnorr sigs, drivechains&lt;br/&gt;&amp;gt;and&lt;br/&gt;&amp;gt;MAST.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I want to see miners, developers and industry side-by-side pushing&lt;br/&gt;&amp;gt;Bitcoin&lt;br/&gt;&amp;gt;forward, to increase the value of Bitcoin and prevent high transaction&lt;br/&gt;&amp;gt;fees&lt;br/&gt;&amp;gt;to put out of business use-cases that could have high positive social&lt;br/&gt;&amp;gt;impact.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I believe in the strength of a unified Bitcoin community. If you&amp;#39;re a&lt;br/&gt;&amp;gt;developer, please give your opinion, suggest changes, audit it, and&lt;br/&gt;&amp;gt;take a&lt;br/&gt;&amp;gt;stand with me to unlock the current Bitcoin deadlock.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Contributions to the segwit2mb project are welcomed and awaited. The&lt;br/&gt;&amp;gt;only&lt;br/&gt;&amp;gt;limitation is to stick to the principle that the patch should be as&lt;br/&gt;&amp;gt;simple&lt;br/&gt;&amp;gt;to audit as possible. As an example, I wouldn&amp;#39;t feel confident if the&lt;br/&gt;&amp;gt;patch&lt;br/&gt;&amp;gt;modified more than ~150 lines of code.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Improvements unrelated to a 2 Mb increase or segwit, as beneficial as&lt;br/&gt;&amp;gt;it&lt;br/&gt;&amp;gt;may be to Bitcoin, should not be part of segwit2Mb.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;This proposal should not prevent other consensus proposals to be&lt;br/&gt;&amp;gt;simultaneously merged: segwit2mb is a last resort solution in case we&lt;br/&gt;&amp;gt;can&lt;br/&gt;&amp;gt;not reach consensus on anything better.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Again, the proposal is only a starting point: community feedback is&lt;br/&gt;&amp;gt;expected and welcomed.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Regards,&lt;br/&gt;&amp;gt;Sergio Demian Lerner
    </content>
    <updated>2023-06-07T17:58:38Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs9z224zlxkxjvvmv6pgky6zakjnmg9xttja7h45y4dvkn9pn7ee0qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm545uhcn</id>
    
      <title type="html">📅 Original date posted:2017-03-22 📝 Original message:It ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs9z224zlxkxjvvmv6pgky6zakjnmg9xttja7h45y4dvkn9pn7ee0qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm545uhcn" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs8n4777m7j673pn72anws36867qhrep52vxxta5udu3xawsxcn97qu55pt4&#39;&gt;nevent1q…5pt4&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-03-22&lt;br/&gt;📝 Original message:It works today and can be used to prove exact size: the key observation is that all you need to show the length and hash of a transaction is the final SHA256 midstate and chunk (max 64 bytes). It also uses the observation that a valid transaction must be at least 60 bytes long for compression (though much of that compression possibility goes away if you&amp;#39;re proving something other than &amp;#34;too large&amp;#34;).&lt;br/&gt;&lt;br/&gt;On March 22, 2017 1:49:08 PM PDT, Bram Cohen via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;Some questions:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Does this require information to be added to blocks, or can it work&lt;br/&gt;&amp;gt;today&lt;br/&gt;&amp;gt;on the existing format?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Does this count number of transactions or their total length? The block&lt;br/&gt;&amp;gt;limit is in bytes rather than number of transactions, but transaction&lt;br/&gt;&amp;gt;number can be a reasonable proxy if you allow for some false negatives&lt;br/&gt;&amp;gt;but&lt;br/&gt;&amp;gt;want a basic sanity check.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Does this allow for proofs of length in the positive direction,&lt;br/&gt;&amp;gt;demonstrating that a block is good, or does it only serve to show that&lt;br/&gt;&amp;gt;blocks are bad? Ideally we&amp;#39;d like an extension to SPV protocol so light&lt;br/&gt;&amp;gt;clients require proofs of blocks not being too big, given the credible&lt;br/&gt;&amp;gt;threat of there being an extremely large-scale attack on the network of&lt;br/&gt;&amp;gt;that form.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;On Wed, Mar 22, 2017 at 1:47 AM, Luke Dashjr 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; Despite the generalised case of fraud proofs being likely impossible,&lt;br/&gt;&amp;gt;there&lt;br/&gt;&amp;gt;&amp;gt; have recently been regular active proposals of miners attacking with&lt;br/&gt;&amp;gt;simply&lt;br/&gt;&amp;gt;&amp;gt; oversized blocks in an attempt to force a hardfork. This specific&lt;br/&gt;&amp;gt;attack&lt;br/&gt;&amp;gt;&amp;gt; can&lt;br/&gt;&amp;gt;&amp;gt; be proven, and reliably so, since the proof cannot be broken without&lt;br/&gt;&amp;gt;also&lt;br/&gt;&amp;gt;&amp;gt; breaking their attempted hardfork at the same time.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; While ideally all users ought to use their own full node for&lt;br/&gt;&amp;gt;validation&lt;br/&gt;&amp;gt;&amp;gt; (even&lt;br/&gt;&amp;gt;&amp;gt; when using a light client for their wallet), many bitcoin holders&lt;br/&gt;&amp;gt;still do&lt;br/&gt;&amp;gt;&amp;gt; not. As such, they are likely to need protection from these attacks,&lt;br/&gt;&amp;gt;to&lt;br/&gt;&amp;gt;&amp;gt; ensure&lt;br/&gt;&amp;gt;&amp;gt; they remain on the Bitcoin blockchain.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I&amp;#39;ve written up a draft BIP for fraud proofs and how light clients&lt;br/&gt;&amp;gt;can&lt;br/&gt;&amp;gt;&amp;gt; detect&lt;br/&gt;&amp;gt;&amp;gt; blockchains that are simply invalid due to excess size and/or weight:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;    &lt;br/&gt;&amp;gt;&lt;a href=&#34;https://github.com/luke-jr/bips/blob/bip-sizefp/bip-sizefp.mediawiki&#34;&gt;https://github.com/luke-jr/bips/blob/bip-sizefp/bip-sizefp.mediawiki&lt;/a&gt;&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I believe this draft is probably ready for implementation already,&lt;br/&gt;&amp;gt;but if&lt;br/&gt;&amp;gt;&amp;gt; anyone has any idea on how it might first be improved, please feel&lt;br/&gt;&amp;gt;free to&lt;br/&gt;&amp;gt;&amp;gt; make suggestions.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Luke&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;-------------- 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/20170322/b7fc87f1/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170322/b7fc87f1/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T17:57:40Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs8farmncv0jq85djq7qu0lr6ux5ys55px3s8pq4m3augvzez7sa5czyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm556q7sv</id>
    
      <title type="html">📅 Original date posted:2016-12-18 📝 Original message:One ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs8farmncv0jq85djq7qu0lr6ux5ys55px3s8pq4m3augvzez7sa5czyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm556q7sv" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2khf7qgp9m4z0wrk05fzrllklyseysa99kmqxan7ahua776keemsvqvxzv&#39;&gt;nevent1q…vxzv&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2016-12-18&lt;br/&gt;📝 Original message:One thing which hasn&amp;#39;t been addressed yet in this thread is developer centralization. Unlike other applications we want to ensure that it&amp;#39;s not only possible for users to refuse an upgrade, but easy. While this by no means lessens the retirement that users run up to date software for security reasons, finding the right line to draw is difficult. &lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On December 15, 2016 2:44:55 PM PST, Ethan Heilman via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;I assume this has been well discussed in at some point in the Bitcoin&lt;br/&gt;&amp;gt;community, so I apologize if I&amp;#39;m repeating old ideas.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Problem exploitable nodes:&lt;br/&gt;&amp;gt;It is plausible that people running these versions of bitcoind may not&lt;br/&gt;&amp;gt;be applying patches. Thus, these nodes may be vulnerable to known&lt;br/&gt;&amp;gt;exploits. I would hope none of these nodes are gateway nodes for&lt;br/&gt;&amp;gt;miners, web wallets or exchanges. How difficult would it be to crawl&lt;br/&gt;&amp;gt;the network to find vulnerable nodes and exploit them? What percentage&lt;br/&gt;&amp;gt;of the network is running vulnerable versions of bitcoind?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Problem eclipsable nodes:&lt;br/&gt;&amp;gt;Currently a bitcoind node disconnects from any node with a version&lt;br/&gt;&amp;gt;below MIN_PEER_PROTO_VERSION. Such nodes become be ripe for an eclipse&lt;br/&gt;&amp;gt;attack because they are partitioned from the newer nodes, especially&lt;br/&gt;&amp;gt;when they are &amp;#34;freshly obsolete&amp;#34;. I have not examined how protocol&lt;br/&gt;&amp;gt;versioning works in detail so I could be missing something.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;One option could be that after a grace period:&lt;br/&gt;&amp;gt;1. to still connect to obsolete nodes and even to transmit&lt;br/&gt;&amp;gt;blockheaders,&lt;br/&gt;&amp;gt;2. but to stop sending the full-blocks and transactions to these&lt;br/&gt;&amp;gt;nodes, thereby alerting the operator that something is wrong and&lt;br/&gt;&amp;gt;causing them to upgrade.&lt;br/&gt;&amp;gt;It may make sense to create this as a rule, if your longest chain&lt;br/&gt;&amp;gt;consists of only blockheaders and no one will tell you the&lt;br/&gt;&amp;gt;transactions for over 1000 blocks you are obsolete, spit out an error&lt;br/&gt;&amp;gt;message and shutdown.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;This would not address the issue of alt-coins which are forked from&lt;br/&gt;&amp;gt;old vulnerable versions of bitcoind, but that is probably out of&lt;br/&gt;&amp;gt;scope.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;On Thu, Dec 15, 2016 at 1:48 PM, Jorge Timón via bitcoin-dev&lt;br/&gt;&amp;gt;&amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; On Thu, Dec 15, 2016 at 4:38 AM, Juan Garavaglia 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; Older node versions may generate issues because some upgrades will&lt;br/&gt;&amp;gt;make&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; several of the nodes running older protocol versions obsolete and or&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; incompatible. There may be other hard to predict behaviors on older&lt;br/&gt;&amp;gt;versions&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; of the client.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Hard to predict or not, you can&amp;#39;t force people to run newer software.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; In order to avoid such wide fragmentation of &amp;#34;Bitcoin Core” node&lt;br/&gt;&amp;gt;versions&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; and to help there be a more predictable protocol improvement&lt;br/&gt;&amp;gt;process, I&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; consider it worth it to analyze introducing some planned&lt;br/&gt;&amp;gt;obsolescence in&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; each new version. In the last year we had 4 new versions so if each&lt;br/&gt;&amp;gt;version&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; is valid for about 1 year (52560 blocks) this may be a reasonable&lt;br/&gt;&amp;gt;time frame&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; for node operators to upgrade. If a node does not upgrade it will&lt;br/&gt;&amp;gt;stop&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; working instead of participating in the network with an outdated&lt;br/&gt;&amp;gt;protocol&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; version.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; When you introduce anti-features like this in free software they can&lt;br/&gt;&amp;gt;&amp;gt; be trivially removed and they likely will.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; These changes may also simplify the developer&amp;#39;s jobs in some cases&lt;br/&gt;&amp;gt;by&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; avoiding them having to deal with ancient versions of the client.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; There&amp;#39;s a simpler solution for this which is what is being done now:&lt;br/&gt;&amp;gt;&amp;gt; stop maintaining and giving support for older versions.&lt;br/&gt;&amp;gt;&amp;gt; There&amp;#39;s limited resources and developers are rarely interested in&lt;br/&gt;&amp;gt;&amp;gt; fixing bugs for very old versions. Users shouldn&amp;#39;t expect things to&lt;br/&gt;&amp;gt;be&lt;br/&gt;&amp;gt;&amp;gt; backported to old versions (if developers do it and there&amp;#39;s enough&lt;br/&gt;&amp;gt;&amp;gt; testing, there&amp;#39;s no reason not to do more releases of old versions,&lt;br/&gt;&amp;gt;it&lt;br/&gt;&amp;gt;&amp;gt; is just rarely the case).&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;_______________________________________________&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;
    </content>
    <updated>2023-06-07T17:54:59Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs0drpz2s8ancgry2v2lk5ypdd7csgtxjkyljdre6u0d3w3x33vgdqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5pmscjr</id>
    
      <title type="html">📅 Original date posted:2016-05-11 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs0drpz2s8ancgry2v2lk5ypdd7csgtxjkyljdre6u0d3w3x33vgdqzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5pmscjr" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs9zwv6ymwsyfd2vxljfmxu8vlak5us3wnd398kqg0h673d9y53lhqdys0t4&#39;&gt;nevent1q…s0t4&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2016-05-11&lt;br/&gt;📝 Original message:That&amp;#39;s the reason for this post! All current major ASIC manufacturers&lt;br/&gt;have made warrants that they are not using AsicBoost (with the exception&lt;br/&gt;of the 21 Inc Bitcoin computer).&lt;br/&gt;&lt;br/&gt;The fact that the optimization was patented is what has required that we&lt;br/&gt;work to hardfork it out, not that people might have such private&lt;br/&gt;optimizations. The fact that AsicBoost was independently discovered by&lt;br/&gt;at least two (if not three) organizations seems to lend credence to the&lt;br/&gt;idea that private optimizations will only provide a temporary win over&lt;br/&gt;competitors.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 05/11/16 03:14, Timo Hanke via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; There is no way to tell from a block if it was mined with AsicBoost or&lt;br/&gt;&amp;gt; not. So you don’t know what percentage of the hashrate uses AsicBoost at&lt;br/&gt;&amp;gt; any point in time. How can you risk forking that percentage out? Note&lt;br/&gt;&amp;gt; that this would be a GUARANTEED chain fork. Meaning that after you&lt;br/&gt;&amp;gt; change the block mining algorithm some percentage of hardware will no&lt;br/&gt;&amp;gt; longer be able to produce valid blocks. That hardware cannot “switch&lt;br/&gt;&amp;gt; over” to the majority chain even if it wanted to. Hence you are&lt;br/&gt;&amp;gt; guaranteed to have two co-existing bitcoin blockchains afterwards.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Again: this is unlike the hypothetical persistence of two chains after a&lt;br/&gt;&amp;gt; hardfork that is only contentious but doesn’t change the mining&lt;br/&gt;&amp;gt; algorithm, the kind of hardfork you are proposing would guarantee the&lt;br/&gt;&amp;gt; persistence of two chains.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Note that “AsicBoost” above is replaceable with “optimization X”. It’s&lt;br/&gt;&amp;gt; simply a logical argument: If you want to make optimization X impossible&lt;br/&gt;&amp;gt; and someone is already using optimization X you end up with two chains.&lt;br/&gt;&amp;gt; So unless you know exactly which optimizations are in use (and therefore&lt;br/&gt;&amp;gt; also know which ones are not in use) you can’t make these kind of&lt;br/&gt;&amp;gt; changes. AsicBoost is known at least since middle of 2013.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; To be more precise, if you change the block validation ruleset R to&lt;br/&gt;&amp;gt; block validation ruleset S you have to make sure that every hardware&lt;br/&gt;&amp;gt; that was capable of mining R-valid blocks is also capable of mining&lt;br/&gt;&amp;gt; S-valid blocks. &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The problem is that chip manufacturers will not tell you which&lt;br/&gt;&amp;gt; optimizations they use. You would have to threaten to irreversibly fork&lt;br/&gt;&amp;gt; their hardware out by a rule change, only then would they start shouting&lt;br/&gt;&amp;gt; and reveal their optimization. It seems extremely dangerous to set the&lt;br/&gt;&amp;gt; precedence of a hardfork that irreversibly forks out a certain type of&lt;br/&gt;&amp;gt; mining hardware.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The part &amp;#34;Also the fix should be compatible with existing mining&lt;br/&gt;&amp;gt; hardware.&amp;#34; is impossible to achieve because it&amp;#39;s unclear what &amp;#34;existing&lt;br/&gt;&amp;gt; mining hardware&amp;#34; is. There has never been a specification of what mining&lt;br/&gt;&amp;gt; hardware should do. There are only acceptance rules.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The only way out is to go the exact opposite way and to embrace as many&lt;br/&gt;&amp;gt; optimizations as possible to the point where there are no more&lt;br/&gt;&amp;gt; optimizations left to do, or hopefully getting very close to that point. &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Timo&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On Tue, May 10, 2016 at 11:57 AM, Peter Todd via bitcoin-dev&lt;br/&gt;&amp;gt; &amp;lt;bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     As part of the hard-fork proposed in the HK agreement(1) we&amp;#39;d like&lt;br/&gt;&amp;gt;     to make the&lt;br/&gt;&amp;gt;     patented AsicBoost optimisation useless, and hopefully make further&lt;br/&gt;&amp;gt;     similar&lt;br/&gt;&amp;gt;     optimizations useless as well.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     What&amp;#39;s the best way to do this? Ideally this would be SPV&lt;br/&gt;&amp;gt;     compatible, but if it&lt;br/&gt;&amp;gt;     requires changes from SPV clients that&amp;#39;s ok too. Also the fix this&lt;br/&gt;&amp;gt;     should be&lt;br/&gt;&amp;gt;     compatible with existing mining hardware.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     1)&lt;br/&gt;&amp;gt;     &lt;a href=&#34;https://medium.com/@bitcoinroundtable/bitcoin-roundtable-consensus-266d475a61ff&#34;&gt;https://medium.com/@bitcoinroundtable/bitcoin-roundtable-consensus-266d475a61ff&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     2)&lt;br/&gt;&amp;gt;     &lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-April/012596.html&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-April/012596.html&lt;/a&gt;&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 &amp;lt;&lt;a href=&#34;http://petertodd.org&amp;gt&#34;&gt;http://petertodd.org&amp;gt&lt;/a&gt;;&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;     &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&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;&amp;gt; &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;
    </content>
    <updated>2023-06-07T17:50:37Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs05c4h53rdpc0ya8nlzmjr73le7yl86et4msdmsdugmfq8gyj0a8qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5kzty84</id>
    
      <title type="html">📅 Original date posted:2016-05-11 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs05c4h53rdpc0ya8nlzmjr73le7yl86et4msdmsdugmfq8gyj0a8qzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5kzty84" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2c8uufzswwwjj2ya3rcfet3ntvelurrs8e6egmpqr9rreac2u5as2yax3v&#39;&gt;nevent1q…ax3v&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2016-05-11&lt;br/&gt;📝 Original message:Indeed, I think the &amp;#34;ASICs are bad, because 1-CPU-1-vote&amp;#34; arguments&lt;br/&gt;mostly died out long ago, and, indeed, the goal that many making those&lt;br/&gt;arguments had of building &amp;#34;unoptimizeable&amp;#34; ASICs failed with them.&lt;br/&gt;&lt;br/&gt;I think everyone understands that there will always be some ability to&lt;br/&gt;iterate on ASIC designs, however, a patented optimization breaks that&lt;br/&gt;assumption. Instead of being freely able to optimize their ASIC design,&lt;br/&gt;patented optimizations require that people who discover such&lt;br/&gt;optimizations themselves do not use them, giving one&lt;br/&gt;manufacturer/licenser a huge influence in who is successful in a market&lt;br/&gt;that we&amp;#39;re all relying on remaining rather flat. Indeed, with AsicBoost,&lt;br/&gt;we saw Spondoolies independently discover the same optimization, but&lt;br/&gt;with the current legal system they would not have been able to sell such&lt;br/&gt;systems without licensing AsicBoost.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 05/11/16 13:08, Marek Palatinus via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; Ehm, I though those discussions about &amp;#34;ASICs are bad, because X&amp;#34; ended&lt;br/&gt;&amp;gt; years ago by starting &amp;#34;ASIC unfriendly&amp;#34; altcoins. ASIC industry is&lt;br/&gt;&amp;gt; twisted even without AsicBoost. I don&amp;#39;t see any particular reason why to&lt;br/&gt;&amp;gt; change rules just because of 10% edge.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This is opening Pandora box and it is potentially extremely dangerous&lt;br/&gt;&amp;gt; for the health of the network. You cannot know in advance what you&amp;#39;ll&lt;br/&gt;&amp;gt; break by changing the rules.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Disclaimer: I don&amp;#39;t have any stake in any ASIC company/facility.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; slush&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; On Wed, May 11, 2016 at 2:20 PM, Sergio Demian Lerner via bitcoin-dev&lt;br/&gt;&amp;gt; &amp;lt;bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     On Tue, May 10, 2016 at 6:43 PM, Sergio Demian Lerner&lt;br/&gt;&amp;gt;     &amp;lt;sergio.d.lerner at gmail.com &amp;lt;mailto:sergio.d.lerner at gmail.com&amp;gt;&amp;gt; wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;         You can find it here:&lt;br/&gt;&amp;gt;         &lt;a href=&#34;https://bitslog.wordpress.com/2014/03/18/the-re-design-of-the-bitcoin-block-header/&#34;&gt;https://bitslog.wordpress.com/2014/03/18/the-re-design-of-the-bitcoin-block-header/&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;         Basically, the idea is to put in the first 64 bytes a 4 byte&lt;br/&gt;&amp;gt;         hash of the second 64-byte chunk. That design also allows&lt;br/&gt;&amp;gt;         increased nonce space in the first 64 bytes.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;     My mistake here. I didn&amp;#39;t recalled correctly my own idea. The idea&lt;br/&gt;&amp;gt;     is to include in the second 64-byte chunk a 4-byte hash of the first&lt;br/&gt;&amp;gt;     chunk, not the opposite.&lt;br/&gt;&amp;gt; &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;     &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;&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;&amp;gt; &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;
    </content>
    <updated>2023-06-07T17:50:31Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs2rg83myvkqy94hhp04r2ntatyxqppd9zzmxr4dksnyxccuca74ngzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5063m3e</id>
    
      <title type="html">📅 Original date posted:2016-05-10 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs2rg83myvkqy94hhp04r2ntatyxqppd9zzmxr4dksnyxccuca74ngzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5063m3e" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsym450sc7tw542cgxwqfxh5up7at2amwd99mtmps7zq2cj044czdgj4ldxk&#39;&gt;nevent1q…ldxk&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2016-05-10&lt;br/&gt;📝 Original message:Replies inline.&lt;br/&gt;&lt;br/&gt;On May 10, 2016 5:23:55 PM EDT, Rusty Russell via bitcoin-dev &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;Gregory Maxwell &amp;lt;greg at xiph.org&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt; On Tue, May 10, 2016 at 5:28 AM, Rusty Russell 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; I used variable-length bit encodings, and used the shortest encoding&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; which is unique to you (including mempool).  It&amp;#39;s a little more&lt;br/&gt;&amp;gt;work,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; but for an average node transmitting a block with 1300 txs and&lt;br/&gt;&amp;gt;another&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; ~3000 in the mempool, you expect about 12 bits per transaction. &lt;br/&gt;&amp;gt;IOW,&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; about 1/5 of your current size.  Critically, we might be able to fit&lt;br/&gt;&amp;gt;in&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; two or three TCP packets.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Hm. 12 bits sounds very small even giving those figures. Why failure&lt;br/&gt;&amp;gt;&amp;gt; rate were you targeting?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;That&amp;#39;s a good question; I was assuming a best-case in which we have&lt;br/&gt;&amp;gt;mempool set reconciliation (handwave) thus know they are close.  But&lt;br/&gt;&amp;gt;there&amp;#39;s also an alterior motive: any later more sophisticated approach&lt;br/&gt;&amp;gt;will want variable-length IDs, and I&amp;#39;d like Matt to do the work :)&lt;br/&gt;&lt;br/&gt;Yea, there&amp;#39;s already an ongoing discussion of that, and the UDP stuff will definitely want something different than the current proposals.&lt;br/&gt;&lt;br/&gt;&amp;gt;In particular, you can significantly narrow the possibilities for a&lt;br/&gt;&amp;gt;block by sending the min-fee-per-kb and a list of &amp;#34;txs in my mempool&lt;br/&gt;&amp;gt;which didn&amp;#39;t get in&amp;#34; and &amp;#34;txs which did despite not making the&lt;br/&gt;&amp;gt;fee-per-kb&amp;#34;.  Those turn out to be tiny, and often make set&lt;br/&gt;&amp;gt;reconciliation trivial.  That&amp;#39;s best done with variable-length IDs.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; (*Not interesting because it mostly reduces exposure to loss and the&lt;br/&gt;&amp;gt;&amp;gt; gods of TCP, but since those are the long poles in the latency tent,&lt;br/&gt;&amp;gt;&amp;gt; it&amp;#39;s best to escape them entirely, see Matt&amp;#39;s udp_wip branch.)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I&amp;#39;m not convinced on UDP; it always looks impressive, but then ends up&lt;br/&gt;&amp;gt;reimplementing TCP in practice.  We should be well within a TCP window&lt;br/&gt;&amp;gt;for these, so it&amp;#39;s hard to see where we&amp;#39;d win.&lt;br/&gt;&lt;br/&gt;Not at all. The goal with the UDP stuff I&amp;#39;ve been working on is not to provide reliable transport. Like the relay network, it is assumed some percent of blocks will fail to transit properly, and you will use some other transport to figure out how to get the block. Indeed, a big part of my desire for diversity in network protocols is to enable them to make tradeoffs in reliability/privacy/etc.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; I would also avoid the nonce to save recalculating for each node,&lt;br/&gt;&amp;gt;and&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; instead define an id as:&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Doing this would greatly increase the cost of a collision though, as&lt;br/&gt;&amp;gt;&amp;gt; it would happen in many places in the network at once over the on the&lt;br/&gt;&amp;gt;&amp;gt; network at once, rather than just happening on a single link, thus&lt;br/&gt;&amp;gt;&amp;gt; hardly impacting overall propagation.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;#34;Greatly increase&amp;#34;?  I don&amp;#39;t see that.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Let&amp;#39;s assume an attacker grinds out 10,000 txs with 128 bits of the&lt;br/&gt;&amp;gt;same&lt;br/&gt;&amp;gt;TXID, and gets them all in a block.  They then win the lottery and get&lt;br/&gt;&amp;gt;a&lt;br/&gt;&amp;gt;collision.  Now we have to transmit ~48 bytes more than expected.&lt;br/&gt;&lt;br/&gt;I assume what Greg was referring to the idea that if there is a conflict, a given block will require an extra round trip when being broadcast between roughly each peer, compounding the effect across each hop.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; Using the same nonce means you also would not get a recovery gain&lt;br/&gt;&amp;gt;from&lt;br/&gt;&amp;gt;&amp;gt; jointly decoding using compact blocks sent from multiple peers (which&lt;br/&gt;&amp;gt;&amp;gt; you&amp;#39;ll have anyways in high bandwidth mode).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Not quite true, since if their mempools differ they&amp;#39;ll use different&lt;br/&gt;&amp;gt;encoding lengths, but yes, you&amp;#39;ll get less of this.&lt;br/&gt;&lt;br/&gt;... Assuming different encoding lengths aren&amp;#39;t just truncated, but ok :).&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; With a nonce a sender does have the option of reusing what they got--&lt;br/&gt;&amp;gt;&amp;gt; but the actual encoding cost is negligible, for a 2500 transaction&lt;br/&gt;&amp;gt;&amp;gt; block its 27 microseconds (once per block, shared across all peers)&lt;br/&gt;&amp;gt;&amp;gt; using Pieter&amp;#39;s suggestion of siphash 1-3 instead of the cheaper&lt;br/&gt;&amp;gt;&amp;gt; construct in the current draft.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Of course, if you&amp;#39;re going to check your whole mempool to reroll the&lt;br/&gt;&amp;gt;&amp;gt; nonce, thats another matter-- but that seems wasteful compared to&lt;br/&gt;&amp;gt;just&lt;br/&gt;&amp;gt;&amp;gt; using a table driven size with a known negligible failure rate.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I&amp;#39;m not worried about the sender: The recipient needs to encode all the&lt;br/&gt;&amp;gt;mempool.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; As Peter R points out, we could later enhance receiver to brute&lt;br/&gt;&amp;gt;force&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; collisions (you could speed that by sending a XOR of all the txids,&lt;br/&gt;&amp;gt;but&lt;br/&gt;&amp;gt;&amp;gt;&amp;gt; really if there are more than a few collisions, give up).&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The band between &amp;#34;no collisions&amp;#34; and &amp;#34;infeasible many&amp;#34; is fairly&lt;br/&gt;&amp;gt;&amp;gt; narrow.  You can add a small amount more space to the ids and&lt;br/&gt;&amp;gt;&amp;gt; immediately be in the no collision zone.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Indeed, I would be adding extra bits in the sender and not implementing&lt;br/&gt;&amp;gt;brute force in the receiver.  But I welcome someone else to do so.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Cheers,&lt;br/&gt;&amp;gt;Rusty.&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;
    </content>
    <updated>2023-06-07T17:50:22Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsgfwvhdrg4r45ewj9shamre3dgpj5tdc5ulneghvlz7k24df8zutszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm539yqhj</id>
    
      <title type="html">📅 Original date posted:2016-05-17 📝 Original ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsgfwvhdrg4r45ewj9shamre3dgpj5tdc5ulneghvlz7k24df8zutszyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm539yqhj" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2rg83myvkqy94hhp04r2ntatyxqppd9zzmxr4dksnyxccuca74ngp6m7cp&#39;&gt;nevent1q…m7cp&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2016-05-17&lt;br/&gt;📝 Original message:Implemented a few of your suggestions.&lt;br/&gt;&lt;br/&gt;Also opened a formal pull request for the BIP at&lt;br/&gt;&lt;a href=&#34;https://github.com/bitcoin/bips/pull/389&#34;&gt;https://github.com/bitcoin/bips/pull/389&lt;/a&gt; and the code at&lt;br/&gt;&lt;a href=&#34;https://github.com/bitcoin/bitcoin/pull/8068&#34;&gt;https://github.com/bitcoin/bitcoin/pull/8068&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;On 05/09/16 17:06, Pieter Wuille via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; On 05/03/2016 12:13 AM, lf-lists at mattcorallo.com (Matt Corallo) wrote:&lt;br/&gt;&amp;gt;&amp;gt; Hi all,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The following is a BIP-formatted design spec for compact block relay&lt;br/&gt;&amp;gt;&amp;gt; designed to limit on wire bytes during block relay. You can find the&lt;br/&gt;&amp;gt;&amp;gt; latest version of this document at&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://github.com/TheBlueMatt/bips/blob/master/bip-TODO.mediawiki&#34;&gt;https://github.com/TheBlueMatt/bips/blob/master/bip-TODO.mediawiki&lt;/a&gt;.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Hi Matt,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; thank you for working on this!&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; ===New data structures===&lt;br/&gt;&amp;gt;&amp;gt; Several new data structures are added to the P2P network to relay&lt;br/&gt;&amp;gt;&amp;gt; compact blocks: PrefilledTransaction, HeaderAndShortIDs,&lt;br/&gt;&amp;gt;&amp;gt; BlockTransactionsRequest, and BlockTransactions. Additionally, we&lt;br/&gt;&amp;gt;&amp;gt; introduce a new variable-length integer encoding for use in these data&lt;br/&gt;&amp;gt;&amp;gt; structures.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; For the purposes of this section, CompactSize refers to the&lt;br/&gt;&amp;gt;&amp;gt; variable-length integer encoding used across the existing P2P protocol&lt;br/&gt;&amp;gt;&amp;gt; to encode array lengths, among other things, in 1, 3, 5 or 9 bytes.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This is a not, but I think it&amp;#39;s a bit strange to have two separate&lt;br/&gt;&amp;gt; variable length integers in the same specification. I understand is one&lt;br/&gt;&amp;gt; is already the default for variable-length integers currently, and there&lt;br/&gt;&amp;gt; are reasons to use the other one for efficiency reasons in some places,&lt;br/&gt;&amp;gt; but perhaps we should aim to get everything using the latter?&lt;br/&gt;&lt;br/&gt;Fixed, the whole thing now uses New Varints.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; ====New VarInt====&lt;br/&gt;&amp;gt;&amp;gt; Variable-length integers: bytes are a MSB base-128 encoding of the number.&lt;br/&gt;&amp;gt;&amp;gt; The high bit in each byte signifies whether another digit follows. To make&lt;br/&gt;&amp;gt;&amp;gt; sure the encoding is one-to-one, one is subtracted from all but the last&lt;br/&gt;&amp;gt;&amp;gt; digit.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Maybe it&amp;#39;s worth mentioning that it is based on ASN.1 BER&amp;#39;s compressed&lt;br/&gt;&amp;gt; integer format (see&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf&#34;&gt;https://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf&lt;/a&gt;&lt;br/&gt;&amp;gt; section 8.1.3.5), though with a small modification to make every integer&lt;br/&gt;&amp;gt; have a single unique encoding.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; ====HeaderAndShortIDs====&lt;br/&gt;&amp;gt;&amp;gt; A HeaderAndShortIDs structure is used to relay a block header, the short&lt;br/&gt;&amp;gt;&amp;gt; transactions IDs used for matching already-available transactions, and a&lt;br/&gt;&amp;gt;&amp;gt; select few transactions which we expect a peer may be missing.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; |shortids||List of uint64_ts||8*shortids_length bytes||Little&lt;br/&gt;&amp;gt;&amp;gt; Endian||The short transaction IDs calculated from the transactions which&lt;br/&gt;&amp;gt;&amp;gt; were not provided explicitly in prefilledtxn&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I tried to derive what length of short ids is actually necessary (some&lt;br/&gt;&amp;gt; write-up is on&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://gist.github.com/sipa/b2eb2e486156b5509ac711edd16153ed&#34;&gt;https://gist.github.com/sipa/b2eb2e486156b5509ac711edd16153ed&lt;/a&gt; but it&amp;#39;s&lt;br/&gt;&amp;gt; incomplete).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; For any reasonable numbers I can come up with (in a very wide range),&lt;br/&gt;&amp;gt; the number of bits needed is very well approximated by:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;   log2(#receiver_mempool_txn * #block_txn_not_in_receiver_mempool /&lt;br/&gt;&amp;gt; acceptable_per_block_failure_rate)&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; For example, with 20000 mempool transactions, 2500 transactions in a&lt;br/&gt;&amp;gt; block, 95% hitrate, and a chance of 1 in 10000 blocks to fail to&lt;br/&gt;&amp;gt; reconstruct, needed_bits = log2(20000 * 2500 * (1 - 0.95) / 0.0001) =&lt;br/&gt;&amp;gt; 34.54, or 5 byte txids would suffice.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Note that 1 in 10000 failures may sound like a lot, but this is for each&lt;br/&gt;&amp;gt; individual connection, and since every transmission uses separately&lt;br/&gt;&amp;gt; salted identifiers, occasional failures should not affect global&lt;br/&gt;&amp;gt; propagation. Given that transmission failures due to timeouts, network&lt;br/&gt;&amp;gt; connectivity, ... already occur much more frequently than once every few&lt;br/&gt;&amp;gt; gigabytes (what 10000 blocks corresponds to), that&amp;#39;s probably already&lt;br/&gt;&amp;gt; more than enough.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In short: I believe 5 or 6 byte txids should be enough, but perhaps it&lt;br/&gt;&amp;gt; makes sense to allow the sender to choose (so he can weigh trying&lt;br/&gt;&amp;gt; multiple nonces against increasing the short txid length).&lt;br/&gt;&lt;br/&gt;I switched to 6-byte short txids.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; ====Short transaction IDs====&lt;br/&gt;&amp;gt;&amp;gt; Short transaction IDs are used to represent a transaction without&lt;br/&gt;&amp;gt;&amp;gt; sending a full 256-bit hash. They are calculated by:&lt;br/&gt;&amp;gt;&amp;gt; # single-SHA256 hashing the block header with the nonce appended (in&lt;br/&gt;&amp;gt;&amp;gt; little-endian)&lt;br/&gt;&amp;gt;&amp;gt; # XORing each 8-byte chunk of the double-SHA256 transaction hash with&lt;br/&gt;&amp;gt;&amp;gt; each corresponding 8-byte chunk of the hash from the previous step&lt;br/&gt;&amp;gt;&amp;gt; # Adding each of the XORed 8-byte chunks together (in little-endian)&lt;br/&gt;&amp;gt;&amp;gt; iteratively to find the short transaction ID&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; An alternative would be using SipHash-1-3 (a form of SipHash with&lt;br/&gt;&amp;gt; reduced iteration counts; the default is SipHash-2-4). SipHash was&lt;br/&gt;&amp;gt; designed as a Message Authentication Code, where the security&lt;br/&gt;&amp;gt; requirements are much stronger than in our case (in particular, we don&amp;#39;t&lt;br/&gt;&amp;gt; care about observers being able to finding the key, as the key is just&lt;br/&gt;&amp;gt; public knowledge here). One of the designers of SipHash has commented&lt;br/&gt;&amp;gt; that SipHash-1-3 for collision resistance in hash tables may be enough:&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/rust-lang/rust/issues/29754#issuecomment-156073946&#34;&gt;https://github.com/rust-lang/rust/issues/29754#issuecomment-156073946&lt;/a&gt;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Using SipHash-1-3 on modern hardware would take ~32 CPU cycles per txid.&lt;br/&gt;&lt;br/&gt;Switched to SipHash2-4.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; ===Implementation Notes===&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; There are a few more heuristics that MAY be used to improve performance:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; * Receivers should treat short txids in blocks that match multiple&lt;br/&gt;&amp;gt; mempool transactions as non-matches, and request the transactions. This&lt;br/&gt;&amp;gt; significantly reduces the failure to reconstruct.&lt;br/&gt;&lt;br/&gt;Done.&lt;br/&gt;&lt;br/&gt;&amp;gt; * When constructing a compact block to send, the sender can verify it&lt;br/&gt;&amp;gt; against its own mempool to check for collisions, and if so, choose to&lt;br/&gt;&amp;gt; either try another nonce, or increase the short txid length.&lt;br/&gt;&lt;br/&gt;Additionally we should compare to the orphan pool (which apparently&lt;br/&gt;helps a lot).
    </content>
    <updated>2023-06-07T17:50:22Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqsqqqzfqg29jdl6v27xcgu4ylrnd4s6sw9c0msvyw7hr3xc03ahpdczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5fsjdcg</id>
    
      <title type="html">📅 Original date posted:2016-05-08 📝 Original message:(This ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqsqqqzfqg29jdl6v27xcgu4ylrnd4s6sw9c0msvyw7hr3xc03ahpdczyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm5fsjdcg" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsv2tlc6denw8l0tam3ynzz4hhhlrcgt4gmtqmwcrnw5jfzdsamanc4dsaxj&#39;&gt;nevent1q…saxj&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2016-05-08&lt;br/&gt;📝 Original message:(This response was originally off-list as moderators were still&lt;br/&gt;deciding, here it is for those interested).&lt;br/&gt;&lt;br/&gt;Hi Tom,&lt;br/&gt;&lt;br/&gt;Thanks for reading the draft text and commenting! Replies inline.&lt;br/&gt;&lt;br/&gt;Matt&lt;br/&gt;&lt;br/&gt;On 05/08/16 00:40, Johnathan Corgan wrote:&lt;br/&gt;&amp;gt; ---------- Forwarded message ----------&lt;br/&gt;&amp;gt; From: Tom &amp;lt;tomz at freedommail.ch &amp;lt;mailto:tomz at freedommail.ch&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt; To: bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &amp;lt;mailto:bitcoin-dev at lists.linuxfoundation.org&amp;gt;, Matt Corallo &amp;lt;lf-lists at mattcorallo.com &amp;lt;mailto:lf-lists at mattcorallo.com&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt; Cc: &lt;br/&gt;&amp;gt; Date: Fri, 06 May 2016 13:31:15 &#43;0100&lt;br/&gt;&amp;gt; Subject: Re: [bitcoin-dev] Compact Block Relay BIP&lt;br/&gt;&amp;gt; On Monday 02 May 2016 22:13:22 Matt Corallo via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Thanks for putting in the time to make a spec!&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; It looks good already, but I do think some more improvements can be made.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; ===Intended Protocol Flow===&lt;br/&gt;&amp;gt; I&amp;#39;m not a fan of the solution that a CNode should keep state and talk to&lt;br/&gt;&amp;gt; its remote nodes differently while announcing new blocks.&lt;br/&gt;&amp;gt; Its too complicated and ultimately counter-productive.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The problem is that an individual node needs to predict network behaviour in&lt;br/&gt;&amp;gt; advance. With the downside that if it guesses wrong that both nodes end up&lt;br/&gt;&amp;gt; paying for the wrong guess.&lt;br/&gt;&amp;gt; This is not a good way to design a p2p layer.&lt;br/&gt;&lt;br/&gt;Nodes don&amp;#39;t need to predict much in advance, and the cost for predicting&lt;br/&gt;wrong is 0 if your peers receive blocks with a few hundred ms between&lt;br/&gt;them (as we should expect) and you haven&amp;#39;t set the announce bit on more&lt;br/&gt;than a few peers (as the spec requires for this reason). As for&lt;br/&gt;complexity of keeping state, think of it as a version flag in much the&lt;br/&gt;same way sendheaders operates.&lt;br/&gt;&lt;br/&gt;It seems I forgot to add a suggested peer-preforwarding-selection&lt;br/&gt;algorithm in the text, but the intended use-case is to set the bit on&lt;br/&gt;peers which recently provided you blocks faster than other peers, up to&lt;br/&gt;only one or three peers. This is both simple and should be incredibly&lt;br/&gt;effective.&lt;br/&gt;&lt;br/&gt;[This has now been clarified in the BIP text]&lt;br/&gt;&lt;br/&gt;&amp;gt; I would suggest that a new block is announced to all nodes equally and then&lt;br/&gt;&amp;gt; individual nodes can respond with a request of either a &amp;#39;compact&amp;#39; or a&lt;br/&gt;&amp;gt; normal block.&lt;br/&gt;&amp;gt; This is much more in line with the current design as well.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Detection if remote nodes support compact blocks, for the purpose of&lt;br/&gt;&amp;gt; requesting a compact-block, can be done either via a network-bit or just a&lt;br/&gt;&amp;gt; protocol version. Or something else entirely, if you have better&lt;br/&gt;&amp;gt; suggestions.&lt;br/&gt;&lt;br/&gt;In line with recent trends, neither service bits nor protocol versions&lt;br/&gt;are particularly well-suited for this purpose. Protocol versions are&lt;br/&gt;impossible to handle sanely across different nodes on the network, as&lt;br/&gt;they cannot indicate optional features. Service bits, while somewhat&lt;br/&gt;more appropriate for this purpose, are a very limited resource which is&lt;br/&gt;generally better suited to indicating significant new features which&lt;br/&gt;nodes might need for correct operation, and thus might wish to actively&lt;br/&gt;seek out when making connections. I&amp;#39;m not sure anyone is suggesting that&lt;br/&gt;here, and absent that recent agreement preferred message-based feature&lt;br/&gt;indication instead of version-message-extension.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; Variable-length integers: bytes are a MSB base-128 encoding of the&lt;br/&gt;&amp;gt;&amp;gt; number.&lt;br/&gt;&amp;gt;&amp;gt; The high bit in each byte signifies whether another digit follows.&lt;br/&gt;&amp;gt;&amp;gt; [snip bitwise spec]&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I suggest just referring to UTF-8 which describes this just fine.&lt;br/&gt;&amp;gt; it is good practice to refer to existing specs when possible and not copy&lt;br/&gt;&amp;gt; the details.&lt;br/&gt;&lt;br/&gt;Hmm? There is no UTF anywhere in this protocol. Indeed this section&lt;br/&gt;needs to be rewritten, as indicated. I&amp;#39;d recommend you read the code&lt;br/&gt;until I update the section with better text if you&amp;#39;re confused.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; ====Short transaction IDs====&lt;br/&gt;&amp;gt;&amp;gt; Short transaction IDs are used to represent a transaction without&lt;br/&gt;&amp;gt;&amp;gt; sending a full 256-bit hash. They are calculated by:&lt;br/&gt;&amp;gt;&amp;gt; # single-SHA256 hashing the block header with the nonce appended (in&lt;br/&gt;&amp;gt;&amp;gt; little-endian)&lt;br/&gt;&amp;gt;&amp;gt; # XORing each 8-byte chunk of the double-SHA256 transaction hash with&lt;br/&gt;&amp;gt;&amp;gt; each corresponding 8-byte chunk of the hash from the previous step&lt;br/&gt;&amp;gt;&amp;gt; # Adding each of the XORed 8-byte chunks together (in little-endian)&lt;br/&gt;&amp;gt;&amp;gt; iteratively to find the short transaction ID&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I don&amp;#39;t think this is needed. Just use the first 8 bytes.&lt;br/&gt;&amp;gt; The reason to do xor-ing doesn&amp;#39;t hold up and extra complexity is unneeded.&lt;br/&gt;&amp;gt; Especially since you mention some lines down;&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt;&amp;gt; The short transaction ID calculation is designed to take absolutely&lt;br/&gt;&amp;gt;&amp;gt; minimal processing time during block compaction to avoid introducing&lt;br/&gt;&amp;gt;&amp;gt; serious DoS vulnerabilities&lt;br/&gt;&lt;br/&gt;I&amp;#39;m confused as to what, specifically, you&amp;#39;re proposing this be changed&lt;br/&gt;to. I&amp;#39;m pretty sure the proposed protocol is about as simple as you can&lt;br/&gt;get while retaining some reasonable collision resistance. I might,&lt;br/&gt;however, decide to switch to siphash with a very low round count, given&lt;br/&gt;that it&amp;#39;s probably faster than the cache-fill-time taken by just&lt;br/&gt;iterating over the mempool. Needs a bit further investigation.&lt;br/&gt;&lt;br/&gt;&amp;gt; ==Acknowledgements==&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I think you need to acknowledge some more people, or just remove this&lt;br/&gt;&amp;gt; paragraph.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Cheers&lt;br/&gt;&lt;br/&gt;Greg was the only large contributor to the document (and was a very&lt;br/&gt;large contributor, as mentioned - the work is based hugely on a protocol&lt;br/&gt;recommendation he wrote up several years ago) don&amp;#39;t see why this should&lt;br/&gt;mean he doesn&amp;#39;t get credit.&lt;br/&gt;&lt;br/&gt;[For those interested, I&amp;#39;m referring here to&lt;br/&gt;&lt;a href=&#34;https://en.bitcoin.it/wiki/User:Gmaxwell/block_network_coding&#34;&gt;https://en.bitcoin.it/wiki/User:Gmaxwell/block_network_coding&lt;/a&gt;. This&lt;br/&gt;BIP/the implementation is a precursor to an implementation that looks&lt;br/&gt;similar to what Greg proposes there which can be found on my udp-wip&lt;br/&gt;branch, which is based on and uses the data structures involved here.]
    </content>
    <updated>2023-06-07T17:50:17Z</updated>
  </entry>

  <entry>
    <id>https://njump.me/nevent1qqs8hvr2t2gchaeun5r6f87yju9yzvxp65ckjqq3dk2g3e7z4nzxg8gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm56umjv9</id>
    
      <title type="html">📅 Original date posted:2016-05-06 📝 Original message:Thanks ...</title>
    
    <link rel="alternate" href="https://njump.me/nevent1qqs8hvr2t2gchaeun5r6f87yju9yzvxp65ckjqq3dk2g3e7z4nzxg8gzyrxh2w4gl0q39c20l607p8fkxrcwlamv568rwmsqfw880d584hwm56umjv9" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsz8v7vv4hd3aqavakwusvmssljvk3plyzruckvw0kgtyewjvdnt5g66m04g&#39;&gt;nevent1q…m04g&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2016-05-06&lt;br/&gt;📝 Original message:Thanks Greg for the testing!&lt;br/&gt;&lt;br/&gt;Note that to those who are reviewing the doc, a few minor tweaks to&lt;br/&gt;wording and clarification have been made to the git version, so please&lt;br/&gt;review there.&lt;br/&gt;&lt;br/&gt;On 05/03/16 05:02, Gregory Maxwell wrote:&lt;br/&gt;&amp;gt; On Mon, May 2, 2016 at 10:13 PM, Matt Corallo via bitcoin-dev&lt;br/&gt;&amp;gt; &amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt;&amp;gt; Hi all,&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The following is a BIP-formatted design spec for compact block relay&lt;br/&gt;&amp;gt;&amp;gt; designed to limit on wire bytes during block relay. You can find the&lt;br/&gt;&amp;gt;&amp;gt; latest version of this document at&lt;br/&gt;&amp;gt;&amp;gt; &lt;a href=&#34;https://github.com/TheBlueMatt/bips/blob/master/bip-TODO.mediawiki&#34;&gt;https://github.com/TheBlueMatt/bips/blob/master/bip-TODO.mediawiki&lt;/a&gt;.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; Thanks Matt!&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I&amp;#39;ve been testing this for a couple weeks (in various forms).  I&amp;#39;ve&lt;br/&gt;&amp;gt; been getting over 96% reduction in block-bytes sent. I don&amp;#39;t have a&lt;br/&gt;&amp;gt; good metric for it, but bandwidth spikes are greatly reduced. The&lt;br/&gt;&amp;gt; largest blocktxn message I&amp;#39;ve seen on a node that has been up for at&lt;br/&gt;&amp;gt; least a day is 475736 bytes. 94% of the blocks less than 100kb must be&lt;br/&gt;&amp;gt; sent in total.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In the opportunistic mode my measurements are showing 73% of blocks&lt;br/&gt;&amp;gt; transferred with 0.5 RTT even without prediction, 87% if up to 4&lt;br/&gt;&amp;gt; additional transactions are predicted, and 91% for 30 transactions (my&lt;br/&gt;&amp;gt; rough estimate for the 10k maximum prediction suggested in the BIP.&lt;br/&gt;&amp;gt;
    </content>
    <updated>2023-06-07T17:50:16Z</updated>
  </entry>

</feed>