What's the deal with OP_RETURN and length?

What's the deal with OP_RETURN and length?

It seems like most OP_RETURN transactions include length as the first byte after the OP_RETURN code. Is this specified anywhere?

Also, the length is sometimes the entire length of the rest of the output, and other times, such as with memo.cash, it is only 2, but there are many more bytes than that. What is it supposed to be?

https://ift.tt/2Sn6xVS

Comments

Popular posts from this blog

QUESTION ABOUT SLOW API

Bitfinex & Market Synergy To Offer Institutional Calibre Cryptocurrency Connectivity

How a transaction proves its ownership of the its source, which can be one or multiple unspent output?