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

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




  <entry>
    <id>https://nostr.ae/nevent1qqsrxh23euyrnsul8javn95ypvpq8qrz7j5h9uuj8ndfgh405rgyw3gzyq4fklf5yvzpjqdh8zlxk82q5mjd60usg8n6t7j2957xvtffdq2vw7tstmg</id>
    
      <title type="html">📅 Original date posted:2017-08-16 📝 Original message:What ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsrxh23euyrnsul8javn95ypvpq8qrz7j5h9uuj8ndfgh405rgyw3gzyq4fklf5yvzpjqdh8zlxk82q5mjd60usg8n6t7j2957xvtffdq2vw7tstmg" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqste0ag60v0pztrn9eehhy0rgy0dqdqxt688fv0nc95p4wpjdzlv4gs96x4a&#39;&gt;nevent1q…6x4a&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-08-16&lt;br/&gt;📝 Original message:What makes this approach better than the prune option of Bitcoin?&lt;br/&gt;&lt;br/&gt;On Wed, Aug 16, 2017 at 10:20 AM, Алексей Мутовкин via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Let me describe the possible improvement of the bitcoin blockchain&lt;br/&gt;&amp;gt; database (BBD)  size in general terms.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; We can implement new routine : annual split of the BBD. Reason is that&lt;br/&gt;&amp;gt; 140gb full wallet unconvinience.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; BBD splits in two parts :&lt;br/&gt;&amp;gt; 1) old blocks before the date of split and&lt;br/&gt;&amp;gt; 2) new blocks, starting from first technical block with all rolled totals&lt;br/&gt;&amp;gt; on the date of split.&lt;br/&gt;&amp;gt;     (also possible transfer of tiny totals due to their unprofitability to&lt;br/&gt;&amp;gt; the miners, so we cut long tail of tiny holders)&lt;br/&gt;&amp;gt; 3) old blocks packs into annual megablocks and stores in the side archive&lt;br/&gt;&amp;gt; chain for some needs for FBI investigations or other goals.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Thanks for your attention,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Alexey Mutovkin&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;&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;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170816/394d6a3f/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170816/394d6a3f/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T20:04:48&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsf9kacaqd49vev5qa0quggwzj0s8fxwcez25hnsz87fw7yxh38hcczyq4fklf5yvzpjqdh8zlxk82q5mjd60usg8n6t7j2957xvtffdq2vweys0ml</id>
    
      <title type="html">📅 Original date posted:2017-03-20 📝 Original message:Chain ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsf9kacaqd49vev5qa0quggwzj0s8fxwcez25hnsz87fw7yxh38hcczyq4fklf5yvzpjqdh8zlxk82q5mjd60usg8n6t7j2957xvtffdq2vweys0ml" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqszhw8ra7lc82t0ecg8u9mhaygegl2a9ueka6vt7y97aq0x040slfgduq5xr&#39;&gt;nevent1q…q5xr&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-03-20&lt;br/&gt;📝 Original message:Chain work currently means the expected number of sha256d evaluations&lt;br/&gt;needed to build a chain. Given that these hash functions are not equally&lt;br/&gt;hard, what should the new definition of chain work be?&lt;br/&gt;&lt;br/&gt;On Mon, Mar 20, 2017 at 9:38 AM, Andrew Johnson via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; By doing this you&amp;#39;re significantly changing the economic incentives behind&lt;br/&gt;&amp;gt; bitcoin mining. How can you reliably invest in hardware if you have no idea&lt;br/&gt;&amp;gt; when or if your profitability is going to be cut by 50-75% based on a whim?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; You may also inadvertently create an entirely new attack vector if 50-75%&lt;br/&gt;&amp;gt; of the SHA256 hardware is taken offline and purchased by an entity who&lt;br/&gt;&amp;gt; intends to do harm to the network.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Bitcoin only works if most miners are honest, this has been known since&lt;br/&gt;&amp;gt; the beginning.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On Mon, Mar 20, 2017 at 9:50 AM John Hardy 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; I’m very worried about the state of miner centralisation in Bitcoin.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I always felt the centralising effects of ASIC manufacturing would&lt;br/&gt;&amp;gt;&amp;gt; resolve themselves once the first mover advantage had been exhausted and&lt;br/&gt;&amp;gt;&amp;gt; the industry had the opportunity to mature.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I had always assumed initial centralisation would be harmless since&lt;br/&gt;&amp;gt;&amp;gt; miners have no incentive to harm the network. This does not consider the&lt;br/&gt;&amp;gt;&amp;gt; risk of a single entity with sufficient power and either poor, malicious or&lt;br/&gt;&amp;gt;&amp;gt; coerced decision making. I now believe that such centralisation poses a&lt;br/&gt;&amp;gt;&amp;gt; huge risk to the security of Bitcoin and preemptive action needs to be&lt;br/&gt;&amp;gt;&amp;gt; taken to protect the network from malicious actions by any party able to&lt;br/&gt;&amp;gt;&amp;gt; exert influence over a substantial portion of SHA256 hardware.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Inspired by UASF, I believe we should implement a Malicious miner&lt;br/&gt;&amp;gt;&amp;gt; Reactive Proof of Work Additions (MR POWA).&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; This would be a hard fork activated in response to a malicious attempt by&lt;br/&gt;&amp;gt;&amp;gt; a hashpower majority to introduce a contentious hard fork.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The activation would occur once a fork was detected violating protocol&lt;br/&gt;&amp;gt;&amp;gt; (likely oversize blocks) with a majority of hashpower. The threshold and&lt;br/&gt;&amp;gt;&amp;gt; duration for activation would need to be carefully considered.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I don’t think we should eliminate SHA256 as a hashing method and change&lt;br/&gt;&amp;gt;&amp;gt; POW entirely. That would be throwing the baby out with the bathwater and&lt;br/&gt;&amp;gt;&amp;gt; hurt the non-malicious miners who have invested in hardware, making it&lt;br/&gt;&amp;gt;&amp;gt; harder to gain their support.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Instead I believe we should introduce multiple new proofs of work that&lt;br/&gt;&amp;gt;&amp;gt; are already established and proven within existing altcoin implementations.&lt;br/&gt;&amp;gt;&amp;gt; As an example we could add Scrypt, Ethash and Equihash. Much of the code&lt;br/&gt;&amp;gt;&amp;gt; and mining infrastructure already exists. Diversification of hardware (a&lt;br/&gt;&amp;gt;&amp;gt; mix of CPU and memory intensive methods) would also be positive for&lt;br/&gt;&amp;gt;&amp;gt; decentralisation. Initial difficulty could simply be an estimated portion&lt;br/&gt;&amp;gt;&amp;gt; of existing infrastructure.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; This example would mean 4 proofs of work with 40 minute block target&lt;br/&gt;&amp;gt;&amp;gt; difficulty for each. There could also be a rule that two different proofs&lt;br/&gt;&amp;gt;&amp;gt; of work must find a block before a method can start hashing again. This&lt;br/&gt;&amp;gt;&amp;gt; means there would only be 50% of hardware hashing at a time, and a sudden&lt;br/&gt;&amp;gt;&amp;gt; gain or drop in hashpower from a particular method does not dramatically&lt;br/&gt;&amp;gt;&amp;gt; impact the functioning of the network between difficulty adjustments. This&lt;br/&gt;&amp;gt;&amp;gt; also adds protection from attacks by the malicious SHA256 hashpower which&lt;br/&gt;&amp;gt;&amp;gt; could even be required to wait until all other methods have found a block&lt;br/&gt;&amp;gt;&amp;gt; before being allowed to hash again.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; 50% hashing time would mean that the cost of electricity in relation to&lt;br/&gt;&amp;gt;&amp;gt; hardware would fall by 50%, reducing some of the centralising impact of&lt;br/&gt;&amp;gt;&amp;gt; subsidised or inexpensive electricity in some regions over others.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; Such a hard fork could also, counter-intuitively, introduce a block size&lt;br/&gt;&amp;gt;&amp;gt; increase since while we’re hard forking it makes sense to minimise the&lt;br/&gt;&amp;gt;&amp;gt; number of future hard forks where possible. It could also activate SegWit&lt;br/&gt;&amp;gt;&amp;gt; if it hasn’t already.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; The beauty of this method is that it creates a huge risk to any malicious&lt;br/&gt;&amp;gt;&amp;gt; actor trying to abuse their position. Ideally, MR POWA would just serve as&lt;br/&gt;&amp;gt;&amp;gt; a deterrent and never activate.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; If consensus were to form around a hard fork in the future nodes would be&lt;br/&gt;&amp;gt;&amp;gt; able to upgrade and MR POWA, while automatically activating on non-upgraded&lt;br/&gt;&amp;gt;&amp;gt; nodes, would be of no economic significance: a vestigial chain immediately&lt;br/&gt;&amp;gt;&amp;gt; abandoned with no miner incentive.&lt;br/&gt;&amp;gt;&amp;gt;&lt;br/&gt;&amp;gt;&amp;gt; I think this would be a great way to help prevent malicious use of&lt;br/&gt;&amp;gt;&amp;gt; hashpower to harm the network. This is the beauty of Bitcoin: for any road&lt;br/&gt;&amp;gt;&amp;gt; block that emerges the economic majority can always find a way around.&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;&lt;br/&gt;&amp;gt; --&lt;br/&gt;&amp;gt; Andrew Johnson&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;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170320/873357b6/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170320/873357b6/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T19:57:25&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsxfcsjdc709r7k0czftgsxvuxlrrtp8vrpa3qs579t5ynr8d6fgfqzyq4fklf5yvzpjqdh8zlxk82q5mjd60usg8n6t7j2957xvtffdq2vw0t2lax</id>
    
      <title type="html">📅 Original date posted:2017-03-13 📝 Original ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsxfcsjdc709r7k0czftgsxvuxlrrtp8vrpa3qs579t5ynr8d6fgfqzyq4fklf5yvzpjqdh8zlxk82q5mjd60usg8n6t7j2957xvtffdq2vw0t2lax" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsx0qzngfpwyywq32rsyewmme0sgfy3dptrn80l5gf87w2psh39jzqkp9srl&#39;&gt;nevent1q…9srl&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-03-13&lt;br/&gt;📝 Original message:&amp;gt;time &amp;gt;= 1506816000 &amp;amp;&amp;amp; time &amp;lt;= 1510704000 &amp;amp;&amp;amp; !IsWitnessEnabled()&lt;br/&gt;This has a different start time from the first post.&lt;br/&gt;&amp;gt;if (pindex-&amp;gt;GetMedianTimePast() &amp;gt;= 1538352000 &amp;amp;&amp;amp;&lt;br/&gt;pindex-&amp;gt;GetMedianTimePast() &amp;lt;= 1510704000 ...&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;--Nick&lt;br/&gt;&lt;br/&gt;On Mon, Mar 13, 2017 at 4:36 AM, shaolinfry via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; From: luke at dashjr.org&lt;br/&gt;&amp;gt; On Sunday, March 12, 2017 3:50:27 PM shaolinfry via bitcoin-dev wrote:&lt;br/&gt;&amp;gt; &amp;gt; // mandatory segwit activation between Oct 1st 2017 and Nov 15th 2017&lt;br/&gt;&amp;gt; &amp;gt; inclusive if (pindex-&amp;gt;GetMedianTimePast() &amp;gt;= 1538352000 &amp;amp;&amp;amp;&lt;br/&gt;&amp;gt; &amp;gt; pindex-&amp;gt;GetMedianTimePast() &amp;lt;= 1510704000 &amp;amp;&amp;amp;&lt;br/&gt;&amp;gt; &amp;gt; !IsWitnessEnabled(pindex-&amp;gt;pprev, chainparams.GetConsensus())) {&lt;br/&gt;&amp;gt; &amp;gt; if (!((pindex-&amp;gt;nVersion &amp;amp; VERSIONBITS_TOP_MASK) ==&lt;br/&gt;&amp;gt; &amp;gt; VERSIONBITS_TOP_BITS) &amp;amp;&amp;amp; (pindex-&amp;gt;nVersion &amp;amp; VersionBitsMask(params,&lt;br/&gt;&amp;gt; &amp;gt; Consensus::DEPLOYMENT_SEGWIT)) != 0) {&lt;br/&gt;&amp;gt; &amp;gt; return state.DoS(2, error(&amp;#34;ConnectBlock(): relayed block must&lt;br/&gt;&amp;gt; &amp;gt; signal for segwit, please upgrade&amp;#34;), REJECT_INVALID,&lt;br/&gt;&amp;gt; &amp;gt; &amp;#34;bad-no-segwit&amp;#34;);&lt;br/&gt;&amp;gt; &amp;gt; }&lt;br/&gt;&amp;gt; &amp;gt; }&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I don&amp;#39;t think this is actually BIP 9 compatible. Once activated, the bit&lt;br/&gt;&amp;gt; loses&lt;br/&gt;&amp;gt; its meaning and should not be set. So you need to check that it hasn&amp;#39;t&lt;br/&gt;&amp;gt; locked-&lt;br/&gt;&amp;gt; in already...&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I believe that is handled.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; time &amp;gt;= 1506816000 &amp;amp;&amp;amp; time &amp;lt;= 1510704000 &amp;amp;&amp;amp; !IsWitnessEnabled()&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Signalling is only required from October 1st until the BIP9 timeout, or,&lt;br/&gt;&amp;gt; until segwit is activated. The bit becomes free after activation/timeout as&lt;br/&gt;&amp;gt; per BIP9. Also, the default behaviour of BIP9 in Bitcoin Core is to signal&lt;br/&gt;&amp;gt; through the LOCKED_IN period - it would be trivial to add a condition to&lt;br/&gt;&amp;gt; not require mandatory signalling during LOCKED_IN but since miners signal&lt;br/&gt;&amp;gt; by default during this period, I figured I would leave it.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; I thought about 5% tolerance. but I don&amp;#39;t think it makes sense since&lt;br/&gt;&amp;gt; miners will already have plenty of warning this is coming up and the intent&lt;br/&gt;&amp;gt; of the mandatory signalling period is quite clear. It also seems a bit&lt;br/&gt;&amp;gt; weird to say &amp;#34;it&amp;#39;s mandatory but not for 5%&amp;#34;. If miners are required to&lt;br/&gt;&amp;gt; signal, they need to signal. It also adds unnecessary complexity to an&lt;br/&gt;&amp;gt; otherwise simple patch.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; That said, I have no strong feelings either way on both counts, but I&lt;br/&gt;&amp;gt; chose to present the simplest option first.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170313/1488d886/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170313/1488d886/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T19:57:14&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqs2ty050h2vy3nrfq94x43p45asrs9h5alugl7peur4l7hufnlfd4szyq4fklf5yvzpjqdh8zlxk82q5mjd60usg8n6t7j2957xvtffdq2vwhrfngn</id>
    
      <title type="html">📅 Original date posted:2015-11-06 📝 Original message:Your ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs2ty050h2vy3nrfq94x43p45asrs9h5alugl7peur4l7hufnlfd4szyq4fklf5yvzpjqdh8zlxk82q5mjd60usg8n6t7j2957xvtffdq2vwhrfngn" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsf0d70u50yycknnxhtzsmgvtdp6l63e4ppu0ymnhuesd7kcat0hjghykmw0&#39;&gt;nevent1q…kmw0&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2015-11-06&lt;br/&gt;📝 Original message:Your suggested modification seems sound.&lt;br/&gt;&lt;br/&gt;Though, a script author could do something similar right now by&lt;br/&gt;prefacing his IF with this:&lt;br/&gt;&lt;br/&gt;    OP_DUP OP_DUP OP_0 OP_EQUAL OP_SWAP OP_1 OP_EQUAL OP_BOOLOR&lt;br/&gt;OP_NOTIF OP_RETURN OP_ENDIF [actual OP_IF goes here]&lt;br/&gt;&lt;br/&gt;That checks whether the input is 0 or 1, and runs OP_RETURN if not.&lt;br/&gt;Your way is cleaner, though.&lt;br/&gt;&lt;br/&gt;On Fri, Nov 6, 2015 at 1:13 AM, jl2012 via bitcoin-dev&lt;br/&gt;&amp;lt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&amp;gt; I have a new BIP draft for fixing OP_IF and OP_NOTIF malleability. Please&lt;br/&gt;&amp;gt; comment:&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://github.com/jl2012/bips/blob/master/opifmalleability.mediawiki&#34;&gt;https://github.com/jl2012/bips/blob/master/opifmalleability.mediawiki&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Copied below:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; BIP: x&lt;br/&gt;&amp;gt;   Title: Dealing with OP_IF and OP_NOTIF malleability&lt;br/&gt;&amp;gt;   Author: jl2012 &amp;lt;jl2012 at xbt.hk&amp;gt;&lt;br/&gt;&amp;gt;   Status: Draft&lt;br/&gt;&amp;gt;   Type: Standards Track&lt;br/&gt;&amp;gt;   Created: 2015-11-06&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Abstract&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; As an supplement to BIP62, this document specifies proposed changes to the&lt;br/&gt;&amp;gt; Bitcoin transaction validity rules in order to make malleability of&lt;br/&gt;&amp;gt; transactions with OP_IF and OP_NOTIF impossible.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Motivation&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; OP_IF and OP_NOTIF are flow control codes in the Bitcoin script system. The&lt;br/&gt;&amp;gt; programme flow is decided by whether the top stake value is 0 or not.&lt;br/&gt;&amp;gt; However, this behavior opens a source of malleability as a third party may&lt;br/&gt;&amp;gt; alter a non-zero flow control value to any other non-zero value without&lt;br/&gt;&amp;gt; invalidating the transaction.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; As of November 2015, OP_IF and OP_NOTIF are not commonly used in the&lt;br/&gt;&amp;gt; blockchain. However, as more sophisticated functions such as&lt;br/&gt;&amp;gt; OP_CHECKLOCKTIMEVERITY are being introduced, OP_IF and OP_NOTIF will become&lt;br/&gt;&amp;gt; more popular and the related malleability should be fixed. This proposal&lt;br/&gt;&amp;gt; serves as a supplement to BIP62 and should be implemented with other&lt;br/&gt;&amp;gt; malleability fixes together.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Specification&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; If the transaction version is 3 or above, the flow control value for OP_IF&lt;br/&gt;&amp;gt; and OP_NOTIF must be either 0 or 1, or the transaction fails.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This is to be implemented with BIP62.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Compatibility&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; This is a softfork. To ensure OP_IF and OP_NOTIF transactions created before&lt;br/&gt;&amp;gt; the introduction of this BIP will still be accpeted by the network, the new&lt;br/&gt;&amp;gt; rules only apply to transactions of version 3 or above.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; For people who want to preserve the original behaviour of OP_IF and&lt;br/&gt;&amp;gt; OP_NOTIF, an OP_0NOTEQUAL could be  used before the flow control code to&lt;br/&gt;&amp;gt; transform any non-zero value to 1.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Reference&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; BIP62: &lt;a href=&#34;https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki&#34;&gt;https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki&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;
    </content>
    <updated>2023-06-07T19:44:17&#43;02:00</updated>
  </entry>

</feed>