script – Undefined opcodes in bitcoin core outlined as “Synonyms for OP_RETURN” in rust-bitcoin






In rust-bitcoin, opcodes previous the 0xba opcode are named as such: OP_RETURN_187, OP_RETURN_188, …, OP_RETURN_254. Their description is the entire similar: Synonym for OP_RETURN. The definition for OP_RETURN is Fail the script straight away. (Will have to be completed.)., which means (if I perceive appropriately) {that a} script that incorporates an OP_RETURN in an unexecuted department of an OP_IF remark isn’t made invalid through the only presence of the opcode.

But within the bitcoin core codebase, the ones opcodes aren’t even outlined within the opcode enum, and a line defines the utmost worth that an opcode will also be to be 0xb9. In combination those two imply I am not rather positive what to make of those opcodes… are they legitimate? Now not legitimate? Can they be used as rust-bitcoin implies, or now not used as bitcoin core implies? I suppose there may be extra to this tale, however simply having a look on the codebases as is I wasn’t in a position to get a really feel for the right way to describe those opcodes.

Additionally implied on this query is: if they’re certainly synonyms to OP_RETURN as rust-bitcoin signifies, can they be used interchangeably and rather than OP_RETURN the best way it’s used for storing knowledge?

Share this


Tesla Govt Says Repair For Vampire Drain In Sentry Mode Coming In Q2: ‘Energy Intake Wishes Development’ – Tesla (NASDAQ:TSLA)

Tesla Inc TSLA govt, Drew Baglino, on Thursday printed that the corporate is operating on liberating a device replace for decreasing energy intake...

Dividend Kings In Focal point: Phone & Information Techniques

Printed on February twenty second, 2024 through Bob Ciura The Dividend Kings consist of businesses that experience raised their dividends for a minimum of...

Tyler Perry Calls On Leisure Trade, Executive To Corral AI Prior to Everybody Is Out Of Trade

Tyler Perry has observed demonstrations of what AI can do. Whilst he's astonished, he’s additionally sounding an alarm. Perry is already balloting together...

Recent articles

More like this


Please enter your comment!
Please enter your name here