Fix OP_RETURN misconception

Satoshis sent to an OP_RETURN-using output are simply unspendable; they
do not go to mining fees.
This commit is contained in:
Peter Todd 2014-09-18 20:25:51 -04:00 committed by David A. Harding
parent 0e4514c72d
commit 4010c0228d

View file

@ -47,9 +47,7 @@ The op codes used in standard transactions are,
error in the Bitcoin Core implementation. This value is not used, so error in the Bitcoin Core implementation. This value is not used, so
scriptSigs prefix the signatures with a single OP_0 (0x00). scriptSigs prefix the signatures with a single OP_0 (0x00).
* [`OP_RETURN`][op_return]{:#term-op-return}{:.term} terminates the script in failure, * [`OP_RETURN`][op_return]{:#term-op-return}{:.term} fails the script immediately when executed.
rendering the output unspendable and allowing a miner to claim the
satoshis sent to that OP_RETURN output as an additional transaction fee.
A complete list of OP codes can be found on the Bitcoin Wiki [Script A complete list of OP codes can be found on the Bitcoin Wiki [Script
Page][wiki script], with an authoritative list in the `opcodetype` enum Page][wiki script], with an authoritative list in the `opcodetype` enum