taproot – Can any Script opcode be used within the witness program, or solely particular ones?

on

|

views

and

comments


I used to be questioning, can one use an OP_RETURN within the witness script? If not, why not? Additionally, how might I determine this out from studying Bitcoin Core supply? I checked out this file, and it wasn’t fairly clear to me how I’d decide which opcodes are allowed within the witness script from this:
https://github.com/bitcoin/bitcoin/blob/e9262ea32a6e1d364fb7974844fadc36f931f8c6/src/script/script.cpp
However possibly I am lacking one thing.

I additionally regarded by a pair BIPs, together with BIP 143 and BIP 341, however they’re sort of past my present ability stage to grasp how they could apply to my query.

Share this
Tags

Must-read

Waymo raises $16bn to gas international robotaxi enlargement | Know-how

Self-driving automobile firm Waymo on Monday stated it raised $16bn in a funding spherical that valued the Alphabet subsidiary at $126bn.Waymo co-chief executives...

Self-driving taxis are coming to London – ought to we be anxious? | Jack Stilgoe

At the top of the nineteenth century, the world’s main cities had an issue. The streets had been flooded with manure, the unintended...

US regulators open inquiry into Waymo self-driving automobile that struck youngster in California | Expertise

The US’s federal transportation regulator stated Thursday it had opened an investigation after a Waymo self-driving car struck a toddler close to an...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here