3

When crunching blockchain data, my script tripped up on transactions without any outputs (vouts). Is this Monero's equivalent of OP_RETURN script, or am I missing something?

After looking at some examples in a blockchain viewer, it appears that the value of the outputs goes to the miner, I will leave the question open for good suggestions as to what is going on there:

Block 761388 Block 782656 Block 844741 Whole block 1006680

Fireice UK
  • 232
  • 1
  • 3
  • Can you tell us the txhash or block height of such a transaction? – knaccc May 04 '17 at 03:12
  • This is a recent example - https://xmrchain.net/tx/f6b1637c4d4c95db5f16a872dc678849346ca7324aef2711406fff25ad213108 – Fireice UK May 04 '17 at 08:48
  • Wow, I'm really surprised by that. – kenshi84 May 04 '17 at 12:21
  • Note that, for all transactions, the sum of the inputs is equal to the fee. Thus, the output is going straight to the coinbase reward, which is a different transaction. – dEBRUYNE May 04 '17 at 15:20
  • @dEBRUYNE What's odd is that after following the link to the transaction in block 761388, if the containing block is examined, the no-outputs transaction is not listed. Only a different miner reward transaction is listed. I assume this must be a bug in xmrchain? – knaccc May 05 '17 at 08:02
  • Not entirely sure what is going on there, since MoneroBlocks also doesn't list the no-outputs transaction. – dEBRUYNE May 05 '17 at 12:46
  • @knaccc I can assure you the transaction is on the blockchain. I'm pulling the data straight from monerod. One more problem is that there is a bug in xmrchain with blockchain indexing (it is off by one when using block id) - here is a link to the tx block on moneroblocks http://moneroblocks.info/search/761389 – Fireice UK May 07 '17 at 11:38

1 Answers1

2

Monero has no scripting language. Even though the Cryptonote paper describes a simple lightweight one, the code did not implement it at the time Monero forked.

user36303
  • 34,858
  • 2
  • 57
  • 123
  • You missed the point of the question - I'm not asking about Monero's scripting capabilities. If you are not familiar with BTC, OP_RETURN script means that the transaction is unspendable, provably so. Although this doesn't appear to happen here. – Fireice UK May 04 '17 at 08:55
  • Transactions are neither spendable nor unspendable, that does not make sense. A transaction consumes inputs, and creates outputs. In Monero, it's the same. Inputs are consumed, and outputs (possibly none) are created. – user36303 May 04 '17 at 20:25