What is the permitted output value for OP_RETURN outputs
There are multiple references online that state that the permitted output amount for OP_RETURN
outputs is exactly zero satoshis:
- https://btcinformation.org/en/developer-guide#null-data
- https://developer.bitcoin.org/devguide/transactions.html#null-data
Bitcoin Core 0.9.x to 0.10.x will, by default, relay and mine null data transactions with up to 40 bytes in a single data push and only one null data output that pays exactly 0 satoshis
[...]
Bitcoin Core 0.12.0 defaults to relaying and mining null data outputs with up to 83 bytes with any number of data pushes, provided the total byte limit is not exceeded. There must still only be a single null data output and it must still pay exactly 0 satoshis.
(emphasis mine)
However, I cannot find any indication that this restriction existed in any bitcoin version
- https://github.com/bitcoin/bitcoin/blob/v0.9.0/src/main.cpp#L392-L472
- https://github.com/bitcoin/bitcoin/blob/v0.12.0/src/policy/policy.cpp#L59-L121
- https://github.com/bitcoin/bitcoin/blob/v29.0/src/policy/policy.cpp#L103-L169
The only policy-related effect of OP_RETURN
transactions that I can see is that they have a different lower limit for nValue
and permit values as low as 0.
Is there or was there any upper policy limit on the value of OP_RETURN
outputs?
from Recent Questions - Bitcoin Stack Exchange https://ift.tt/iMzyg6e
via IFTTT