<oembed><type>rich</type><version>1.0</version><author_name>npub1kc0zulxt7j4a0ayhzhrz7jk84y7tm4026qcky7w97hlfkxxap24qnwjfw4</author_name><author_url>https://nostr.ae/npub1kc0zulxt7j4a0ayhzhrz7jk84y7tm4026qcky7w97hlfkxxap24qnwjfw4</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2015-11-01&#xA;📝 Original message:My answer is simply &#34;No&#34;, you don&#39;t have to maintain backward &#xA;compatibility for non-standard tx.&#xA;&#xA;The same question applies to P2SH. Before the deployment of BIP16, one &#xA;could have created a time-locked tx with one of the output was in the &#xA;form of HASH160 &lt;hash&gt; EQUAL. The &lt;hash&gt;, however, is not a hash of a &#xA;valid serialized script, so the output is now permanently frozen.&#xA;&#xA;It also applies to all the OP codes disabled by Satoshi: one could have &#xA;created a time-locked tx with those now disabled OP codes.&#xA;&#xA;Same for BIP65 with the use of OP_NOP2. Following your logic, we can&#39;t &#xA;make any softfork related to the script system.&#xA;&#xA;I think it is very important to make it clear that non-standard txs and &#xA;non-standard scripts may become invalid in the future&#xA;&#xA;Gavin Andresen via bitcoin-dev 於 2015-10-28 10:06 寫到:&#xA;&gt; I&#39;m hoping this fits under the moderation rule of &#34;short-term changes&#xA;&gt; to the Bitcoin protcol&#34; (I&#39;m not exactly clear on what is meant by&#xA;&gt; &#34;short-term&#34;; it would be lovely if the moderators would start a&#xA;&gt; thread on bitcoin-discuss to clarify that):&#xA;&gt; &#xA;&gt; Should it be a requirement that ANY one-megabyte transaction that is&#xA;&gt; valid&#xA;&gt; under the existing rules also be valid under new rules?&#xA;&gt; &#xA;&gt; Pro:  There could be expensive-to-validate transactions created and&#xA;&gt; given a&#xA;&gt; lockTime in the future stored somewhere safe. Their owners may have no&#xA;&gt; other way of spending the funds (they might have thrown away the&#xA;&gt; private&#xA;&gt; keys), and changing validation rules to be more strict so that those&#xA;&gt; transactions are invalid would be an unacceptable confiscation of&#xA;&gt; funds.&#xA;&gt; &#xA;&gt; Con: It is extremely unlikely there are any such large, timelocked&#xA;&gt; transactions, because the Core code has had a clear policy for years&#xA;&gt; that&#xA;&gt; 100,000-byte transactions are &amp;quot;standard&amp;quot; and are relayed and&#xA;&gt; mined, and&#xA;&gt; larger transactions are not. The requirement should be relaxed so that&#xA;&gt; only&#xA;&gt; valid 100,000-byte transaction under old consensus rules must be valid&#xA;&gt; under new consensus rules (larger transactions may or may not be&#xA;&gt; valid).&#xA;&gt; &#xA;&gt; I had to wrestle with that question when I implemented BIP101/Bitcoin&#xA;&gt; XT&#xA;&gt; when deciding on a limit for signature hashing (and decided the right&#xA;&gt; answer was to support any &#34;non-attack&#34;1MB transaction; see&#xA;&gt; https://bitcoincore.org/~gavin/ValidationSanity.pdf [1] for more&#xA;&gt; details).&#xA;&gt; &#xA;&gt; --&#xA;&gt; &#xA;&gt; --&#xA;&gt; Gavin Andresen&#xA;&gt; &#xA;&gt; &#xA;&gt; Links:&#xA;&gt; ------&#xA;&gt; [1] https://bitcoincore.org/~gavin/ValidationSanity.pdf&#xA;&gt; &#xA;&gt; _______________________________________________&#xA;&gt; bitcoin-dev mailing list&#xA;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</html></oembed>