<oembed><type>rich</type><version>1.0</version><author_name>npub10uzud4rf4636awmfgvarmcfndcmdnv8rfd2y3rx2sqgckv9zur4qahln8t</author_name><author_url>https://nostr.ae/npub10uzud4rf4636awmfgvarmcfndcmdnv8rfd2y3rx2sqgckv9zur4qahln8t</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2017-05-19&#xA;📝 Original message:AFAICT, re-enabling these old OP-codes would require a hardfork.&#xA;&#xA;If we had SegWit enabled, we could via a soft fork allocate new OP-codes&#xA;for the same functionality (by introducing a new version of Script).&#xA;I believe the Elements alpha project has been experimenting with&#xA;re-enabling old OP-codes: https://elementsproject.org/elements/opcodes/&#xA;&#xA;2017-05-19 8:07 GMT+02:00 Mark Boldyrev via bitcoin-dev &lt;&#xA;bitcoin-dev at lists.linuxfoundation.org&gt;:&#xA;&#xA;&gt; Back in 2010, there was a bug found in Core which allowed&#xA;&gt; denial-of-service attacks due to the software crashing on some machines&#xA;&gt; while executing a script - see CVE-2010-537.&#xA;&gt; I believe the removed (&#34;disabled&#34;) opcodes should be re-introduced along&#xA;&gt; with a standardized behavior definition.&#xA;&gt; For example, when execution of an opcode results in an arithmetic error,&#xA;&gt; such as OP_DIV with a zero divisor, the script should exit and fail.&#xA;&gt; The string splice opcodes should also check their arguments for&#xA;&gt; correctness, etc.&#xA;&gt;&#xA;&gt; These opcodes would enhance the flexibility of scripts and allow&#xA;&gt; sophisticated native smart contracts to be created.&#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;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170519/9dd5d326/attachment.html&gt;</html></oembed>