<oembed><type>rich</type><version>1.0</version><title>Jeremy [ARCHIVE] wrote</title><author_name>Jeremy [ARCHIVE] (npub1q8…8qwta)</author_name><author_url>https://yabu.me/npub1q86n5vtxkwerzwfqza3hwls8pl8764244464talfqy2vpj0qaz6q38qwta</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2021-09-06&#xA;📝 Original message:BIP 68 says &gt;= 2:&#xA;*This specification defines the meaning of sequence numbers for&#xA;transactions with an nVersion greater than or equal to 2 for which the rest&#xA;of this specification relies on.*&#xA;BIP-112 says not &lt; 2&#xA;// Fail if the transaction&#39;s version number is not set high&#xA;// enough to trigger BIP 68 rules.&#xA;if (static_cast&lt;uint32_t&gt;(txTo-&gt;nVersion) &lt; 2) return false;&#xA;&#xA;A further proof that this needs fix: the flawed upgradable semantic exists&#xA;in script as well as in the transaction nSeqeunce. we can&#39;t really control&#xA;the transaction version an output will be spent with in the future, so it&#xA;would be weird/bad to change the semantic in transaction version 3.&#xA;&#xA;--&#xA;@JeremyRubin &lt;https://twitter.com/JeremyRubin&gt;&#xA;&lt;https://twitter.com/JeremyRubin&gt;&#xA;&#xA;&#xA;On Sun, Sep 5, 2021 at 7:36 PM David A. Harding &lt;dave at dtrt.org&gt; wrote:&#xA;&#xA;&gt; On Fri, Sep 03, 2021 at 08:32:19PM -0700, Jeremy via bitcoin-dev wrote:&#xA;&gt; &gt; Hi Bitcoin Devs,&#xA;&gt; &gt;&#xA;&gt; &gt; I recently noticed a flaw in the Sequence lock implementation with&#xA;&gt; respect&#xA;&gt; &gt; to upgradability. It might be the case that this is protected against by&#xA;&gt; &gt; some transaction level policy (didn&#39;t see any in policy.cpp, but if not,&#xA;&gt; &gt; I&#39;ve put up a blogpost explaining the defect and patching it&#xA;&gt; &gt; https://rubin.io/bitcoin/2021/09/03/upgradable-nops-flaw/&#xA;&gt;&#xA;&gt; Isn&#39;t this why BIP68 requires using tx.version=2?  Wouldn&#39;t we just&#xA;&gt; deploy any new nSequence rules with tx.version&gt;2?&#xA;&gt;&#xA;&gt; -Dave&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20210905/036b421e/attachment.html&gt;</html></oembed>