<oembed><type>rich</type><version>1.0</version><author_name>npub1g6vxlp4e0nyhs2dqxxcryztyf5f5hyuaq93nw4r87zcnv0sdsa0qqsl5wd</author_name><author_url>https://nostr.ae/npub1g6vxlp4e0nyhs2dqxxcryztyf5f5hyuaq93nw4r87zcnv0sdsa0qqsl5wd</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2015-11-01&#xA;📝 Original message:On Sun, Nov 1, 2015 at 5:28 PM, jl2012 via bitcoin-dev &lt;&#xA;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&#xA;&gt; I think it is very important to make it clear that non-standard txs and&#xA;&gt; non-standard scripts may become invalid in the future&#xA;&gt;&#xA;&#xA;There can be unavoidable situations which cause locked coins become&#xA;unspendable.&#xA;&#xA;In an ideal world, soft forks that make UTXOs unspendable should increase&#xA;the tx version number.  BIP-13 should have done that.  That would make the&#xA;change opt-in.&#xA;&#xA;The disabled opcodes like OP_CAT were a DOS/network security change.&#xA;&#xA;Invalidating locked coins is another reason that they shouldn&#39;t have been&#xA;disabled permanently.&#xA;&#xA;It would have been better to disable them for six months, so at least&#xA;people can get their coins back after that.  Inherently, protecting the&#xA;network required some limitations being added so that nodes couldn&#39;t be&#xA;crashed.&#xA;&#xA;For guidelines&#xA;&#xA;* Transaction version numbers will be increased, if possible&#xA;* Transactions with unknown/large version numbers are unsafe to use with&#xA;locktime&#xA;* Reasonable notice is given that the change is being contemplated&#xA;* Non-opt-in changes will only be to protect the integrity of the network&#xA;&#xA;Locked transaction that can be validated without excessive load on the&#xA;network should be safe to use, even if non-standard.&#xA;&#xA;An OP_CAT script that requires TBs of RAM to validate crosses the threshold&#xA;of reasonableness.&#xA;&#xA;&#xA;&#xA;&gt;&#xA;&gt; Gavin Andresen via bitcoin-dev 於 2015-10-28 10:06 寫到:&#xA;&gt;&#xA;&gt;&gt; I&#39;m hoping this fits under the moderation rule of &#34;short-term changes&#xA;&gt;&gt; to the Bitcoin protcol&#34; (I&#39;m not exactly clear on what is meant by&#xA;&gt;&gt; &#34;short-term&#34;; it would be lovely if the moderators would start a&#xA;&gt;&gt; thread on bitcoin-discuss to clarify that):&#xA;&gt;&gt;&#xA;&gt;&gt; Should it be a requirement that ANY one-megabyte transaction that is&#xA;&gt;&gt; valid&#xA;&gt;&gt; under the existing rules also be valid under new rules?&#xA;&gt;&gt;&#xA;&gt;&gt; Pro:  There could be expensive-to-validate transactions created and&#xA;&gt;&gt; given a&#xA;&gt;&gt; lockTime in the future stored somewhere safe. Their owners may have no&#xA;&gt;&gt; other way of spending the funds (they might have thrown away the&#xA;&gt;&gt; private&#xA;&gt;&gt; keys), and changing validation rules to be more strict so that those&#xA;&gt;&gt; transactions are invalid would be an unacceptable confiscation of&#xA;&gt;&gt; funds.&#xA;&gt;&gt;&#xA;&gt;&gt; Con: It is extremely unlikely there are any such large, timelocked&#xA;&gt;&gt; transactions, because the Core code has had a clear policy for years&#xA;&gt;&gt; that&#xA;&gt;&gt; 100,000-byte transactions are &amp;quot;standard&amp;quot; and are relayed and&#xA;&gt;&gt; mined, and&#xA;&gt;&gt; larger transactions are not. The requirement should be relaxed so that&#xA;&gt;&gt; only&#xA;&gt;&gt; valid 100,000-byte transaction under old consensus rules must be valid&#xA;&gt;&gt; under new consensus rules (larger transactions may or may not be&#xA;&gt;&gt; valid).&#xA;&gt;&gt;&#xA;&gt;&gt; I had to wrestle with that question when I implemented BIP101/Bitcoin&#xA;&gt;&gt; XT&#xA;&gt;&gt; when deciding on a limit for signature hashing (and decided the right&#xA;&gt;&gt; answer was to support any &#34;non-attack&#34;1MB transaction; see&#xA;&gt;&gt; https://bitcoincore.org/~gavin/ValidationSanity.pdf [1] for more&#xA;&gt;&gt; details).&#xA;&gt;&gt;&#xA;&gt;&gt; --&#xA;&gt;&gt;&#xA;&gt;&gt; --&#xA;&gt;&gt; Gavin Andresen&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; Links:&#xA;&gt;&gt; ------&#xA;&gt;&gt; [1] https://bitcoincore.org/~gavin/ValidationSanity.pdf&#xA;&gt;&gt;&#xA;&gt;&gt; _______________________________________________&#xA;&gt;&gt; bitcoin-dev mailing list&#xA;&gt;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#xA;&gt;&gt;&#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&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20151101/ba76df82/attachment.html&gt;</html></oembed>