Understanding v28.0 PayToAnchor script

I am trying to understand the new PayToAnchor script, which is part of v28.0. Here is the script definition:

https://github.com/bitcoin/bitcoin/blob/master/src/script/script.cpp#L207-L222

As I understand, the above script would translate to following:

op_true op_pushdata4 2 4e73

Can someone please confirm that this is correct understanding? Also, what the reason for this particular script for PayToAnchor? It appears that it is not validated - interpreter.cpp#VerifyWitnessProgram, so the script could have been anything else. Is there any specific reason for using this particular script for PayToAnchor?



from Recent Questions - Bitcoin Stack Exchange https://ift.tt/EDtmhC4
via IFTTT

Popular posts from this blog

Do Kwon’s Detention Prolonged Until 2024 As Montenegro Responds To Extradition Requests

Sam Bankman-Fried Trial Begins Tomorrow: 3 Reasons Ex-SEC Official Foresees Conviction

Ethereum Price Plummets 9% As Fed Chair Passes Hawkish Remarks